Linux 490

swap 늘리기

리눅스에서 swap 늘리기 기존 swap 이 16G이다 # swapon -s, free Filename Type Size Used Priority /dev/sdb3 partition 16980696 104924 -1 이걸 32G로 늘려보자 # dd if=/dev/zero of=/경로/스왑파일명 count=2048 bs=1M # mkswap -f /경로/스왑파일명 Setting up swapspace version 1, size = 16383995 kB # swapon /work/swapfile # swapon -s, free Filename Type Size Used Priority /dev/sdb3 partition 16980696 104924 -1 /경로/스왑파일명 file 15999992 0 -2 ..

Linux 2016.07.15

Executable '/snpslmd' doesn't belong to any package and ProcessUnpackaged is set to 'no'

Executable '/snpslmd' doesn't belong to any package and ProcessUnpackaged is set to 'no'위와 같이 에러가 뜨면서 snpslmd 데몬이 죽는다 abrtd 데몬 문제때문에 죽는다. # vi /etc/abrt/abrt-action-save-package-data.conf에서 # With this option set to "yes",# only crashes in signed packages will be analyzed.# the list of public keys used to check the signature is# in the file gpg_keys#OpenGPGCheck = yes -> no # Blacklisted package..

Linux 2016.06.29

rsync 속도 향상 방법

기존 rsync 사용할 경우 test/a/test.avi 785,401,576 43% 80.21MB/s 0:00:08이정도 속도가 나왔는데 -e "ssh -T -c arcfour -o Compression=no -x" 위 옵션을 추가해서 복사를 할경우test/a/test.avi 1,563,494,400 100% 140.53MB/s 0:00:10 최대 210 까지도 나온다. - 우선 rsync 버전을 올려준다.# wget http://pkgs.repoforge.org/rsync/rsync-3.1.1-1.el6.rfx.x86_64.rpm# rpm -Uvh rsync-3.1.1-1.el6.rfx.x86_64.rpm - 옵션을 넣어서 rsync 구동# rsync -aHAXxv -e "ssh -T -c arcfo..

Linux 2016.05.02

ESXi "192.168.0.5"에서 개체 "serviceSystem"에 대한 "HostServiceSystem.Start"을(를) 호출하지 못했습니다. exsi snmp error

exsi snmp 설정하려고 하는데ESXi "192.168.0.5"에서 개체 "serviceSystem"에 대한 "HostServiceSystem.Start"을(를) 호출하지 못했습니다. 라고 에러가 발생을 한다면 콘솔로 들어가서# esxcli system snmp set --enable true# esxcli system snmp set --communities public# esxcli system snmp set --enable true# esxcli network firewall ruleset set --ruleset-id snmp --allowed-all true# esxcli network firewall ruleset set --ruleset-id snmp --enabled true# /et..

Linux 2016.04.29

cacti notification email

settings plugin 이 필요하다. # /usr/share/cacti/plugins/# wget http://docs.cacti.net/_media/plugin:settings-v0.71-1.tgz# mv plugin:settings-v0.71-1.tgz settings-v0.71-1.tgz ( 가운데 :가 있어서 압축이 안풀리니 이름 변경해주자)# tar -xvf settings-v0.71-1.tgz 웹 접속해서 셋팅을 하자http://localhost console - plugin management 에서 settings actions 활성화 console - settings 에서 mail / dns 설정 테스트 메일 혹시나 에러가 난다면# vi /var/log/maillog에서 에러 내용을 ..

Linux 2016.04.18

"ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution's documentation for det..

centos 6.5 에 nvidia 설치 하려 하니 설치가 안된다.커널과 Nvdia 버전만 맞으면 됐는데... 여튼centos 6.5 기본 kernel 은# uname -aLinux test 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux이다. -- kernel-devel 설치xen 버전이 필요하다면 xen 버전도 설치 하면 된다. # rpm -ivh kernel-devel-2.6.32-431.el6.x86_64.rpm -- Nvidia 설치http://www.nvidia.co.kr/Download/index.aspx?lang=kr에서 다운gui 상태에 설치가 안된다. text 모드로 # ini..

Linux 2016.03.25
728x90
반응형