Linux Time zone issues

Source: Internet
Author: User

Time zone problem is very troublesome ~

0. View Time command

#Date     View system time #Date -s    modified time, see Example #date:16 /    (Set the system date to July 16, 2014) #date:22     (Set the system time to PM: one: +-w )    , forcing time to write to COMs

1. Set the Shanghai time zone to the current system time zone

#cp /usr/share/zoneinfo/asia/shanghai/etc/localtime

2. The NTP tool synchronizes the network time

#yum Install NTP
#ntpdate time. Windows. COM

3. See if date is the correct time

Date: +CST

Last Write cmos,ok!

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.