How to configure his server under Linux
This article has been created by an automatic translation software. You can view the article source here.
fr:Comment configurer son serveur ntp sous GNU/Linux
en:How to configure his server under Linux
es:Cómo configurar su servidor bajo Linux
pt:Como configurar seu servidor no Linux
it:Come configurare il server sotto Linux
nl:Het configureren van zijn server onder Linux
de:Wie man seinen Server unter Linux konfigurieren
zh:如何配置自己的服务器,在 Linux 下
ar:كيفية تكوين ملقم له تحت لينكس
ja:Linux の下で彼のサーバーを構成する方法
pl:Jak skonfigurować jego serwer pod Linuksem
ru:Как настроить его сервер под Linux
ro:Cum să configuraţi serverul său sub Linux
he:כיצד להגדיר את השרת שלו תחת לינוקס
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 ?
Enable comment auto-refresher