UTC raises time zone configuration and Linux system times and BIOS time issues

Source: Internet
Author: User

When installing the Linux operating system, one option is UTC, which is checked by default. When the system is installed, the BIOS time is treated as UTC standard Time, and then the system time is adjusted according to the time zone. So it will happen when the time zone is set correctly, but the timing is not correct. So when installing, it's best to cancel that tick.

If it is already installed, you can modify it by modifying the configuration file.

Redhat System Modification/etc/adjtime Third Act local

[Email protected] ~]# Vim/etc/adjtime

-0.098726 1524046105 0.000000
1524046105
LOCAL
~

The format of the Adjtime file is, in ASCII:

Line 1:3 numbers, separated by blanks:1) systematic drift rate in seconds per day, floating
Point decimal; 2) resulting number of seconds since 1969 UTC of most recent adjustment or cali-
bration, decimal integer; 3) zero (for compatibility with clock (8)) as a decimal integer.

Line 2:1 number:resulting number of seconds since 1969 UTC of the most recent calibration. Zero
If there has been no calibration yet or it's known that any previous calibration are moot (for
example, because the Hardware Clock has been found, since that calibration, not to contain a
Valid time). This is a decimal integer.

Line 3: "UTC" or "LOCAL". Tells whether the Hardware Clock is set to coordinated Universal
Time or local time. You can always override this value with options on the Hwclock command
Line.

You can use a Adjtime file that is previously used with the Clock (8) program with Hwclock.

Ubuntu system

The time zone of the Hwclock is set in the/etc/default/rcs file with a parameter of UTC, the default value of true, which means that the UTC time zone is used, and if set to No, it means that the time zone of the osclock is used

UTC raises time zone configuration and Linux system times and BIOS time issues

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.