For several applications it is necessary to synchronize your server to the network time. The protocol is called Network Time Protocol (NTP) and is basically giving the correct time to the world nowadays. Reading the Wikipedia entry is very interesting.
FreeBSD comes with the ntp client. To set this up you will just add the following line into the /etc/rc.conf file.
Now we make sure the line has been added at the end of the file:
Finally let’s start the service by typing:
sudo service ntpd onestart
And this is all to the necessary to synchronize your FreeBSD box with the network time.
If you find the articles in Adminbyaccident.com useful to you, please consider making a donation.
Use this link to get $200 credit at DigitalOcean and support Adminbyaccident.com costs.
Get $100 credit for free at Vultr using this link and support Adminbyaccident.com costs.
Mind Vultr supports FreeBSD on their VPS offer.