Not every programmer must play Linux, but bloggers think that many of the servers are Linux systems, and they belong to the kind of front-end also engaged in the background, but also interested in frame construction, but many of the production framework and tools are installed on the server, And a lot of big companies are required to be familiar with the development of Linux, so it is necessary to learn more about Linux from personal career development.
(Bo main online check, now most of the server installed system mainly include: Ubuntu server, CentOS, SUSE Linux Enterprise, Redhat Linux, etc.)
So today, the blogger installed Ubuntu on the virtual machine and shared the entire installation process for everyone. The reason why the two systems are not installed, is to consider a lot of inconvenient places, for example, you have developed an instance on Linux, you want to write a blog, blogging must be more convenient on windows, the code needs to get from one system to another system, here is a dual system inconvenient. Also, another benefit of installing Linux on a virtual machine is that you can download the tool installation package on Windows and install it on Linux.
All right, here's the installation process.
One, download the Ubuntu image file
: http://www.ubuntu.com
Open the above connection, we come to the following page, click Download:
Next, go to the following page and click Ubuntu Desktop:
Then choose Ubuntu 14.04.3 LTS Release Notes:
Then select Ubuntu Desktop and Server:
Next we choose Desktop version 64-bit PC (AMD64), Blogger's computer is 64-bit. In addition the desktop and the server version of the difference is mainly: desk layout to the PC
Users, you can do word processing, Web browsing, multimedia playback and play games. Essentially, this is a multi-purpose operating system tailored to the average user. On the other hand, the server Edition is designed to serve as a Web server for hosting files, Web pages, and similar content.
Click on the link above to download, the capacity of about 1G, a bit long, then we first look at the download and installation of VMware and the installation of Ubuntu on VMware process.
Ii. VMware Download and install
VMware download installation is good to do, download direct Baidu as follows, haha:
Download Complete installation, installation can take all the default, to see the individual, Bo Master's installation directory is optional.
When the installation is complete, start VMware, you need to enter the product key (VMware Workstation 12), Bo Master casually Baidu A, ape friends to see if you are effective:
5A02H-AU243-TZJ49-GTC7K-3C61N
VMware installation is complete, the following describes the installation of Ubuntu in VMware.
Third, install Ubuntu in VMware
1. Create a virtual machine
2. The wizard chooses the custom
3. Then next step, until here, install the system later
4, then choose Linux, Note here the following dropdown select Ubuntu64, because we download is 64-bit, if your computer is 32-bit, choose Ubuntu can, blogger is because of Ubuntu, resulting in the installation error, but can be set later.
5, choose the installation location, here must enter an existing directory, or the following will be an error
6, after setting up the processor and memory, the computer configuration can try, otherwise the default, bloggers here is the default, and then the next ..., until here, choose to store the virtual machine as a single disk:
7, then next, to the following page, click on custom Hardware:
8. Then select the Ubuntu image that we downloaded in the first step:
9, then click Finish, Wizard settings completed
10, the virtual machine has been configured, then we turn on the virtual machine:
11, then will come to the following interface, if there is an error please see (four, may encounter errors), we choose Chinese Simplified click Install Ubuntu:
12, to the following interface, we click Continue:
13. Then click to start the installation:
14, to the interface, click Continue:
15, as follows, enter your location, casually input is good:
16. Then select Chinese and click Continue:
17, set the user name password, here bloggers choose Automatic Login
18, the following has been formally installed:
19, after the installation is complete, will prompt restart, click now restart
20, restart success, will come to the desktop, Bo Master restart encountered some problems, manual restart, the impact is not small:
21, we open the browser, enter the Baidu website, found that can access the network:
Installation Complete!!!!!!!!!!
Iv. errors that may be encountered
During the installation process, the blogger encountered the following error:
4.1, this kernel requires a x86-64 cpu,but only detected a i686 CPU. such as:
The possible reason is that when we created the Virtual Machine Wizard, we chose Ubuntu instead of Ubuntu64 on the following page, but the image I downloaded was 64 bits, such as:
WORKAROUND: Set the following back to Ubuntu64, then proceed with the steps you did not complete:
4.2, reported the following error:
Possible reason: Your computer does not support virtualization
Workaround: Restart the computer, enter the BIOS (the key for the blogger to enter the BIOS is F10), set virtualization enabled.
Select the security option after entering Bois:
Select Virtualization, enter, press the + key to modify the two options to Enabled:
Then press F10, enter Y to save and exit.
After you have set up virtualization enabled, continue with the steps that are not completed above
4.3, if the virtual system is successfully installed after the restart failed (such as staying on a page for too long), manually restart Ubuntu
VMware Tools Installation