Installation and deployment of CentOS 7

Time:2021-1-21

1、 Installation and configuration of virtual software

virtual machine(virtual machine) refers to a complete computer system with complete hardware system functions simulated by software and running in a completely isolated environment. All the work that can be done in the real computer can be realized in the virtual machine. When creating a virtual machine in a computer, it is necessary to take part of the hard disk and memory capacity of the physical machine as the hard disk and memory capacity of the virtual machine. Each virtual machine has its own CMOS, hard disk and operating system, which can operate on the virtual machine like a physical machine.

1.1 deploy and install virtual software program

There are many virtual software available for you to choose from. Take vmware workstation as an example. Double click to execute the software installation program and continue to the next step.
After the installation, run the software program, and the interface as shown in the figure below will appear, which means that the software installation and deployment is completed.

Installation and deployment of CentOS 7

1.2 adjust the virtual software network environment

Tip: the main purpose of this step is to ensure that the network of the virtual host system installed and deployed in the future can communicate normally and access the external network. If not, this step can be omitted.

Installation and deployment of CentOS 7
After entering the settings page, adjust the network configuration information according to the user’s needs. If the operating system is windows, it needs to be modified with the permission of administrator.

Installation and deployment of CentOS 7
Installation and deployment of CentOS 7
Installation and deployment of CentOS 7

After application and confirmation, the virtual software network environment can be set up.

1.3 introduction of virtual software network mode

  • Bridging network mode

    • Virtual host can access the Internet;
    • It can communicate with physical LAN host;
    • It is easy to cause address configuration conflict;
  • NAT network mode

    • Virtual host can access the Internet;
    • Unable to communicate with physical LAN host;
    • The problem of address configuration conflict can be solved;
  • Host only network mode

    • The virtual host can not access the Internet;
    • Unable to communicate with physical LAN host;
    • It can improve the security of virtual host network;

2、 Operating system installation process

2.1 create virtual host

Step 01: start the virtual host and open the create virtual machine interface

Installation and deployment of CentOS 7
Installation and deployment of CentOS 7

Step 02: basic configuration of virtual host

Installation and deployment of CentOS 7
Installation and deployment of CentOS 7
Installation and deployment of CentOS 7
Installation and deployment of CentOS 7

The purpose of this step is to prevent the version options of CentOS 7 from not being available because the software version is too low. You can choose other Linux 3. X kernels to replace it.

Installation and deployment of CentOS 7

Step 03: virtual host CPU configuration

Installation and deployment of CentOS 7

Step 04: virtual machine memory configuration

Installation and deployment of CentOS 7

Step 05: virtual host network configuration

Installation and deployment of CentOS 7

Step 06: virtual host disk configuration

Installation and deployment of CentOS 7
Installation and deployment of CentOS 7
Installation and deployment of CentOS 7
Installation and deployment of CentOS 7
Installation and deployment of CentOS 7

Step 07: complete the creation of virtual host

Installation and deployment of CentOS 7