1.centos7

更换yum源

yum -y install wget
cd /etc/yum.repos.d/
mkdir bak
mv * bak
wget http://mirrors.aliyun.com/repo/Centos-7.repo
wget http://mirrors.aliyun.com/repo/epel-7.repo

网卡配置文件路径

/etc/sysconfig/network-scripts/

命令

查看系统版本

cat /etc/redhat-release

查看ip

ip addr

重启网络服务

sudo service network restart

安装软件-wget

yum -y install wget
原文地址:https://www.cnblogs.com/ret688/p/12327772.html