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

How to install Centos7 in VMware

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to install VMware Centos7, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

1. Hardware and software preparation

Software: VMwear is recommended, I use VMwear 12

Image: CentOS6. If there is no image, you can download https://mirrors.aliyun.com/centos/ 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 C disk, which is changed to F disk 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 8 gigabytes, so I allocate 2 gigabytes 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

You can increase the disk capacity at any time by temporarily allocating 100g of disk capacity. Do not select to allocate all disks immediately, otherwise the virtual machine will allocate 100g directly to CentOS, which will reduce 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

The above is all the contents of the article "how to install Centos7 in VMware". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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

Servers

Wechat

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

12
Report