forever geeks
  • Home
  • Author
  • Links
  • Archives

Installing VMware Tools on CentOS Server

Now that we have installed CentOS operating system to host our Asterisk PBX on the VMware machine, we will install the VMware tools to enhance video graphics and the use of the mouse in the guest OS.

Installing the VMware Tools

From your CentOS desktop go to Terminal and type the following commands:

step 1. Install packages to build the kernel modules

“yum install gcc kernel-devel”

Install Kernel

click on OK when it asks you if the total download size is OK

image

step 2. Check the running kernel matches the kernel headers

 

“uname -r   # running kernel”

“rpm -q kernel-devel # installed kernel headers”

Make sure the two kernel are the same:

Kernel versions

if the two versions are not the same, type the following command:

“yum -y upgrade kernel kernel-develreboot”

upgrading kernel version

step 3. now from your VMware administrator console select your CentOS virtual machine, and click on the Install VMware tools:

Vmware tools installation

now type the following command:

“mount /dev/cdrom /mnt/”

that will mount the CD-ROM.

mounting the CDROM

Extract VMware Tools to /tmp/ using this command:

“tar -C /tmp -zxvf /mnt/VMwareTools-2.0.0-122956.tar.gz”  ( please note that the VMware tools version might be different for you because of newer version)

VMware unpacking

Step 4. unmount the virtual CD Drive with the following command:

“umount /mnt”

Step 5. Now run the installer using this command:

“cd /tmp/vmware-tools-distrib

the above command will get you to the “tmp/vmware-tools-distrib” directory, then execute the following command:

./vmware-install.pl”

installing VMware tools new version

because I had already installed the VMware tools, to practice for this tutorial, I get the message that VMware tools are already installed.

somewhere the installation will ask you the following question:

In which directory do you want to install the binary files?

type an absolute path when typing the answer like “/usr/bin/vmware”

in which directory do you want to install

type Y when it tells you ” the path”/usr/bin/vmware” does not exist currently. this program is going to create it. including needed parent directories. is this what you want?

this is part of the log of the installation I went through:

What is the directory that contains the init scripts? [/etc]
The file /etc/vmware-tools that this program was about to install already
exists. Overwrite? [yes] n

In which directory do you want to install the daemon files?
[/usr/bin/sbin] /usr/sbin

In which directory do you want to install the library files?
[/usr/bin/lib/vmware-tools] /usr/lib/vmware

The path “/usr/lib/vmware” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes] y 

            
In which directory do you want to install the documentation files?
[/usr/bin/doc/vmware-tools] /usr/share/doc/vmware

The path “/usr/share/doc/vmware” does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] y

The installation of VMware Tools 2.0.0 build-122956 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: “/usr/bin/vmware/vmware-uninstall-tools.pl”

at this point, I will need to reboot the computer.


Related Articles:

Installing CentOS Server on VMware

Installing VMware Server 2.0 On Windows XP

Convert VMDK VMware to VHD Virtual Server Files

Installing Microsoft Server 2008 On VMware Server 2.0

Installing Exchange Server 2003 On Server 2003

Installing Ubuntu 8.10 On VMware Server 2.0

VMware Server 2.0 Username And Password

Windows 7 Remote Server Administration Tools


1 Comment »

  1. Comment by:
    kp

    Where can we get Vmware-tools rpm

RSS feed for comments on this post. TrackBack URI

Leave a comment

If you want to leave a feedback to this post or to some other user´s comment, simply fill out the form below.

(required)

(required)


  • Popular Stuff

    • How To Connect To a Wireless Access Point in Windows 7
    • How To Setup A Wireless Profile On Windows 7
    • Why is Seaport.exe process running on my Computer?
    • Change Product Key On Windows Server 2008
    • Import Contacts From Palm Desktop To Iphone
    • Outlook Automatic synchronization
    • the trust relationship between this workstation and the primary domain failed
    • Windows 7 Minimum Requirements
    • VMware Server 2.0 Username And Password
    • Convert VMDK VMware to VHD Virtual Server Files
    • Split .PST files into smaller files
    • Printer not printing document correctly
  • Latest Posts

    • Is Your Computer Windows 7 Ready?
    • Choosing The Right Windows 7 Edition
    • Brief History Of Windows 7
    • How To Transfer Files From Windows XP to Windows 7
    • Laptop Screen Black On Startup – Everything Else Working
    • Prevent Programs Running At Start-Up Script
    • How To Clean Temporary Internet Files With A Log Off Script
    • Disable MSN Messenger From Always Running At Start-Up

Privacy Policy | Smart Energy Meters | Trackit Software | Help Desk Software | Articles | About | Sitemap