成都网站建设设计

将想法与焦点和您一起共享

NTP配置内网中集群机器的时间同步-创新互联

[huiyunltd@hadoop-senior ~]$ rpm -qa|grep ntp [huiyunltd@hadoop-senior ~]$ sudo vim /etc/ntp.conf restrict 192.168.8.0 mask 255.255.252.0 nomodify notrap #server 0.centos.pool.ntp.org #server 1.centos.pool.ntp.org #server 2.centos.pool.ntp.org server  127.127.1.0     # local clock fudge   127.127.1.0 stratum 10   [huiyunltd@hadoop-senior ~]$ sudo vim /etc/sysconfig/ntpd # Drop root to id 'ntp:ntp' by default. SYNC_HWCLOCK=yes OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g" [huiyunltd@hadoop-senior ~]$ sudo service ntpd start [huiyunltd@hadoop-senior ~]$ sudo service ntpd status [huiyunltd@hadoop-senior ~]$ sudo service ntpd status [huiyunltd@hadoop-senior ~]$ sudo chkconfig ntpd on [huiyunltd@hadoop-senior ~]$ sudo chkconfig --list|grep ntpd ntpd            0:off 1:off 2:on 3:on 4:on 5:on 6:off [huiyunltd@hadoop-senior02 ~]$ sudo crontab -e 0-59/10 * * * * /usr/sbin/ntpdate hadoop-senior.huiyunltd.com [huiyunltd@hadoop-senior ~]$ sudo date -s 2017-06-23 [huiyunltd@hadoop-senior ~]$ sudo date -s 13:02:10

创新互联建站是一家专业提供正安企业网站建设,专注与成都网站制作、网站设计、H5场景定制、小程序制作等业务。10年已为正安众多企业、政府机构等服务。创新互联专业网站建设公司优惠进行中。

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


新闻标题:NTP配置内网中集群机器的时间同步-创新互联
网站地址:http://chengdu.cdxwcx.cn/article/doejso.html