bacula client 삭제시 정리할 항목 먼저 클라이언트 jobid 확인해두기. 1. volume 2. pool 3. jobid 4. DELETE FROM FileSet WHERE FileSetId=<삭제할 클라이언트와 관련된 FileSet ID>; 5. DELETE FROM Client WHERE ClientId=<삭제할 클라이언트의 ID>; 6. bacula 백업파일
메모리 슬롯 위치 확인하기 DMI Type 17은 Memory device DMI Type 20은 Memory device mapped address dmidecode -t 17 메모리별 사용된 슬롯 확인 dmidecode -t 20 현재 활성회 된 메모리 정보 참고사이트 http://egloos.zum.com/dalgarak/v/4426422
기존 디스크로 레이드 재구성 후 네트워크 안잡히는 경우 서버 메인보드가 변경된 경우 맥어드레스 주석 uuid 주석
vi 에디터에서 특정 단어가 들어간 라인 삭제하기 :g/word/d 위의 경우, word 가 들어간 라인은 모두 삭제함. 문자열이 100% 일치한 경우만 삭제할 경우 아래와 같음 :g/<word>>/d
linux에서 swap 메모리 생성하기 # ============================================== # swap 생성 dd if=/dev/zero of=/var/swap bs=1M count=8192 chmod 0600 /var/swap mkswap /var/swap swapon /var/swap swapon -s # fstab 추가 /var/swap swap swap defaults 0 0 # ============================================== # swap 제거 swapoff -v /var/swap rm -f /var/swap # fstab 삭제 /var/swap swap swap defaults 0 0
# chhrootkit 설치오류 # 오류 [root@www chkrootkit-0.52]# make sense cc -static -o strings-static strings.c /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [strings-static] Error 1 # 해결방법 yum install glibc-static
echo 1 > /proc/sys/vm/drop_cachesecho 2 > /proc/sys/vm/drop_cachesecho 3 > /proc/sys/vm/drop_caches drop_caches 1 : Page cache해제drop_caches 2 : inode, dentry cache 해제drop_caches 3 : Page cache, inode cache, dentry cache 해제캐시 삭제 시 시스템이 잠시 멈출 수 있음. 캐시메모리 반환 설정설정 값 확인 :cat /proc/sys/vm/vfs_cache_pressure설정하기 :echo 10000 > /proc/sys/vm/vfs_cache_pressure 혹은vm.vfs_cache_pressure = 10000영구적으로 설정 :/etc/sysctl.conf 파일에 vm.vfs_cache_pressure = 10000 추가 추가적으로 공부할 것https://wiki.kldp.org/Translations/html/The_Linux_Kernel-KLDP/tlk3.html
현재 랜카드 전송속도 구하기 sar -n DEV 2 3 2초간 총 3번 조사하고, 평균값 마지막 출력하기 참고 http://perso.wanadoo.fr/sebastien.godard/use_sar.html
두개, 세개의 아이피를 동시에 사용하려면 위와 같은 방식으로 계속 추가하면 되겠다. 추가한 아이피를 삭제할 경우엔 해당 이더넷을 다운시키면 된다. ifconfig eth0:0 down 으로 삭제할 수 있다.
# apache 1.3.x apache_1.3.x/src/include/httpd.h HARD_SERVER_LIMIT 256 # apache 2.0.x - prefork httpd-2.0.63/server/mpm/prefork/prefork.c DEFAULT_SERVER_LIMIT 256 - worker httpd-2.0.63/server/mpm/worker/worker.c DEFAULT_SERVER_LIMIT 16 DEFAULT_THREAD_LIMIT 64
출처 : http://www.osqna.com Cacti Install ~ Configure Cacti 의 작동원리 DATA 추출 -> DATA 저장 -> DATA 발표 Cacti 설치 요구사항 RRDTool 1.0.49 or 1.2.x or 그 이상 MySQL 4.1.x or 5.x or 그 이상 PHP 4.3.6 or 그 이상, 5.x 이상이 부가적 기능 이용할수 있고 추천한다고 한다. Apache 부가적으로 snmp host, agent (모니터링 대상 host는 반드시 snmp허용이 되어야한다.) rrdtool은 수동 설치방법에 대해서는 생략한다. snmp도 다 설치했다고 보고 생략한다. 수동설치가 귀찮은 사람은 이렇게 하면 된다. 여기 가면 왠만한 소스들은 모두 rpm 제공한다. 자주 애용하는 곳이다. http://dag.wieers.com/rpm/ url http://dag.wieers.com/rpm/packages/rrdtool/ 에 보면 최신 버전이 존재하므로 rpm 받아서 설치한다. wget http://dag.wieers.com/rpm/packages/rrdtool/perl-rrdtool-1.2.23-1.el5.rf.i386.rp
웹서버 비교리스트 링크 : http://en.wikipedia.org/wiki/Comparison_of_web_servers Server Developed by Cost (USD) Open source Software license Last stable version Release date Abyss Web ServerApreliumFree - $59Noproprietary2.62009-01-21And-httpdJames AntillFreeYesLGPL0.99.112006-09-11AOLserverNaviSoftFreeYesAOLserver Public License4.5.12009-02-02Apache HTTP ServerApache Software FoundationFreeYesApache License2.2.132009-08-08Apache TomcatApache Software FoundationFreeYesApache License6.0.202009-06-01AppWeb Web ServerEmbedthis SoftwareFree and Commercial VersionsYesGPL2.4.22008-03-14BadBlueWorking Resources