Configuring Time Services

ubuntuYou will always want your server to keep good time.  This article describes the process using ntp.


 

Installation

Start by logging to your server with your username and password.

$ sudo apt-get install ntp
$ sudo vi /etc/ntp.conf
$ sudo /etc/init.d/ntp restart

 

Configuration

To printout a summary status report...

$ sudo ntpq -p

To show the current time...

$ date

To manually sync the clock, type the following...

$ sudo ntpdate 0.pool.ntp.org

 

Thanks for visiting.