歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> centos使用ntp保持時間同步

centos使用ntp保持時間同步

日期:2017/3/1 16:56:54   编辑:關於Linux
centos使用ntp保持時間同步 01 www.2cto.com # 安裝並啟動ntp 02 yum install ntp 03 chkconfig ntpd on 04 ntpdate pool.ntp.org 05 service ntpd start 06 07 # 修改時區 www.2cto.com 08 ln -s /usr/share/zoneinfo/<Zone>/<SubZone> /etc/localtime 09 # 如果 /etc/localtime 已經存在,可以先刪除 10 rm -rf /etc/localtime 11 ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Copyright © Linux教程網 All Rights Reserved