ntp – installation and configuration

You need to install the following packages:

  • ntp : ntpd server which continuously adjusts system time and utilities used to query and configure the ntpd daemon.
  • ntpdate : Utility to set the date and time via NTP.
  • ntp-doc : NTP documentation

Open the terminal or login over the ssh session. You must login as as the root user. Type the following yum command to install ntp:

Installation:

# yum install ntp ntpdate ntp-doc

Start the Services at start up:

# chkconfig ntpd on

Configuration ntpd:

# vi /etc/ntp.conf

Set public servers from the pool.ntp.org project:

server 0.rhel.pool.ntp.org
server 1.rhel.pool.ntp.org
server 2.rhel.pool.ntp.org

Start the ntpd services:

# /etc/init.d/ntpd start

Stop the ntpd services:

# /etc/init.d/ntpd stop

Restart the ntpd services:

# service ntpd restart

Related Posts

  • 57
    Use the blow command to set the linux date #date 072511242014 where 07= mm (Month) 25=dd (Date) 11=hh (Hour) 24=mm (minute) 2014=yyyy (Year)
    Tags: linux, set, time
  • 46
    ClearOS (formerly named ClarkConnect) is a Linux distribution, based on CentOS and Red Hat Enterprise Linux,. It is designed for use in small and medium enterprises as a network gateway and network server with a web-based administration interface. It is designed to be an alternative to Windows Small Business Server. ClearOS…
    Tags: network, services, server, linux
  • 34
    What is samba server? Samba is an Open Source/Free Software suite that provides file and print services to SMB/CIFS clients. Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients. Samba uses the TCP/IP protocol that is installed on the host server.…
    Tags: server, linux
  • 31
    Why This Error?? The major cause for the time sync error are 1.The vicidial based system is using MeetMe conference , These MeetMe Conference Bridge requires a timing resources like Dahdi or Zaptel. if they are not loaded poperly then time sync error occurs 2.wrong System timing . different timing…
    Tags: time, server

Satya Prakash

VOIP Expert: More than 8 years of experience in Asterisk Development and Call Center operation Management. Unique Combination of Skill Set as IT, Analytics and operation management.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: