Article Title: how to modify the UbuntuLinux time. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic classification of UTC is Greenwich Mean Time, CST is China Standard Time, obviously CST = UTC + 8.
Based on this, if your CMOS is local time (that is, CST time) and you want to use local time, you need to make the following modifications:
Shell> sudo vim/etc/default/rcS (locate the utc settings)
# Utc = yes # comment out and change it to no
Utc = no # Save and exit
If your local time is not accurate, you can modify it as follows:
Shell> sudo date-s MM/DD/YY
Shell> sudo date-s hh: mm
Shell> sudo/etc/init. d/hwclock. sh restart # Write the modified time to the cmos
When a command is executed during modification, the system prompts that the modification is too early in the future.
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