FrontPage › king/2005-01
Jan 06, 2005 ¶
Jan 05, 2005 ¶
$TTL 지정안할 경우, default 값은 SOA의 minimum field 이다 ¶
Submitted by king @ 01-05 [06:50 pm]
출처 http://www.faqs.org/rfcs/rfc2308.html
... The remaining of the current meanings, of being the TTL to be used for negative responses, is the new defined meaning of the SOA minimum field. ...\
젠투 xinetd localhost only 제거하기 ¶
Submitted by king @ 01-05 [11:32 am]
defaults { # only_from = localhost ; 이줄을 주석처리해주고 /etc/init.d/xinetd restart ! instances = 60 log_type = SYSLOG authpriv info log_on_success = HOST PID log_on_failure = HOST cps = 25 30 } includedir /etc/xinetd.d \
netstat -nl ¶
Submitted by king @ 01-05 [10:33 am]
[root@wiki ~]# netstat -nl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:199 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp 0 0 61.82.133.187:53 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN tcp 0 0 :::993 :::* LISTEN tcp 0 0 :::995 :::* LISTEN tcp 0 0 :::110 :::* LISTEN tcp 0 0 :::143 :::* LISTEN tcp 0 0 :::80 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 :::443 :::* LISTEN udp 0 0 0.0.0.0:32768 0.0.0.0:* udp 0 0 0.0.0.0:161 0.0.0.0:* udp 0 0 61.82.133.187:53 0.0.0.0:* udp 0 0 127.0.0.1:53 0.0.0.0:* udp 0 0 61.82.133.187:123 0.0.0.0:* udp 0 0 127.0.0.1:123 0.0.0.0:* udp 0 0 0.0.0.0:123 0.0.0.0:* udp 0 0 :::32769 :::* udp 0 0 :::123 :::* \
Jan 04, 2005 ¶
linux wake on lan setting ¶
Submitted by king @ 01-04 [11:19 pm]
1. NIC 를 모듈로 컴파일한다 M
2. /etc/modules.d/alias 에 아래를 추가해준다
2. /etc/modules.d/alias 에 아래를 추가해준다
alias eth0 3c59x options 3c59x enable_wol=1 \3. module update
# modules-update\
Jan 03, 2005 ¶
crontab 예제 ¶
Submitted by king @ 01-03 [12:08 pm]
#minute hour mday month wday who command # */5 * * * * root /usr/libexec/atrun # # Save some entropy so that /dev/random can re-seed on boot. */11 * * * * operator /usr/libexec/save-entropy 1 3 * * * root periodic daily 15 4 * * 6 root periodic weekly 30 5 1 * * root periodic monthly \