1, the preface

Linux, full name GNU/Linux, is a free to use and freely distributed Unix-like operating system. Its kernel was first released by Linus Benadicte Torvalds on October 5, 1991. It is mainly inspired by the ideas of Minix and UNIX. POSIX is a multiuser, multitask, multithreaded and multi-CPU operating system based on POSIX. It can run major Unix tools, applications, and network protocols. It supports both 32-bit and 64-bit hardware. Linux inherits the design idea of Unix taking network as the core, and is a stable multi-user network operating system.

This time, we mainly use centos, a distribution version of Linux, to build Linux system, which is convenient for project deployment and operation in the future

CentOS is a free, open source, redistributable open source Operating System [1]. CentOS (Community Enterprise Operating System in Chinese) is one of the Linux distributions.

CentOS Linux distributions are a stable, predictable, manageable and reproducible platform, From [Red Hat Enterprise Linux](baike.baidu.com/item/Red Hat Enterprise Linux/10770503) (RHEL) according to open source (mostly GPL open Source) [2] ) provides for the compilation of released source code.

2. Download resource packs

Centos7 mirror download address: mirrors.bfsu.edu.cn/centos/7.9….

SecureCRT download address: onlinedown.alvycss.com/download/Se…

3. Create a VM in VMware

3.1 To create a VM, perform the following steps

Choose our mirror image

Select the VM installation directory

Select the number of virtual machine processors and cores

Select the VM memory

Selecting a Network Type

Selecting the Disk Type

Select the disk capacity

3.2 Install the OS after the VM is created

Select the middle option and press Enter to start the installation

Choose Chinese language

Select the system installation directory, mainly the hard disk partition of the VM

Configure vm network IP, so that we can use SSH tools (such as Xshell and sCRT) to connect to each other.

Here we set the VM IP address to 192.168.10.11, and then we can directly connect the VM with SSH through this IP address

After configuration, click to start installation

You can configure the root user and password

The password I set here is root

Click reboot when the installation is complete

This page shows that our centos system has been successfully installed

4. Configure the network

Click on the virtual web editor edited inside the VM

Select NAT Settings and configure them as shown in the following figure

Configure the VM gateway

Configure the local network adapter VMnet8

Select IPv4

Configure the gateway, IP address, and DNS

After the configuration, restart the VM

5. Use SecureCRT to connect to the VM

Create connection information in sCRT

Configure the IP and user name of our virtual machine

Name the connection information c1 to distinguish between different virtual machines

Double-click C1 to connect to the VM

Enter our password and click OK to connect

Enter the command to view the version number, the following page appears, indicating that we have linked successfully

# Check the Linux version number
cat /proc/version
Copy the code

Let’s test our virtual machine network

ping www.baidu.com
Copy the code

So far, our Linux system has been installed, and can also be connected through SSH tool successfully.