Install VMWare Tools Ubuntu Server

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.

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.

作用

貌似Ubuntu Server上安装VMTools并不能实现鼠标切换之类的。。。。。。

其他

其实,mount上直接安装就好了,更新都不是必须的

引用:

https://www.nickyeoman.com/blog/desktop-development/111-vmware-tools-ubuntu-server

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值