centos6.8时间设置与同步

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos6.8时间设置与同步相关的知识,希望对你有一定的参考价值。

[[email protected] ~]# rm /etc/localtime 

[[email protected] ~]# ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

[[email protected] ~]# date

Thu Sep 14 08:54:32 CST 2017

[[email protected] ~]# yum install -y ntpdate

[[email protected] ~]# ntpdate time.nist.gov

14 Sep 15:59:43 ntpdate[1563]: step time server 129.6.15.30 offset 25042.106941 sec

[[email protected] ~]# date

Thu Sep 14 15:59:46 CST 2017


以上是关于centos6.8时间设置与同步的主要内容,如果未能解决你的问题,请参考以下文章

virtualbox中centos6.8与windows7宿主机设置文件共享

CentOS6.8安装

CentOS6.8 搭建SVN并用钩子自动实现同步到web目录

CentOS6.8使用Rsync+Inotify-tools实现数据实时同步

Centos6.8 防火墙设置

Centos6.8防火墙设置