2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Go to the official website
Click download
Click x86 and download centos9
Click Next
Select the centos version to install. Select centos7 here.
1. Edit the virtual machine
2. Set up iso image file
3. Open the virtual machine to install the system
4. Press the up and down keys on the keyboard to select the first enter
If the keyboard cannot be operated, press ctrl + alt and then operate the keyboard
5. Step 5: After waiting for a while, the welcome to CENTOS 9 interface will pop up. Select Chinese, Simplified Chinese (China), and click Continue
6. On the installation information summary interface, click Software Installation to enter the software selection interface
7. On the software selection interface, select Server with GUI on the left, check Development Tools on the right, click Finish, and return to the installation information summary interface.
8. Enter the disk configuration page and click Done directly. No other changes are required. Just confirm to use automatic partitioning.
9. Click Network Configuration
10. Click User to set root password
11. Click to start installation
Wait for the progress bar to fill up
12. When the progress bar is full, it means the installation is complete. A restart button will appear in the lower right corner. Click Restart.
13. After restarting, click Start Settings
No network, no internet connection
Go directly to edit
Note: switch to root account
vim /etc/sysconfig/network-scripts/ifcfg-ens33
Set the network mode to net mode
TYPE=Ethernet
BOOTPROTO=static
NAME=ens33
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.229.9
NETMASK=255.255.255.0
GATEWAY=192.168.229.2
DNS1=8.8.8.8
DNS2=114.114.114.114
Restart the network:
systemctl restart NetworkManager
Turn off the firewall:
# systemctl stop firewalld
# systemctl disable firewalld
Turn off selinux
setenforce 0
vim /etc/selinux/config
SELINUX=disabled
#vim /etc/ssh/sshd_config
PermitRootLogin yes
#systemctl restart sshd
Snapshot Saving