More than one Linux time synchronization

Source: Internet
Author: User

To install NTP first (Network Time Protocol)
1. Set the host time, time zone (date-s; tzselect), need to add TZ to the line/etc/profile

2. vim/etc/ntp.conf
at the bottom of the file, add server 127.127.1.0Fudge 127.127.1.0 stratum

3. Turn off the host firewall
Service iptables Stop

4. Restart the NTP service
Service ntpd Restart, error redirecting to ..... With Systemctl restart Ntpd.service

5. Synchronization of other machinesWait about 2, 3 minutes, and then sync the machine time to the other machine.Ntpdate 192.168.138.129 (IP address of host)
Above Root account operation. If the error reboot retry.



From for notes (Wiz)

More than one Linux time synchronization

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.