[root@supersun.biz root]# rpm -ivh ntp-4.2.2p1-3.i386.rpm warning: ntp-4.2.2p1-3.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60ePreparing... ########################################### [100%]1:ntp ########################################### [100%]编辑配置文件/etc/ntp.confrestrict default nomodify notrap noqueryrestrict 127.0.0.1 restrict 192.168.1.0 mask 255.255.255.0 nomodify notraprestrict 192.168.0.0 mask 255.255.255.0 nomodify notrapserver 0.asia.pool.ntp.orgserver 1.asia.pool.ntp.orgserver 2.asia.pool.ntp.orgserver 3.asia.pool.ntp.orgserver 127.127.1.0fudge 127.127.1.0 stratum 10 |