Install NTP package.
sudo apt-get install -y ntp
Open the file /etc/ntp.conf and add the following line to sync to server1.
server 10.10.10.2
Restart NTP service to make the changes effective
sudo /etc/init.d/ntp restart
Install NTP package.
sudo apt-get install -y ntp
Open the file /etc/ntp.conf and add the following line to sync to server1.
server 10.10.10.2
Restart NTP service to make the changes effective
sudo /etc/init.d/ntp restart
