Linuxvmware time issue

Source: Internet
Author: User
Linuxvmware time issue-Linux Enterprise Application-Linux server application information. For details, refer to the following section. I believe many of my friends who are playing with vmware in linux have encountered the problem that the linux system is too slow to be installed, I installed ubuntu on a virtual machine for several days and found that the time was so slow. The first thought was to update the time every five minutes with ntpdate. Later I thought about it, vmware should have a solution to the problem, and then it went to his official account and finally found a solution, this problem is because lin cannot fully support the power management features of automatic frequency conversion. Let's talk about my practices below.

Http://kb.vmware.com/selfservice... yKC & externalId = 1591

If you have Installed vmware on windows

C: \ Documents ents and Settings \ All Users \ Application Data \ VMware Workstation \ config. ini for VMware Workstation
Or
C: \ Documents ents and Settings \ All Users \ Application Data \ VMware GSX Server \ config. ini for GSX Server.

Edit config. ini in this folder

If the file does not exist, create a config. ini and edit or add

Host. cpukHz = 7549747 // dual-core CPU must use single-core CPU clock speed * 2 1.8*2048*2048
Host. noTSC = TRUE
Ptsc. noTSC = TRUE
Processor0.use = "FALSE"
Processor1.use = "TRUE"

If you have Installed vmware on linux and I have installed it on ubuntu, modify/etc/vmware/config.

Host. cpukHz = 7549747 // dual-core CPU must use single-core CPU clock speed * 2 1.8*2048*2048
Host. noTSC = TRUE
Ptsc. noTSC = TRUE
Processor0.use = "FALSE"
Processor1.use = "TRUE"

There are many tutorials on how to install vmware-tools on your installed virtual machine. I will only talk about how to install and release ubuntu.

1. Install the compiling environment:
Apt-get install build-essential linux-headers-'uname-R'

2. In the VMware menu, click VM-> Install VMware Tools, and you will see a CD loaded.
Mount/dev/cdrom/mnt
Cd/mnt
Cp VMwareTools-1.0.4-56528.tar.gz/home
Cd/home
Tar zxvf VMwareTools-1.0.4-56528.tar.gz
/Vmware-install.pl

Press enter all the way, and then close the virtual machine.
Find/opt/vmware/nagios/Ubuntu. vmx on the vmware Host.

The last side shows:
#! /Usr/bin/vmware
Config. version = "8"
VirtualHW. version = "4"
Scsi0.present = "TRUE"
Scsi0.virtualDev = "lsilogic"
Memsize = "256"
Scsi0: 0. present = "TRUE"
Scsi0: 0. fileName = "Ubuntu. vmdk"
Ide1: 0. present = "TRUE"
Ide1: 0. fileName = "/home/ludy/ubuntu-7.10-server-i386.iso"
Ide1: 0. deviceType = "cdrom-image"
Floppy0.fileName = "/dev/fd0"
Ethernet0.present = "TRUE"
DisplayName = "nagios"
GuestOS = "ubuntu"
Priority. grabbed = "normal"
Priority. ungrabbed = "normal"

Ide1: 0. autodetect = "TRUE"
Floppy0.present = "FALSE"

Scsi0: 0. redo = ""
Ide1: 0. startConnected = "TRUE"
Ethernet0.addressType = "generated"
Uuid. location = "56 4d 5e 6d 2a 38 7c 0b-60 91 34 5d 42 c4 dd 36"
Uuid. bios = "56 4d 5e 6d 2a 38 7c 0b-60 91 34 5d 42 c4 dd 36"
Ethernet0.generatedAddress = "00: 0c: 29: c4: dd: 36"
Ethernet0.generatedAddressOffset = "0"
Tools. syncTime = "TRUE" (after installing vmware-tools, the default value is FALSE to TRUE)

Save and exit. For windows, you can use NotePad to open the changes and start the virtual machine. The time will be correct!

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.