Install VMWare Tools Ubuntu Server


I don't often install Ubuntu server on a Virtual Machine (VM) so I've documented the process here. Usually you can just click "install VMWare tools" and VMWare will complete the process automatically.
Note: I have tested this on VMWare workstation 7.0 and Ubuntu 9.10, 10.04, 10.10, 11.04 and 11.10 is also works on Lubuntu and Xubuntu. Once you have Ubuntu server installed run the following commands.


#Change to super user
sudo su

#Update your sources
apt-get update

#Upgrade your installed packages and force kernel upgrade
apt-get dist-upgrade

#Now reboot
reboot

#back to super user
sudo su

#Install Build tools
apt-get install linux-headers-server build-essential

#Now you are ready to install VMWare tools.

#Mount the VMWare Tools CD ISO (make sure you have told VMWare you want to install tools)
mkdir /mnt/cdrom 
mount /dev/cdrom /mnt/cdrom

#Copy VMware Tools
cp /mnt/cdrom/VMwareTools-x.x.x-xxxxx.tar.gz /tmp
 
#Go tmp
cd /tmp

#Extract
tar -zxf VMwareTools-x.x.x-xxxxx.tar.gz

#Change to extracted directory
cd vmware-tools-distrib

#Start the installer
./vmware-install.pl -d


The default settings have always worked for me (within a vm) so I use the -d option. If you need a different configuration don't use the -d.
Using Shared folders
After a reboot you can use tools such as Shared folders. I like to sym link my shared folders to my home directory as I tend to forget the mount directory (hgfs) location.


#sym link and name vmSharedFolder
ln -s /mnt/hgfs/ ~/vmSharedFolder


Please note that if you use VMWare work station you can find all this in the help. When I wrote this I was using player, which at the time didn't include this in the help. 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Lucifer_DavidYe

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值