How to configure NTP client
How to Configure
the NTP Client ? Network Time Protocol.
Following are the steps to be
followed for configuring the NTP client
:
Go to the inet directory
# cd /etc/inet
copy the ntp.client file in ntp.conf
file
# cp ntp.client ntp.conf
Edit the ntp.conf file
# vi ntp.conf
In the ntp.conf file add
following line
server <NTP server IP address> 10.66.1.17
Save and Close the ntp.conf file
# svcs –a | grep ntp
there you will find somewhat similar line
svc:/network/ntp:default
use this to enable
# svcadm enable
svc:/network/ntp:default
# ntpdate –u <Server IP>
# ntpq –p
#svcs –a | grep ntp
_______________________________________________
Direct Commands ________
NTP
cd /etc/inet
cp /etc/inet/ntp.client /etc/inet/ntp.conf
vi
/etc/inet/ntp.conf
server
NTP Server IP
svcs
-a ntp
svcadm
enable /network/ntp:default
ntpdate
-u 10.66.1.17
ntpq
-p
svcs
-a ntp
No comments:
Post a Comment