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.