Solution to time synchronization of vmwarevm Linux system centos RHEL

Source: Internet
Author: User

After installing a Linux system (centos and RHEL) on Vmware, we will soon find that the system time is inaccurate and there is always a gap with the time at that time. After the adjustment, this problem will occur shortly after the operation, after reading other people's information collected online, we found that the Linux system can be synchronized after VMWare has modified the configuration file after installing tools.

Solution:

1. Install VMware Tools:
Choose install VMware Tools from VM.
Then select install (equivalent to inserting a CD)

Mount/dev/CDROM/mnt
CP/mnt/vmwaretools-******* .tar.gz/tmp
Umount/mnt

Unzip and install:
CD/tmp
Tar zxf vmwaretools-******* .tar.gz
CD vmware-tools-distrib
./Vmware-install.pl note UB system is executing the command is sudo./vmware-install.pl

For detailed installation of vmtools, see the http://www.zongguofeng.cn/article/2008/0710/article_29.html

Ii. Modify the Configuration:

You can modify the running parameters of VMware tool guest daemon:

1. directly modify the virtual machine configuration file. This method is relatively simple. You are using the method of enabling time synchronization:

Close the VM and find the following in the. vmx file of the VM:

Tools. synctime = "false"

Change false to true, and then start the VM.

At this time, the system time is synchronized with the system local time date.

Default VMware tool backgroundProgramThe Update Time is synchronized with the host every three minutes.

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.