Issues I Encountered Installing Centos 8 on EXSI8.0
This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文
Choosing an Image
Choose the DVD image and mount it as an ISO
No Network Connection
-
Configure DNS
nano /etc/NetworkManager/NetworkManager.conf #Make sure the following lines are present [main] dns=none #Then manually add a DNS server nano /etc/resolv.conf nameserver 10.0.0.1 #Restart systemctl restart NetworkManager -
Configure a Static IP
vi /etc/sysconfig/network-scripts/ifcfg-ens34 #Manually set BOOTPROTO=static to use a static IP and ONBOOT=yes to enable the network interface at boot. Append: IPADDR=192.168. *.* for the system IP address, NETMASK=255.255.255.0 for the subnet mask, GATEWAY=192.168. *.* for the gateway, and DNS1=192.168. *.* for the DNS server. Enter ZZ to save and exit: #Restart the network service systemctl restart NetworkManager ping www.baidu.com:
yum Repositories Not Working
#Switch to root and change to the yum.repos.d directory
cd /etc/yum.repos.d/
#Create a new folder and back up the repository files as repo.bak
mkdir backup && mv *repo backup/
#Download a yum repository file from a mirror in China
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo
#Update the yum repository download URLs
sed -i -e"s|mirrors.cloud.aliyuncs.com|mirrors.aliyun.com|g " /etc/yum.repos.d/CentOS-*
sed -i -e "s|releasever|releasever-stream|g" /etc/yum.repos.d/CentOS-*
#Build the cache
yum clean all && yum makecache
Last updated 2024-01-14
Comments 0