Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of installing Centos7 in VMware

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of the method of installing Centos7 in VMware, the content is detailed and easy to understand, the operation is simple and fast, and it has a certain reference value. I believe you will gain something after reading this article on the method of installing Centos7 in VMware. Let's take a look at it.

1. Hardware and software preparation

Software: vmwear is recommended, I use vmwear 12

Image: centos6. If there is no image, you can download it in Aliyun.

Hardware: because the virtualization software is running on the host to install centos, there are certain requirements for the configuration of the host. At least i5cpu dual core, hard disk 500g, memory more than 4g.

two。 Virtual machine preparation

1. Open vmwear and select New Virtual Machine

two。 Typical installation and Custom installation

Typical installation: vmwear will apply the mainstream configuration to the operating system of the virtual machine, which is friendly to beginners.

Custom installation: custom installation can be targeted to enhance some resources and remove unwanted resources. Avoid the waste of resources.

Here I choose to customize the installation.

3. Virtual machine compatibility selection

Pay attention to compatibility here. If a virtual machine created by vmwear12 is copied to vm11, 10 or earlier, there will be an incompatibility. Compatibility issues do not occur if the virtual machine created with vmwear10 is turned on in vmwear12.

4. Choose to install the operating system later

5. The choice of operating system

Choose the operating system to be installed later, and the right choice will make vm tools more compatible. Select centos under linux here

6. Virtual machine location and naming

The virtual machine name is a name, which is easy to find when there are many virtual machines.

The default location of vmwear is under disk c, which is changed to disk f here.

7. Allocation of processor and memory

Processor allocation should be based on your actual needs. If there is not enough cpu in the process of use, it can be added. This time only do the installation of centos demonstration, so the processor and core are selected 1.

Memory is also allocated according to actual needs. My host memory is 8g, so I allocate 2g memory to the virtual machine.

8. For the choice of network connection types, there are four network connection types: bridging, nat, host only and non-networking.

Bridging: if you choose the bridging mode, the relationship between the virtual machine and the host is level on the network, which is equivalent to being connected to the same switch.

Nat:nat mode means that virtual machines have to communicate with the outside world through the host before they are connected to the network.

Host only: the virtual machine is directly connected to the host

Bridging and nat mode access to the Internet process, as shown in the following figure

The difference between bridging and nat

Choose the bridging mode here

9. The other two can be selected by the default option of the virtual machine.

10. Disk capacity

If you temporarily allocate 100g of disk capacity, you can increase it at any time. Do not select to allocate all disks immediately, otherwise the virtual machine will allocate 100g of disk capacity directly to centos, which will result in a reduction of the remaining hard disk capacity of the host.

Check the box to split the virtual disk into multiple files, which makes it easy for the virtual machine to copy and copy with the storage device.

11. Disk name. Default is fine.

twelve。 Cancel unwanted hardware

Click Custom hardware

Select unwanted hardware such as sound cards and printers and remove them.

13. Click finish to create the virtual machine.

3. Install centos

1. Connect the CD

Right-click the virtual machine you just created and select Settings

First select cd/dvd, then choose to use iso image file, and finally select browse to find the downloaded image file. When starting, the connection must be checked and determined.

two。 Turn on the virtual machine

3. Install the operating system

When the virtual machine is turned on, the following interface appears

Install centos 7 install centos 7

Test this media & install centos 7 tests the installation files and installs centos 7

Troubleshooting repair Failur

Select the first item, install centos 7 directly, enter, and enter the interface below.

Select the language used in the installation process, here choose English, keyboard choose American keyboard. Click continue

First set the time

Choose Shanghai in the time zone to see if the time is correct. Then click done

Select the software that needs to be installed

Select server with gui, and then click done

Select the installation location, where you can partition the disk.

Select i wil configure partitioning (I will configure the partition), and then click done

As shown in the figure below, click the plus sign, select / boot, and give boot a distinction of 200m. Finally, click add.

Then use the same method to allocate space to the other three zones and click done.

Then the summary message will pop up and click acceptchanges (accept changes)

Set hostname and network card information

First open the network card, then check to see if you can get the ip address (I'm a bridge here), then change the host name and click done.

Finally, select begin installation (start installation)

Set root password

Click done after setting the root password

Click user creation to create an administrator user

Enter the user name and password and click done

Wait for the system to be installed and restart the system

This is the end of this article on "how to install Centos7 in VMware". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to install Centos7 in VMware". If you want to learn more, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report