Linux Synchronizes time from Windows through NTP

Source: Internet
Author: User
Linux Synchronizes time from NTP in Windows-Linux Enterprise Application-Linux server application information. The following is a detailed description. I have just started linux, so I don't know much about it in many places. At the beginning, I encountered a problem-time synchronization.

So I searched related articles online, sorted out the ideas, and shared them!

= The following line is the body:

First, we need a win system machine as the ntp server, which requires a software to provide the NTP service. I use the meberger NTP tool, which can be downloaded at http://www.meinberg.de/english/sw/index.htm.

In the installation process, the NTP service will be completed and started in the next step, but you still need to make some settings.

Start-all programs-meberger-Network Time Protocol-Edit NTP Configuration to open the setting file.

Remove the preceding "#" in the # server 127.127.1.0 and # fudge 127.127.1.0 stratum 12 lines, change 12 after stratum to 10, and save the settings.

Then run "ntpdate Time Server IP Address" on the linux host. I use RHEL4, and the time can be synchronized after execution. You can also use the "hwclock-w" command to write the time to the bios.

In addition, if ntp is not installed in linux, you can find the ntp rpm installation package on your installation disk and extract it and install it with the RPM command!
Related Article

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.