Install CentOS 7 in a VMware virtual machine (graphics tutorial)

Source: Internet
Author: User

First, VMware Introduction:

VMware is a Virtual PC software that can virtual a new hardware environment on an existing control system, which is equivalent to simulating a new PC to actually run two separate operating systems on a single machine.

The main features of VMware: two or more operating systems can be used on the same PC without distinguishing or rebooting; the native system can communicate with the virtual machine system network, and the hardware environment of the virtual machine operating system can be set and modified at any time.

Second, CentOS introduction:

CentOS (Community ENTerprise operating System) is one of the Linux distributions that is compiled from the source code released by Red Hat ENTerprise Linux in accordance with open source rules. Because of the same source code, some servers that require a high degree of stability are used by CentOS instead of the commercial version of Red Hat Enterprise Linux. The difference between the two is that CentOS does not contain closed source code software.

third, the installation of CentOS:

Virtual machine version: VMware workstation_10.0.3

Linux system version: Centos_7 (64-bit)

Physical machine Version: Win 7 flagship edition

Note: I am the beginner, installs the CentOS on the virtual machine, facilitates simultaneously in the Win7 operation as well as communicates with the physical machine, and so on the operation can install the double system.


1, the creation of virtual machines:

Open the installed VMware (if you are installing VMware in English, it doesn't matter, take a seat), select "File---> New virtual Machine", as shown in figure:
Here, choose Customize, and Next:

or select "Typical" and Next:


Select Default, Next:

Select "Third" to install the operating system later, install later to facilitate configuration. Next:

(Note: The first item in the above image is installed with a CD-ROM and the second is installed with an ISO image on the hard drive)

The above figure refers to the plan to simulate an operating system in the virtual machine, select the CentOS 64-bit in Linux,version, and Next:
Customize the size of the disc or the default disk size. Next:


Custom Hardware:


Enter the name of the virtual machine (optionally) and select the path where the mirrored file will be stored. Next:


The number of CPU cores assigned to the virtual machine is selected, and VMware gives a warning if the number of CPUs selected for the virtual machine exceeds the actual CPU number of the machine. Here you can choose the default. Next:

Note: Virtual memory allocation, generally choose the default 1024MB on line (note: The virtual machine can not allocate more than half the memory of physical memory, and later if you want to use the graphical interface to install CentOS, at least to allocate 628M of memory).


Select Bridge here to determine:


Note: Here is the network type assignment, the network type assignment divides into three kinds, bridge,nat and host-only, probably the difference is

1 Bridge: The equivalent of the host and virtual machine connected to the same hub, virtual confidential and host configuration to the same network segment

2 NAT: Using VMNET8, the host to open the necessary VMware services, such as Vmvare DHCP, virtual machine set to DHCP, of course, can also be manually set to vmnet1 the same network segment, more trouble

3 host-only: Use Vmnet1, direct and host interconnection, you can use Ifconfig view configuration



The creation completes, confirms the virtual machine information (actually can also modify later), the point "completes" can. The following interface appears:


This is our virtual out of a computer, the top red box, you can see the virtual machine hardware information, can also be modified, or click the menu bar "virtual Machine---> Settings", you can also modify the hardware configuration.

2. Install CentOS Image:

First you need to load the CentOS mirror. Select Virtual Machine---> Settings:
Click on "CD/DVD (IDE)", open the Virtual Machine CD Settings page, click "Use ISO image file", select the ISO image file to be installed. Is the Centos-7.0-1406-x86_64-dvd.iso file that you just downloaded. Click "OK":
Then click "Open this virtual machine" to start the virtual machine.

The following interface appears:


Interface Description:

Install CentOS 7 Installation CentOS 7

Test this media & install CentOS 7 testing installation files and installing CentOS 7

Troubleshooting Repair Failure

In the previous illustration, select the first item "Install CentOS 7" and press ENTER to confirm:


After that, the following graphical installation interface pops up:


Select the language in Simplified Chinese, click "Continue" to eject the following interface:
Date and Time:


If you are installing an English version, you need to change the time zone to Shanghai. I installed the Chinese version, choose the default Shanghai time can be.
Keyboard:


English keyboard and Chinese keyboard layout is the same, the default can be.


installation Source:


As you can see, the installation source is automatically detected, without modification, click Finish.

Software Selection:


Personal users recommend choosing a desktop version, the server recommends selecting a minimal installation. I choose the desktop version here and install some software and tools as needed.


Installation Location:


Select "I want to configure the partition", click "Finish" in the upper left corner and go to the following interface:
As shown in the above illustration, the partitioning scheme selects standard partitions. and start mounting the partition:
Set the/boot partition to 200M:

Set the/home directory to 2048M:


Set the swap to 2048M: (You don't have to modify the file system in this way, the default is swap)


Finally, give the root partition/allocate all remaining space:


When you're done, click Finish in the upper-left corner, and the following interface appears:


Just accept the change.


Network and host name:


Just open the network connection and click Finish.

The configuration is complete, click Start Installation:


During the installation process, we can set the root password, the password requires more than 8, including case, numbers and special characters, such as: admin123$$, to avoid forgetting later, you can also create a common account:


So, it's done.

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.