1. |-/etc/sysconfig/network-scripts/ifcfg-ens33 (只要该配置文件,要做备份)
    |-reboot 重启后就不会丢失。
    |-
    TYPE=Ethernet
    BOOTPROTO=static
    PEERROUTES=no
    NAME=ens33
    DEVICE=ens33
    ONBOOT=yes
    IPADDR=192.168.1.110
    NETMASK=255.255.255.0
    GATEWAY=192.168.1.1
    DNS1=8.8.8.8
  2. |-/etc/yum.repos.d (先删掉这里面的东西,rm -rf *)\
    |-cd /etc/yum.repos.d (进入这个目录)

centos7下用yum源安装ifconfig
3.mount /dev/sr0 /opt/ (把dvd通过文件的方式放在opt下)
4.vi dvd.repo

centos7下用yum源安装ifconfig
5.yum install net-toolscentos7下用yum源安装ifconfig
6.yum list
centos7下用yum源安装ifconfig

相关文章:

  • 2022-01-09
  • 2021-12-15
  • 2021-08-12
  • 2021-08-13
  • 2021-12-13
  • 2021-12-26
  • 2022-01-17
  • 2022-12-23
猜你喜欢
  • 2021-12-31
  • 2022-02-11
  • 2022-01-27
  • 2022-01-12
  • 2021-11-19
  • 2021-07-04
  • 2021-08-26
相关资源
相似解决方案