Installing Ubuntu in a VMware virtual machine

Source: Internet
Author: User
Keywords installation operation mirroring nbsp;
Tags basic core products create file files http image install

VMware is a well-known and easy to use software. Many of its core products are free (but not open source). In addition, using VMware on AMD compatible architecture machines requires the installation of Ia32-libs libraries.

· VMware Player is the most basic version of the VMware series software. He can only run existing virtual machine mirrors. There are many virtual machine images on the network that are built for free operating systems that can be downloaded. In addition, sites like EASYVMX also http://www.aliyun.com/zixun/aggregation/18736.html "> Allows users to create virtual machine image files (VMX) that can install and run Windows for free.

· VMware Workstation is a more advanced version that can create virtual machine files and capture snapshots of operating systems at one point in time. VMWare Workstation also allows you to build virtual machines using an existing hard disk partition. Using VMware Workstation requires a paid purchase authorization.

· VMware server is used to assume that virtual Server software (as the name suggests) contains a configuration console that supports web-based configuration access. It is also a free software in the VMware series.

Installing Ubuntu in a virtual machine

• Download Ubuntu cd image files Ubuntu. iso
• Build a new virtual machine with VMware server or VMware Workstation
• You should add instructions here to create a virtual machine image that can be run on Vmware-player with Qemu-img.

Installing VMware Tools

VMware Tools is able to synchronize the time between virtual machines and host hosts, running scripts and other features at shutdown. One function that seems to vanish is that it can control the mouse without capturing the focus. So far, it has not been available. deb installation package, so install it please run the following command:

sudo apt install build-essential
sudo apt install linux-headers-' uname-r '

VMware tools relies on header file Config.h, but in the last few versions of the kernel, this file has not been available. You must create an empty file to ensure that VM tools are installed properly.

sudo touch/usr/src/linux-headers-' uname-r '/include/linux/config.h

Click on the VMware menu VM \ Install VMware tools to hang the VMware Tools installation files onto the Ubuntu system so that you can start installing. To install VMware Tools, copy the. tar.gz file to your desktop, right-click it, and select "Extract Here" ("extract"). Then open the terminal and enter the following command:

sudo./desktop/vmware<tab>/vmware-install.pl-d "

(Note that <tab> means pressing the TAB key to automatically complete the directory name).

After the installation is complete, restart the virtual machine, and then run VMware Tools config to configure VM tools.

Vmware-toolbox

At the same time, if you want to do not press the Cltrl+alt key let the mouse in the virtual machine and host switch between, you must open the Vmware-toolbox, which is not ideal, but you can use the ' alltray ' command to move vmware-toolbox from the taskbar to the system tray. It's also GTK1 bleh! (translator Note: Here seems wrong, do not open the Toolbox can also achieve a smooth mouse switch)

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.