Home >System Tutorial >LINUX >Introduction to the installation steps and required tools of the CentOS7.9 mirror system in the virtual machine

Introduction to the installation steps and required tools of the CentOS7.9 mirror system in the virtual machine

WBOY
WBOYforward
2024-01-26 16:21:061229browse

Table of contents

1. Install CentOS7.9 design tools

1. CentOS7.9 mirror system

2. Installed virtual machine software

3. Notebook

2. Operating system installation steps

1. Start the virtual machine

2. Click to create a new virtual machine

3. Select the customized red hat linux download and click Next

4. This step is selected by default, click Next

5. Select to install the operating system later and click Next

6. Because you are installing a linux operating system, select linux, select CentOS 764-bit version, and then click Next.

7. Select the virtual machine installation path according to your requirements and preferences, choose to mount the D drive there, and then click Next

8. Change the processor and core side to 2, and then click Next

9. The virtual machine’s video memory is given 8G

10. Use NET network

11. Default selection, click Next

12. Default selection, click Next

13. Default selection, click Next

安装linux操作系统步骤_linux操作系统安装 下载_linux系统安装软件步骤

14. Give 300G of disk space, choose to split the virtual machine’s c drive into multiple files, and then click Next

15. Default selection, click Next

16. Select custom hardware

17. Select the processor and tick virtualization

18. Select New CD, DCD, select ISO image file on both sides, browse the installed image system, select and click Close.

19. Click to complete

20. After installation, you can jump to the following interface and click to start this virtual machine

21. Use the up and down keys to select the first one (install CentOS7), click Enter, and then wait for the installation

22. After entering, you can select the language interface. English is recommended there. If you want to use English, you can scroll down to find English. Then click Continue.

23. In this step, you can set the regional time and other settings. We will not set it up yet. First, partition the c drive and double-click the icon below to enter.

24. First select the 300G space, then click Iwillconfigurepartitioning (I will configure the partition), and then click done

25. We first select manual partitioning and then click Start Partitioning, which will make partitioning faster.

26. The following is the result of manual partitioning

27. However, manual partitioning allocates the /home directory to too many areas. Linux standard tutorial. There is no need for so many /home directories. We need to allocate all the directory space to the root directory. (Click the sign below to reduce the partition, click the - sign to delete the partition). After the partition is completed, linux operating system installation download, click done.

28. Confirm the partition information again and click AcceptChanges.

29. After the partitioning is completed, return to the initial interface and click BeginInstallation to install the system

linux系统安装软件步骤_linux操作系统安装 下载_安装linux操作系统步骤

30. While installing the system, you can set a password for it and double-click this key to enter the settings

31. After entering the password twice, click done

32. After installation, click Reboot and wait to enter the system by yourself

33. The following is what it looks like after entering the system (linux system)

3. Network connection steps

The previous steps have already completed the installation of the CentOS7.9 version system in Linux, and it is difficult to access the intranet after logging in, and there is a network on our real computer laptop.

1. First enter the systemLinux operating system installation download, then ping and find that there is no connection, then you need to set up the network

2. Use vi to step into the configuration file

Command: vi/etc/sysconfig/network-scripts/ifcfg-ens33

3. Start changing the configuration file content

linux系统安装软件步骤_安装linux操作系统步骤_linux操作系统安装 下载

First we need to enter the input mode to change the file. The initial state we enter the configuration file is in the editing mode. The conversion methods of the three modes are as follows

Step one: Change BOOTPROTO=dhcp to static, that is, change it to: BOOTPROTO=static

Step 2: Change ONBOOT=no to yes, that is, change it to: ONBOOT=yes

Step 3: Insert the final content

IPADDR=20.0.0.51

NETMASK=255.255.255.0

GATEWAY=20.0.0.2

DNS1=8.8.8.8

4. First press ESC to exit the insert mode just now, then press shift plus: enter the last line mode, enter uppercase wq, which means save or exit. After inputting, click the Enter key.

5. Restart the network card, which is to make the configuration file take effect and load the configuration file information into the video memory to run

Command: systemctlrestartnetwork

6. Ping successfully again and communication can be normal. Complete the network configuration.

The above is the detailed content of Introduction to the installation steps and required tools of the CentOS7.9 mirror system in the virtual machine. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:itcool.net. If there is any infringement, please contact admin@php.cn delete