CentOS7 Linux installation detailed steps

One, install the virtual machine

Two, CentOS7 Linux create virtual machine process

1. Create a virtual machine and select a custom mode
Bold style

2. Choose your own image file or install the system later [image file download by yourself]

Insert picture description here
3. Location and name customization
Insert picture description here
4. The number of processors and the number of cores depends on the computer situation

5. My computer has 16 threads and 16g RAM

6. What I allocate is one core 4 cores 2g memory

7. The virtual network must be selected at the beginning of the network, that is, the network address translation can be changed to bridge mode later

8. In the beginning, I used the bridge mode directly. Some virtual machines could not connect to the network.
Insert picture description here
9. According to my own situation, I used a physical disk and a disk installed Linux

10. Under normal circumstances, the default is enough

Insert picture description here
The settings behind 11 can always be default

12. Be sure not to check the creation and then opening the virtual machine may fail to boot

13 Click to turn on the virtual machine
Insert picture description here
14. After the mouse click, the screen mouse disappears

15. Just press Enter by default

16. The choice of language is actually similar to English and Chinese

17. Choose Chinese at the bottom according to personal preference

Insert picture description here
18 Click on Chinese and just default it directly. If you don’t like the current language, you can change it in the keyboard options.
Insert picture description here
19. Be sure to verify whether your mirror file is ok.
Insert picture description here
20. After verification, click Finish and then click Finish in the upper left corner
Insert picture description here
Insert picture description here
22 .The installation location only needs to click once and then click Finish in the upper left corner, it will automatically allocate the hard disk

23. Linux's hard disk is different from windows, it only has three areas

24. Then click Software Selection

25. Select all the hooks on the left side of the minimum installation, and the required plug-ins will be installed separately

26. Then click KDUMP

27 Turn off kdump kdump is about system abnormalities and uploading to the server to upper-level developers will take up a lot of resources

Insert picture description here
Insert picture description here
28. The default is not to open the network connection, so you need to open the network connection

29. Turn on the Ethernet option and there is no special requirement. The default host name is
Insert picture description here
Insert picture description here
fine. 30. Here is an ip address for the later remote link

31. Then click on the bottom right corner to start installation

32. It will let you set the root user password and the ordinary user account password. Ordinary users can set it without setting it or set it to see the individual.
Insert picture description here
Insert picture description here
Wait for the installation to complete. After the installation is complete, there is a restart in the lower right corner and wait for the restart to complete.

Three, CentOS7 necessary plug-ins and command installation

Centos 7 check the IP address does not exist?
1. It is found that the access ip address does not exist
2. Check whether the machine is assigned a gateway ip add
3. Enter the network card configuration file and
execute the command cd /etc/sysconfig/network-scripts/
4. Modify the file ifcfg-ens33 The command is vi ifcfg- ens33, press shift +i to enter the editing mode, change ONBOOT=no to yes, press shift +: to exit the editing mode, enter wq to save and exit. Then execute the command service network restart to restart the network card service. After the execution is complete, we execute the command ip addr again to check whether the IP address is assigned and then we execute the command yum provides ifconfig to see which package provides the ifconfig command, and then we can see that the net-tools package provides the ifconfig package and then we execute the command to install net- tools package, execute the command: yum install net-tools. After the installation is complete, enter ifipconfig to see

Turn off the firewall: service iptables stop
Turn off the self-starting firewall: chkconfig iptables off

ifconfig activate

yum ifconfig

man yum

q

su root

yum remove ifconfig

yum search ifconfig

yum install net-tools.x86_64
y
y
ifconfig

Guess you like

Origin blog.csdn.net/javaScript1997/article/details/108961634
Recommended