1、修改网卡ens33
#cd /etc/sysconfig/network-scripts/
#vi ifcfg-ens33
配置centOS网络

IPADDR=192.168.244.130
PREFIXO=24
GATEWAY=192.168.244.2
DNS1=8.8.8.8
DNS2=61.139.2.69
2、#service network restart
或者
#systemctl restart network
配置centOS网络

#ping www.baidu.com
配置centOS网络

#yum update
按y
3、安装epel源
#yum install epel-release

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-05-29
  • 2021-10-03
  • 2021-06-07
  • 2021-05-08
猜你喜欢
  • 2021-04-24
  • 2021-07-23
  • 2021-10-09
  • 2021-11-25
相关资源
相似解决方案