[2014.5.22] [UBUNTU] Ubuntu and Windows system time out of sync issues

Source: Internet
Author: User

Installing the Ubuntu+windows dual system will cause Windows and Ubuntu system time to be out of sync because the Windows system defaults to reading hardware system time such as the motherboard BIOS as the local time of the OS; The Linux class OS uses hardware system time such as the motherboard BIOS as the UTC time, and then the operating system time is set by the user's time zone in UTC, minus minus. This has created a very interesting phenomenon for Chinese users: Ubuntu will be 8 hours faster than Windows (as for how to count the children's shoes to break their fingers, is it the meaning of Ubuntu fast Windows?) )。

To solve this problem, a way to follow the network of methods https://www.wikai.info/2011_01_477.html, let Windows indulge Ubuntu, I do not like to modify the registry under Windows, always feel so vainly disobey; Tend to modify under Ubuntu, referring to some hot stickers on the network, summed up in my hardware and software environment work method:

1. Turn off UTC; Command used:

sudo gedit Etc/default/rcs

Note "RcS", s capital, and "Utc=yes" to "Utc=no" in the displayed content


2. The time is still to show the original "Fast" time, you can use the network time server to correct;

sudo ntpdate pool.ntp.org

Note that this tuning of Linux server address requirements is very demanding, must be Linux, you have to turn on NTPD, time two service. Verified a lot of servers, still work of only find this pool.ntp.org, praise a bit, The conscience of the industry. Of course, the conscientious can add.

3. Consider writing the corrected time to the hardware system, command

HW Clock

4.It ' s done! Enjoy it.

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.