Main Website | Billing Panel
Ukraine: +38 (044) 331-14-39, Russia: +7 (499) 638-51-83
Knowledgebase
Time Synchronization
Posted by Alexei V. on 15/03/2015 16:36

To make time on the server relevant, you need to configure NTP. Network Time Protocol (NTP) is a network protocol to synchronize the computer’s internal clock using networks with variable latency.

 

Install ntp service:

CentOS 6/7

yum -y install ntp

Ubuntu

apt-get install ntp

 

To synchronize at the moment:

ntpdate pool.ntp.org

 

Start ntpservice:

CentOS 6

service ntpd start

CentOS 7

systemctl start ntpd

Ubuntu

service ntp start

 

Add ntp service to startup:

CentOS 6

chkconfig ntpd on

CentOS 7

systemctl enable ntpd

Ubuntu

update-rc.d ntp defaults
(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).