1. Preparation before centos installation
1. Browser search centos official website to download
2. Click download ( CentOS Mirrors List )
3. Click to connect ( Index of /centos/7.9.2009/isos/x86_64/ )
4. Click the link as shown in the figure to start downloading the centos7 installation package (this process may be slow)
After the download is complete, you will get an ISO file (CentOS-7-x86_64-DVD-2009.iso)
5. Click to create a new virtual machine
6. Check Typical and click Next
7. Enter the copied ISO download path (C:\Users\33589\Downloads\CentOS-7-x86_64-DVD-2009.iso) in the installation continuous CD image file and click Next Enter the name of the virtual machine and click Next
8. Select Linux (L) as the client operating system
Version (V) select centos 7 64 bits
9. The default maximum disk is 20G, select to store the virtual machine disk as a single file, click Next
Click Finish, and the virtual machine is created
10. Click to open this virtual machine as shown in the figure
click to confirm
click yes
11. Wait for the virtual machine to start. During this process, the mouse clicks on the desktop to enter the virtual machine interface, and the ctrl+alt mouse exits the interface
12. Select the installation language and select Simplified Chinese as shown in the figure
13. Partition according to the steps as shown in the figure below
Click the installation location (D), select the automatic configuration partition (U), and click Finish
14. Click the software selection (S), select the development and generation workstation, click Finish
15. Set hostname and network
Click on the network and host name, click to open, click to finish, take the user name at will, click to start the installation
15. Set users and peripherals, click root password, start to set root password
Click Create User (U) to start setting up username and password
Click Finish and wait for the installation....
16. Restart and enter, click LICENSING, check I agree to the license agreement after entering, click Finish in the upper left corner, click Finish configuration
17. Restart the interface, enter the virtual machine, and enter the password
2. Configure network communication
-
- Adjust the working mode of the virtual machine to bridge mode
Right click on centos 7 64, Settings→Network Adapter→Bridge Mode
-
- Set a fixed IP address for the system
Right-click to open the terminal, enter the command ip addr and press Enter, the IP address set as shown in the figure is 192.168.204.169
-
- Use the ping command to test whether the connection is normal
Open putty, enter the IP address, the test is normal
-
- Use putty or ftg commands to remotely access virtual hosts
Open PFSTP, enter "open+virtual machine IP address", and then enter the user name and password to connect to the virtual machine