VMware-installed Linux and host time synchronization

Source: Internet
Author: User
Tags local time

    1. Installing VMware Tools


2. Modify the virtual machine VMX file

Tools.synctime change to "TRUE"


3. Restart the virtual machine

The discovery time is less than the system time.


4. Modify/etc/sysconfig/clock

# Cat/etc/sysconfig/clock

Zone= "America/los_angeles"

Utc=true

Arc=false

UTC is true to indicate that the RTC is saved in UTC time, and False indicates that the local time is saved .

Modify it to:

# Cat/etc/sysconfig/clock

zone= "Asia/shanghai"

Utc=false

Arc=false


5. Modify the Connection file

# Ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" text-align:center;border:1px solid RGB ( 221,221,221); background-position:50% 50%; "alt=" Spacer.gif "/>650" this.width=650; "src=" http://s3.51cto.com/ Wyfs02/m02/37/98/wkiol1otnlray2pqaacjaeydcbi127.jpg "title=" Clipboard.png "alt=" Wkiol1otnlray2pqaacjaeydcbi127.jpg "/>

(4, 52 steps to modify the time zone setting)


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.