ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

网络安全-centos 7基础配置

网络安全-centos 7基础配置 更换yum源打开终端切换路径切换root用户su root备份配置文件cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak下载配置文件(我这里下载的是阿里云的)curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo配置静态IP打开文件vim /etc/sysconfig/network-scripts/ifcfg-ens33更改参数更改前更改后重启网络服务systemctl restart network
返回列表