You can verify if your system has ntp using “dpkg –list | grep ntp”. If it is not installed on the system it can easily be installed.
root@computer:~# apt-get install ntp
Now verify it is running
root@computer:~# /etc/init.d/ntp status * NTP server is running
It is a good idea to sync the ntp client to a close by ntp server.
root@computer:/etc# vi /etc/ntp.conf
Add your ntp server of choice
server somentpserver.com
Then save the file and restart ntp for the setting to take effect.
root@computer:/etc# /etc/init.d/ntp restart * Stopping NTP server ntpd [ OK ] * Starting NTP server ntpd [ OK ]
The ubuntu system time will be synced over a little while and be accurate.
Leave a Reply
You must be logged in to post a comment.