标签:gate sysconf pts 开机 isa 配置 rip emc alt
1. centos7 ip设置
修改vi /etc/sysconfig/network-scripts/ifcfg-eth33
BOOTPROTO="static" #dhcp改为static
ONBOOT="yes" #开机启用本配置
IPADDR=192.168.153.146 #静态IP
GATEWAY=192.168.153.1 #默认网关
NETMASK=255.255.255.0 #子网掩码
DNS1=192.168.153.1 #DNS 配置
重启网络服务
service network restart
查看IP:ip addr
2. 关闭防火墙
//临时关闭 systemctl stop firewalld
//禁止开机启动 systemctl disable firewalld
标签:gate sysconf pts 开机 isa 配置 rip emc alt
原文地址:https://www.cnblogs.com/mutong1228/p/9102495.html