学海无涯

书山有路勤为径,学海无涯苦作舟
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

安装和配置CentOS时钟同步服务

Posted on 2014-06-19 23:46  学海无涯  阅读(439)  评论(0编辑  收藏  举报

Type the following command to install ntp:

# yum install -y ntp

Turn on service:

# chkconfig ntpd on

Synchronize the system clock with 0.pool.ntp.org server:

# ntpdate pool.ntp.org

Start the NTP:

# /etc/init.d/ntpd start