In-depth introduction-Android system migration and platform development (book version) (2)-install vmwarevm and ubuntu12.04

Source: Internet
Author: User
Chapter 1: Build the android source code Development Environment

This topic explains how to build an android Development Environment Based on Ubuntu, paving the way for subsequent chapters.

Main content of this chapter:

L install vmwarevm Software

L install the Ubuntu Operating System

L VMware Network Configuration

L VMware shares Host Data

L add new hardware to Vmware

L JDK Installation

L install the android compilation tool

L download Android source code

2.1 build a host virtual machine environment

Android source code development can be performed on MACOs or ubuntu. Currently, development in windows is not supported, while windows is widely used in domestic user host environments, this also means that we need to install a virtual machine software in Windows to run Ubuntu virtual in windows.

2.1.1 Introduction to VMware Workstation

VMware is a world-renowned Virtual Machine software company. VMware Workstation is one of the commercial software products sold by VMware.

Vmwareworkstation is a virtual PC software that enables you to run two or more windows, DOS, and Linux systems simultaneously on one machine. VMware uses a completely different concept than the "Multi-Boot" system. Multiple boot systems can run only one system at a time. During system switching, you must restart the machine. VMware is truly "Running multiple operating systems at the same time" on the platform of the main system, just as switching like a standard Windows application. In addition, each operating system can perform virtual partitioning and configuration without affecting the data on the real hard disk. It is extremely convenient to connect several virtual machines to a LAN through the NIC. However, the performance of the VMware operating system is much lower than that of the physical host system directly installed on the hard disk. Therefore, it is usually used in program development or testing.

The computer and operating system running vmwareworkstation are called hosts ). An operating system instance running in a virtual machine is called a virtual machine customer (guest ).

Because it has nothing to do with the real hardware of the host machine, all virtual machine customers use the same hardware driver, and the virtual machine instance is highly portable to various computers. For example, a running Virtual Machine can be paused and copied to another real computer as the host, and then resume running from the exact location where it is paused.

Features of vmwareworkstation:

The client runs in the host machine as a program.

Ø the host and the Virtual Machine Client run in parallel and have no subordination.

The host machine and virtual machine can easily perform file sharing, network connection, and hardware configuration operations through configuration.

The client hardware is independent of the host environment and is simulated by software.

The client is portable and can run on different hosts.

Ø the performance of the client is much lower than that of the physical host.

 

2.1.2 install vmwareworkstation Virtual Machine Software

The latest version of vmwareworkstation is v8.0.x. We recommend that you use a newer version of v8.0.x or later to ensure the normal use of ubuntu.

Double-click the installation package to install it:

Figure 2-1 install the VMware installation package

Ø installation package startup Interface

Figure 2-2 installation page

 

Ø select typical, which is a typical installation method. Use the default configuration.

Figure 2-4 installation page

 

Enable VMware workstation8

Figure 2-10 wmware workstation first page

2.1.2 install Ubuntu

After vmwareworkstation is installed, you can install the Virtual Machine. First, download the ubuntults ① ISO image file from the official Ubuntu website.

Ubuntu Chinese official website: http://www.ubuntu.org.cn/

Ubuntu Desktop: http://www.ubuntu.com/download/desktop

 

Ubuntu operating system introduction:

Ubuntu is based on the Debian release and GNOME desktop environment. Unlike Debian, UBUNTU releases a new version every six months. The goal of Ubuntu is to provide a general user with the latest and stable operating system built mainly from free software. Ubuntu has a huge community power, allowing users to easily get help from the community.

Create a new Virtual Machine

Figure 2-11 create a new Virtual Machine

 

① The Ubuntu operating system is divided into general releases and long termsupport, ubuntu will provide support for each version for at least 18 months and is committed to continuously releasing security and key patches during the release support period. The Community will provide at least three years of technical support for the LTS version. Therefore, we strongly recommend that you download and use the LTS version for updates and support in the Ubuntu community.

Wizard for creating a new VM: select the Ubuntu ISO image file to be installed.

Figure 2-12 create a VM wizard

Ø click Next and use the default options in the middle. The VM configuration confirmation page is displayed.

Figure 2-23 virtual machine configuration list

 

Start the VM and start to install the Ubuntu VM.

Figure 2-24 Ubuntu Virtual Machine Installation Process

Ø During the installation of the Ubuntu virtual machine, we need to download and update the Ubuntu system through the network. We can select skip to skip the download process to save installation time. After the Ubuntu virtual machine is installed, it restarts automatically.

So far, the Ubuntu virtual machine system has been installed.

Related Article

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.