NTP Client on Linux / Soaris
17 三月, 2014 發表留言
Oracle Solaris
(http://docs.oracle.com/cd/E23824_01/html/821-1454/time-20.html)
- copy sample ntp.conf
#scp server /etc/inet/ntp.conf /etc/inet
- Start ntpd daemon
#svcadm enable ntp
- Enable logging
#svccfg -s svc:/network/ntp:default setprop config/verbose_logging = true
- Update SMF repository and restart the service)
#svcadm refresh svc:/network/ntp:default
OpenSolaris 11
http://thegreyblog.blogspot.com/2008/11/configuring-ntp-server-and-client-on.html
- copy sample ntp.conf
#scp tpwok01:/etc/inet/ntp.conf /etc/inet
Enable and Restart ntp daemon
#svcadm enable ntp
#svcadm restart ntp
Check NTP Service
#svcs ntp