Linux 476

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

centos usb 설치시 Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.

centos 6.5 usb 로 설치하는데 에러가 뜬다.Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.Failure: repodata/6e147c9aea5bf4c0f1ba7ecf759ddd3a259003a7f12a5a74398c9f05d672573d-primary.sqlite.bz2 from anaconda-CentOS-201410241409.x86_64: [Errno 256] No more mirrors to try. http://pcservis.flimel.eu/error-with-ins..

Linux 2016.03.24

솔라리스 10 nis nfs 설정

centos나 redhat 도 설치가 가능하지만솔라리스에 설치하도록 하자.나는 10버전에 설치를 했다.(이미지는 알아서..) 네트워크는 설정을 하고혹시 IP를 변경을 한다면 hosts, /etc/hostname.네트워크명, /etc/netmask 수정을 해야 한다.그리고 네트워크 재시작# svcadm restart network --NIS 설정# vi /etc/defaultdomaintest.domain.comor domainname test.domain.com; domainname >/etc/defaultdomain # touch ethers# touch netgroup# touch bootparams# ln -s TIMEZONE timezone # cd /var/yp# ypinit -myyy누르면 숄..

Linux 2016.02.24

mysql 로그 삭제

어느날 갑자기 / 에 데이터가 풀로 차있다 Filesystem 1K-blocks Used Available Use% Mounted on/dev/sda2 50395844 50658680 0 100% /tmpfs 16448976 72 16448904 1% /dev/shm/dev/sda1 126931 35036 85342 30% /boot/dev/sda5 2064208 68904 1890448 4% /tmp/dev/sda4 4128448 139256 3779480 4% /user 데이터가 어디서 이렇게 사용하고 있나 확인해보니 /var/lib/mysql/mysqsl-bin.~~~파일들이 용량을 다 잡아 먹고 있다. mysql 분석할때 확인 하는 로그 파일들이니 오래된건 삭제를 하자 mysql -u root -..

Linux 2016.02.02
728x90
320x100