VMware Communities
y10k
Contributor
Contributor

vmtools install in linux server that doesn't have Gnome?

I recently installed an ubuntu 7 server for debugging. Should I install vmware tools for it? If yes, how can I do that?

Reply
0 Kudos
3 Replies
y10k
Contributor
Contributor

nvm

I have found out the solution by reading the help files.

Thanks.

Reply
0 Kudos
mykmelez
Enthusiast
Enthusiast

What's the answer? Might be useful for someone else who finds this topic.

Reply
0 Kudos
y10k
Contributor
Contributor

To install or upgrade VMware Tools in a Linux virtual machine from the command line with the tar installer or RPM Installer

If you have a previous installation of VMware Tools, delete the vmware-tools-distrib directory before installing. The default location of this directory is

/tmp/vmware-tools-distrib.

Step 1 is performed on the Mac, within VMware Fusion menus, and the remaining steps are performed inside the virtual machine.

1

With the virtual machine powered on, from the Virtual Machine menu, choose Install VMware Tools.

If VMware Tools is already installed, the Virtual Machine menu displays the choice Upgrade VMware Tools instead of Install VMware Tools.

The remaining steps take place inside the virtual machine.

2

As root (su -), mount the VMware Tools virtual CD-ROM image and change to a working directory (for example, /tmp), as follows.

Note Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands described in this procedure. You still must untar the VMware Tools installer to /tmp.

Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, you must modify the following commands to reflect the conventions used by your distribution:

mount /dev/cdrom /mnt/cdrom

cd /tmp

3

Uncompress the installer and unmount the CD-ROM image, as follows:

For the tar installer, at the command prompt, enter:

tar zxpf /mnt/cdrom/VMwareTools- is the build/revision number of the VMware Tools release.

To determine the exact name of the tar and rpm installer files, view the contents of /mnt/cdrom/.

Note If you attempt to install an rpm installation over a tar installation—or the reverse—the installer detects the previous installation and must convert the installer database format before continuing.

4

Do one of the following:

For the tar installer, run the VMware Tools tar installer:

cd vmware-tools-distrib

./vmware-install.pl

Respond to the configuration questions on the screen. Press Enter to accept the default value.

For the RPM installer, configure VMware Tools:

vmware-config-tools.pl

5

Respond to the questions the installer displays on the screen.

To accept the default value, press Enter.

6

Log off the root account:

exit

7

Start X and your graphical environment.

8

In an X terminal, launch the VMware Tools control panel:

vmware-toolbox &

For information about using this control panel to configure VMware Tools, click Help in the VMware Tools control panel.

Note You can run VMware Tools as root or as a normal user. To shrink virtual disks or to change any VMware Tools scripts, you must run VMware Tools as root (su -).

Reply
0 Kudos