2012年2月20日 星期一

CentOS no-ip 設定

[root@test ~]# wget https://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
[root@test ~]# tar -zxvf noip-duc-linux.tar.gz
[root@test ~]# cd noip-2.1.9-1/
[root@test noip-2.1.9-1]# make
[root@test noip-2.1.9-1]# make install
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi
if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi
cp noip2 /usr/local/bin/noip2
/usr/local/bin/noip2 -C -c /tmp/no-ip2.conf

Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com xxx
Please enter the password for user 'xxx' ********
Do you wish to run something at successful update?[N] (y/N) y
Please enter the script/program name noip2

New configuration file '/tmp/no-ip2.conf' created.

mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf

(1)-S:查看狀態;-c:重新設定
[root@test ~]# noip2 -S
No noip2 processes active.

Configuration data from /usr/local/etc/no-ip2.conf.
Account xxx
configured for:
host xxx.no-ip.info
Executing /root/noip-2.1.9-1/noip2 upon successful update.
Updating every 30 minutes via /dev/eth0 with NAT enabled.
(2)設定開機啟動:
[root@test ~]# vim /etc/rc.d/rc.local
/usr/local/bin/noip2

server 2003 關機很久

參考網址:
http://blog.yam.com/johnson_chen/article/10641612

http://support.microsoft.com/kb/837115/zh-tw

http://support.microsoft.com/kb/324268

官方下載:
http://www.microsoft.com/downloads/zh-tw/details.aspx?familyid=1b286e6d-8912-4e18-b570-42470e2f3582&displaylang=zh-tw

2012年2月15日 星期三

Cisco Switch port mirror 設定

config# monitor session 1 source interface Fa0/10
config# monitor session 1 destination interface Fa0/11

2012年2月6日 星期一

CentOS 6.0 使用EPEL套件庫

CentOS 6.0 使用EPEL套件庫:

# rpm -Uvh http://mirror01.idc.hinet.net/EPEL/6/x86_64/epel-release-6-5.noarch.rpm