10 2016 档案
摘要:CentOS 7.x系统中网卡命名规则被重新定义,可能会是”eno167777xx”等,下面我们把网卡名称改为eth0这种。 一、cd /etc/sysconfig/network-scripts/ #进入网卡配置目录 mv eno16777736 ifcfg-eth0 #修改名称 vi eth0
阅读全文
摘要:准备篇 一、防火墙配置 CentOS 7.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.serv
阅读全文