Fun at work!

Posts tagged ‘yum’

Install GUI Setup Tools on CentOS 6.x

# yum install setuptool system-config-securitylevel-tui authconfig system-config-network-tui system-config-firewall-tui ntsysv system-config-keyboard

To correct Firewall Configuration Error:

# yum install dbus
# service messagebus start
Starting system message bus: [ OK ]
# chkconfig messagebus on


Repost: CentOS Linux Install and Configure NTP to Synchronize The System Clock

Repost: CentOS Linux Install and Configure NTP to Synchronize The System Clock

How do I install and configure NTP under CentOS Linux version 5.x or 6.x server to synchronize the system clock?

You can easily install NTP (Network Time Protocol, a means of transmitting time signals over a computer network) using the yum command under Red Hat or CentOS/Fedora Linux server or workstation based systems. You need to install the following packages:

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

Procedure: Setup NTPD on CentOS Linux

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
# yum install ntp ntpdate ntp-doc

Turn on service, enter:
# chkconfig ntpd on

Synchronize the system clock with server (use this command only once or as required):
# ntpdate

Start the NTP server. The following will continuously adjusts system time from upstream NTP server. No need to run ntpdate:
# /etc/init.d/ntpd start

Configure ntpd (optional)

Edit /etc/ntp.conf, enter:
# vi /etc/ntp.conf
Set public servers from the project:


Tag Cloud