Installing VMware Tools in Ubuntu
I've noticed that people are installing Linux distributions in virtual machines. Especially the virtualization products of VMware are popular. The most installed distribution in VMware seems to be Ubuntu, as this one of the most user friendly Linux environments available. After installing it, you need to install VMware Tools, as these contain the drivers for the virtual machine. This can be challenging to new users, so I'll write a tutorial for Ubuntu 9.10. It should also work with other versions and distributions.
1. From the menu 'Virtual Machine' in any VMware product, choose 'Install VMware Tools'.
2. A CD icon should now appear on your Ubuntu desktop. Open it if it doesn't do this by itself.
3. There should be two files. A manifest.txt and an archive. Open the archive.
4. Extract the folder 'vmware-tools-distrib' to your home folder. If your username is 'john', you should extract it to the folder 'john' (/home/john).
5. Open a Terminal window.
6. Now enter the following lines. Pressing the ENTER/Return key after each line:
First we go to the 'vmware-tools-distrib'-folder that you've extracted.
Code:
cd ~/vmware-tools-distrib
Now we'll load the installation program with Root privileges.
Code:
sudo ./vmware-install.pl
You should be asked to enter the root password. In Ubuntu this is the same password as you used during the installation.
7. The installation program is now going to ask questions. Press the ENTER/Return key at each line to accept the default answers. Meanwhile the drivers are getting built. You'll see all kinds of rubbish text showing up on the screen. Just let it do everything for you.
8. At the end of the process when the installation is finished, enter the following 4 lines in the Terminal:
Code:
/etc/init.d/networking stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/networking start
That's it! Now you can change the screen resolution and enjoy your virtual Ubuntu installation
Fixing build errors
If you're getting error messages about not finding kernel headers or the GCC compiler, then enter the following line in the Terminal:
Code:
sudo apt-get install gcc build-essential
When you're attempting to install VMware Tools on a different Linux Distribution, then the above command might be required in order to install VMware Tools in the first place.
Good luck
source link :http://www.hardwareforums.com/installing-vmware-tools-ubuntu-27136/
=======================================================================
How To Set Up VMware Tools On Various Linux Distributions
This document explains how to set up the VMware Tools in the following guest operating systems: Ubuntu 7.04, Fedora 7, PCLinuxOS 2007 and Debian Etch. Installing VMware Tools in your guest operating systems will help maximize performance, provide mouse synchronization and copy & paste functionality. This article also shows a way of making VMware Tools start automatically when you start a guest operating system.
I used the VMware Tools v1.0.3-44356 provided by VMware Server v1.03.
This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.
This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!
1 Preparation
Set up a virtual machine of your choice. Click onVMin the top menu of the VMware Server console and selectInstall VMware Tools.
2 Ubuntu 7.04
First copy the VMware Tools from the mounted iso to the temporary folder:
cp /media/cdrom/VMwareTools-1.0.3-44356.tar.gz /tmp/
Afterwards switch to the temporary folder and unpack the VMware Tools:
cd /tmp/
tar xvfz VMwareTools-1.0.3-44356.tar.gz
Next switch to the folder with the unpacked files and execute the installer:
cd vmware-tools-distrib/
sudo ./vmware-install.pl
Now you will be asked a few questions relating to installation paths etc. Choose the default value every time (simply hit enter).
After the installation/configuration finished you have to start the VMware Tools:
vmware-toolbox &
You can automatize the start of the VMware Tools - have a look at step 6 of this howto.
Note: If you close the VMware Tools window, the VMware Tools will be disabled immediately.
3 Fedora 7 (Kernel 2.6.22.5-76.fc7)
First become root and install some needed packages:
su -
%yourrootpassword%
yum install kernel-devel gcc gcc-c++
Next copy the VMware Tools from the mounted iso to the temporary folder:
cp /media/VMware/ Tools/VMwareTools-1.0.3-44356.tar.gz /tmp/
Afterwards switch to the temporary folder and unpack the VMware Tools:
cd /tmp/
tar xvfz VMwareTools-1.0.3-44356.tar.gz
Now we have to fix the vmxnet module:
cd vmware-tools-distrib/lib/modules/source
tar xf vmxnet.tar
cp vmxnet-only/vmxnet.c vmxnet-only/vmxnet.c.orig
wget http://www.thoughtpolice.co.uk/vmware/howto/patch2-vmxnet.c.patch
patch -u vmxnet-only/vmxnet.c < patch2-vmxnet.c.patch
tar cf vmxnet.tar vmxnet-only/
cd /tmp/vmware-tools-distrib
./vmware-install.pl
You will be asked a few questions relating to installation paths etc. Choose the default value every time (simply hit enter).
Next step is to fix thexorg.conf:
vi /etc/X11/xorg.conf
Add the following lines:
Section "Monitor"
Identifier "vmware"
EndSection
After this you have to run the configuration again:
vmware-config-tools.pl
Choose the default value every time (simply hit enter) till you reach the questionDo you want to change your guest X resolution?- choose yes and select your desired resolution.
The last step is to fix the integration of the vmxnet module by manually loading it (otherwise you might obtain problems with the network):
/etc/init.d/networking stop
rmmod pcnet32
rmmod vmxnet
depmod -a
modprobe vmxnet
/etc/init.d/networking start
Afterwards reboot the vm. After the vm has rebooted, you can start the VMware Tools via:
vmware-toolbox &
You can automatize the start of the VMware Tools - have a look at step 6 of this howto.
Note: If you close the VMware Tools window, the VMware Tools will be disabled immediately.
4 PCLinuxOS 2007
Become root, switch to the mounted iso and install therpmpackage:
su -
%yourrootpassword%
cd /media/VMware/ Tools/
rpm -ivh VMwareTools-1.0.3-44356.i386.rpm
Afterwards run the configuration:
vmware-config-tools.pl
You will be asked a few questions relating to installation paths etc. Choose the default value every time (simply hit enter).
Afterwards reboot the vm. After the vm has rebooted, you can start the VMware Tools via:
vmware-toolbox &
You can automatize the start of the VMware Tools - have a look at step 6 of this howto.
Note: If you close the VMware Tools window, the VMware Tools will be disabled immediately.
5 Debian Etch
First install some needed pakages:
apt-get install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc
Next copy the VMware Tools from the mounted iso to the temporary folder:
cp /media/cdrom/VMwareTools-1.0.3-44356.tar.gz /tmp/
Afterwards switch to the temporary folder and unpack the VMware Tools:
cd /tmp/
tar xvfz VMwareTools-1.0.3-44356.tar.gz
Next switch to the folder with the unpacked files and execute the installer:
cd vmware-tools-distrib/
./vmware-install.pl
Now you will be asked a few questions relating to installation paths etc. Choose the default value every time (simply hit enter).
Afterwards reboot the vm. After the vm has rebooted, you can start the VMware Tools via:
vmware-toolbox &
You can automatize the start of the VMware Tools - have a look at step 6 of this howto.
Note: If you close the VMware Tools window, the VMware Tools will be disabled immediately.
source link:http://www.howtoforge.com/vmware_tools_on_linux
相关推荐
Installing STLinux on Ubuntu
OpenERP Installing Ubuntu9.04
在Ubuntu下安装VMware-Tools不像在Windows下安装容易,昨晚整了挺长时间终于安上了.方法在下面. 感谢提供方法的大侠! VMware Tools位置:VMware的安装路径\VMware\VMware Workstation\linux.iso 启动后按Esc选择...
面是我在Ubuntu6.06 LTS 下源码编译安装samba主要安装过程,本人第一次用Ubuntu,刚装上去时候,没有gcc编译环境。郁闷了半天。找出这一过程发了不少的时间。可能还有些不妥,不过我经过这样的安装达到了向windows共享...
For a oracle enviroment without SAP, the backup can also done by brtools.
Protect your server with Ubuntu’s built-in and optional security tools Minimize downtime with fault tolerance and clustering Master proven, step-by-step server and network troubleshooting ...
Chapter 3 Installing Ubuntu Chapter 4 Post-Installation Configuration Chapter 5 First Steps with Ubuntu Chapter 6 The X Window System Chapter 7 Managing Software Chapter 8 On the Internet: ...
Administer, install, and configure the 5–year Hardy–Heron Ubuntu Server Long Term Support Edition of the most popular Linux distribution in the world. Use the new installation and GUI tools. ...
Installing Ubuntu—Getting started 11 Finishing Installation 16 2 The Ubuntu Desktop 19 Understanding the Ubuntu desktop 19 Unity 19 The Launcher 21 The Dash 21 Workspaces 24 Managing windows 24 Unity...
Installing Ubuntu 14.04 & ROS & TurtleBot 06-29-2016 个人小结,关于Ubuntu和ROS的安装。
One way of doing it is using mod_php5 Apache module to serve PHP 5.3 applications, while running PHP 5.2 applications using fastcgi module. Under Ubuntu 12.04 this can be achieved by installing ...
Oracle Solaris 11.2 Installing and Configuring OpenStack in Oracle Solaris 11.2-124
Ubuntu-10.04环境下安装 ns2 2.34
安装mumax3最全教程
Ubuntu Server Succinctly illuminates the path from installing Ubuntu Server on a machine to configuring user accounts, groups, directories, networks, databases, and more. In only a few dozen pages, ...
Installing the Ubuntu Server Chapter 3. Usage Basics: Login, Interfaces, and Help Chapter 4. Managing Software Part 2: Services Chapter 5. Managing Services with systemd Chapter 6. Mail Servers ...
Part 2 covers installing Ubuntu on your computer. An illustrated guide is provided, and all installation choices are explained in depth. Additionally, you’ll find a problem-solving chapter to help in...
Part 2 covers installing Ubuntu on your computer. An illustrated guide is provided, and all installation choices are explained in depth. Additionally, you’ll find a problem-solving chapter to help in...
Part I: Installation and Configuration Chapter 1 Introducing Ubuntu Chapter 2 Preparing to Install Ubuntu Chapter 3 Installing Ubuntu Chapter 4 Post-Installation Configuration ...