NTP server : Network time protocol Port : 123
OR remote time server
NTP server is used to set same time on client machines. Manually it is not possible to configure same time on multiple machine.
=======================================================================================================
***** server configuration *******
1># yum install ntpdate
2># vim /etc/ntp.conf
Disable the line by putting hash mark “#”
#restrict -6 default kod nomodify notrap nopeer noquery —–disable IPv6
#restrict -6 ::1
disable old default/redhat entry.
# server 0.rhel.pool.ntp.org
# server 1.rhel.pool.ntp.org
# server 2.rhel.pool.ntp.org
add new server entry.
server 192.168.122.10 ibrust ==========> parameter used to sync time fastly ibrust.
server 127.127.1.0
#keys /etc/ntp/keys ———–> disable key authentication.
:wq
3># /etc/init.d/ntpd restart
4># chkconfig ntpd on
5># iptables -F
6># service iptables save
******************client side configuration.************************
1> # system-config-date
-> date and time tab
synchronize date and time over the network
-> delete existing old server entry and add new one
-> add button 192.168.122.10 press enter
-> OK
=> advance options
speed up initial synchronisation.
-> OK
[ It will take few moments to fetch time ]
2># /etc/init.d/ntpd restart
3># chkconfig ntpd on
Extra : you can recheck the available ntp connection
#ntpq -p
=======================================================================================================
Leave a Reply
You must be logged in to post a comment.