Install vm-tools on ubuntu server

Source: Internet
Author: User

If you use virtual machine vmware to install ubuntu, there are many advantages to install vm tools, support copying and pasting of host virtual machines, support for high resolution,

Although the server version does not have a graphical interface, it is also an advantage to get a larger screen.

 

Ubuntu for the desktop version is very simple. You can click vm tools to install and decompress and install it on the desktop, but there is no interface.

Ubuntu,

 

In fact, the following is also the same, the difference is that the vmvm will not automatically display the vm tools on the desktop, so let's try it.

First, log in with the root account

Sudo su

Then update your software source and use

Apt-get update and apt-get dist-upgrade

In fact, you can skip this step and install linux-headers-server build-essential directly.

apt-get install linux-headers-server build-essential
After the installation, it will be OK, the equipment tools will be handled, and then click the VM menu of the virtual machine, install VMtools, and the specific menu will not be remembered. That's exactly what it means,
Then mount it back to the local machine in ubuntu server,
mount /cdrom
If the execution is incorrect and cdrom cannot be found, create a cdrom directory on media,
mkdir /media/cdrom
Then mount it,
sudo mount /dev/cdrom /media/cdrom
Note: although the/media/cdrom directory is self-built, it is now an optical drive device and can only be read-only,
Then copy the vm installation package back to your home directory in cdrom,
cp /media/cdrom/*.tar.gz ~
Decompress the package.
tar -zxf *.tar.gz
Do not add the v parameter.
tar -zvxf *.tar.gz
So far, there are a lot of content in it, the CPU has already decompressed the file, and it has to be displayed one by one on the screen
Then, run a file with the extension. pl in the directory.
./vmware-install.pl

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.