본문 바로가기

반응형

sangchul.kr

[BIND] bind-9.9.3rc2 소스 컴파일 # wget http://ftp.isc.org/isc/bind9/9.9.3rc2/bind-9.9.3rc2.tar.gz # ./configure --prefix=/usr/local/bind9.9.3rc2 --sysconfdir=/etc --localstatedir=/var # make # make isntall 더보기
[BIND] .jnl 데이타를 zone로 가져오기 .jnl 데이타를 zone로 가져오기 nsupdate로 sangchul.my-domain.re.kr 추가 nsupdate -k Kmy-domain.re.kr.+157+32789.key server 10.0.0.11 update add sangchul.my-domain.re.kr. 7200 IN A 10.0.0.53 show send quit [root@resursive named]$ nsupdate -k Kmy-domain.re.kr.+157+32789.key > server 10.0.0.11 > update add sangchul.my-domain.re.kr. 7200 IN A 10.0.0.53 > show Outgoing update query: ;; ->>HEADER quit 질의테스트(sangch.. 더보기
[리눅스] sysstat (sar) sysstat (sar) ## 소스 설치 http://pagesperso-orange.fr/sebastien.godard/download.html wget http://pagesperso-orange.fr/sebastien.godard/sysstat-9.0.5.tar.gz [root@localhost sysstat-9.0.5]# ./configure [root@localhost sysstat-9.0.5]# make [root@localhost sysstat-9.0.5]# make install [root@localhost sysstat-9.0.5]# cat /etc/cron.d/sysstat #run system activity accownting tool every to minutes */10 * * .. 더보기
[리눅스] localtime 한국(서울)로 변경하기 localtime 한국(서울)로 변경하기 localtime # ls -al /etc/localtime -rw-r--r-- 1 root root 3519 Feb 26 2006 /etc/localtime 한국(서울) localtime 으로 변경하기 # ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime # ls -al /etc/localtime lrwxrwxrwx 1 root root 30 May 15 01:02 /etc/localtime -> /usr/share/zoneinfo/Asia/Seoul 시간 동기화 rdate -s time.bora.net && clock -w 더보기
[보안] rootkit hunter (rkhunter) 설치 1. Rootkit 설치 옵션 설정 Rootkit Hunter installer 1.2.13 Usage: ./installer.sh Ordered valid parameters: --help (-h) : Show this help. --examples : Show layout examples. --layout : Choose installation template. The templates are: - default: (FHS compliant; the default) - /usr - /usr/local - oldschool: old version file locations - custom: supply your own installation directory - RPM: for building RPM'.. 더보기
[crontab] 시간 동기화 [crontab] 시간 동기화 [root@scbyun slave]# crontab -e 설정 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null [root@scbyun slave]# crontab -l 확인 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null 더보기
[리눅스] rsync 설치 [rsync Server 설치] [root@sangchul src]# wget http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz [root@sangchul src]# tar xvfz rsync-3.0.7.tar.gz [root@sangchul rsync-3.0.7]# ./configure [root@sangchul rsync-3.0.7]# make [root@sangchul rsync-3.0.7]# make install [root@sangchul rsync-3.0.7]# vi /etc/xinetd.d/rsync # default: off # description: The rsync server is a good addition to an ftp server, .. 더보기
[WEB 보안] John the ripper 설치 (johnripper) John the ripper 설치 1. 내려받기 # wget http://www.openwall.com/john/g/john-1.7.6.tar.gz 2. 압축해제 # tar xvfz john-1.7.6.tar.gz 3. 설치하기 # cd john-* # cd src # make # make clean generic # cd ../run 4. 실제 파일 복사 ./unshadow /etc/passwd /etc/shadow > userlist.txt 5. 실행하기 ./john userlist.txt > john_ripper.log 6. john_ripper 스크립트 # vi john_ripper.sh -------------------------------------------------------------.. 더보기

728x90
반응형