How to configure his server under Linux

From EN Ikoula wiki
Revision as of 17:59, 8 February 2017 by Ikbot (talk | contribs) (Created page with "<br />This article has been created by an automatic translation software. You can view the article source here.<br />...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽


This article has been created by an automatic translation software. You can view the article source here.

Problem

I want to install a Server time NTP (network time protocol) so that my system clock sync

Step 1 : Installation

CentOs : (NTP is already installed in our CentOs images.) :

#yum update && yum install NTP

Debian :

#apt - get update && apt - get install ntp

Step 2 : Configuration

Now edit the configuration file

--> /etc/ntp.conf of ntpd

With vi or any other editor in the console and add/change a line like this :

Server ntp01. ikoula.com

CentOS : To start ntpd now type :

#Service ntpd start

Debian : To start ntpd now type :

/etc/init.d/ntp restart

Step 3 : Finalization

Then ensure the ntpd daemon starts when the boot and stops itself during a reboot of your Server You must type this command :

#chkconfig ntpd we

Conclusion

The ntpd daemon will then synchronize your clock system automatically at regular intervals.

By default your Server time accepts connections from any client NTP if your firewall does not block queries destined for him even to the port 123/UDP



This article seem useful to you ?

0



You are not allowed to post comments.