Author's posts

모니터링 툴 한가지.

네트워크 모니터링 툴 한가지. http://www.nagios.org/ 스크린샷을 보면 꽤 그럴듯해 보인다.

그리기 툴 두가지…

구글 스케치업(http://www.sketchup.com/)과 잉크스케이프(http://www.inkscape.org/) 구글 스케치업은 무료버젼과 유료버젼이 있으며 잉크스케이프는 완전 오픈소스 소프트웨어다.  가끔 3-D스케치 필요할때 유용하게 사용할 수 있을듯.

rrdtool 사용하기.

rrdtool을 사용하여 시스템과 네트워크를 모니터링 하려고 마음 먹었지만, 막상 rrdtool을 사용하는 방법에 대해서는 자세하게 설명되어 있는 한글 문서를 찾을 수 없었다.  결국, rrdtool을 이해하는데 도움이 되는 다음의 문서를 찾을 수는 있었지만, 문서를 참고하여 원하는 작업을 하기엔 역부족이었다.  참고문서: http://www.joinc.co.kr/modules.php?name=News&file=article&sid=221&mode=nested 위의 문서에서 rrdtool의 데이타베이스 생성방법과 데이터 입력및 그래프를 생성하는 방법을 알 수 있다. 하지만, 이것만으로 원하는 일을 하려면 많은 수작업이 …

Continue reading

solaris swap 공간 늘리기

/tmp 영역이 full 날 경우, #mkfile 1g /export/home/swap_file #swap -a /export/home/swap_file /etc/vfstab화일에 아랫줄 추가 swap    –       /tmp    tmpfs   –       yes     – /export/home/swap_file       –       –       swap    –       no      –

mysql configure 에러

Fedora core5 에서 mysql 4.0.25 configure시 다음과 같은 에러 발생 checking “LinuxThreads”… “Not found” configure: error: This is a linux system and Linuxthreads was not found. On linux Linuxthreads should be used.  Please install Linuxthreads (or a new glibc) and try again.  See the Installation chapter in the Reference Manual for more information. 원인및 해결 …

Continue reading

rsync를 이용한 원격백업

준비물: rsync를 이용할 수 있는 유닉스 박스 두대(box1, box2라 임의로 명하겠음) 참고사이트: http://troy.jdmz.net/rsync/index.html 먼저 box1의 화일을 box2에서 카피하고자 한다면, 다음과 같은 명령을 내려서 테스트 해 보자. $ rsync -avz -e ssh user@box1:/home/user /home/ rsync가 정상적으로 작동한다면 Warning: the RSA host key for ‘box1’ differs from the key for the IP address ‘xxx.xxx.xxx.xxx’ Offending key for …

Continue reading

linux 커널 메시지.

OS: Fedora core 5  증상: httpd process가 무수히 많이 생기면서 좀비프로세스가 생김. 이때 메모리와 CPU를 거의 httpd 데몬이 점유하면서 느려짐. 메시지: 아래와 같음  Out of Memory: Kill process 12558 (httpd) score 84120 and children. Out of memory: Killed process 12558 (httpd). 원인은 뭘까요????

WRT-54G 펌웨어 관련글

원래 글은 60$짜리 라우터를 600$짜리로 바꾼다는 글. 원래 펌웨어에서 지원하지 않는 신호세기 조정이라든지, QoS를 지원한다든지에 관한 글이다. 잠깐봤는데, VLAN도 있는듯. 하지만 지원되는지는 모르겠다. 참고사이트: http://kldp.org/node/77332 http://www.wrtrouters.com/guides/upgradetolinux/ http://www.lifehacker.com/software/router/hack-attack-turn-your-60-router-into-a-600-router-178132.php  

MySQL에 데이타베이스, 사용자추가

기억력이 나빠서.. 할때마다 문서찾기.. 그냥 적어 놓으련다. mysql> CREATE database 디비; Query OK, 0 rows affected (0.00 sec) mysql> GRANT all privileges on 디비.* TO 사용자@localhost > IDENTIFIED BY ‘패스워드’; Query OK, 0 rows affected (0.00 sec)

RedHat 9.0에서 MRTG 구축하기 실습

원문은 bigadmin.org의 운영자인 dk가 작성. 필요한 파일을 다운 받아서 /usr/local/src 로 받아둡니다. 초고속으로 설치할 수 있게.. 간단하게 명령어들만 정리했습니다. 자세한 설명은 저도 잘 모르기 때문에.. 생략했습니다.. ^^;; 1. zlib-1.2.1.tar.gz 2. libpng-1.2.5.tar.gz 3. gd-2.0.15.tar.gz 4. mrtg-2.10.5.tar.gz 1. zlib-1.2.1.tar.gz 설치 # gzip -d zlib-1.2.1.tar.gz; tar xvf zlib-1.2.1.tar # cd zlib-1.2.1 # ./configure –prefix=/usr/local/zlib # make # make …

Continue reading