linux静态IP最简配置
程序员文章站
2022-03-03 23:00:43
vi /etc/sysconfig/network-scripts/ifcfg-xxx TYPE="Ethernet"BOOTPROTO="static"ONBOOT="yes"IPADDR=192.168.1.100NETMASK=255.255.255.0GATEWAY=192.168.1.1D ......
vi /etc/sysconfig/network-scripts/ifcfg-xxx
type="ethernet"
bootproto="static"
onboot="yes"
ipaddr=192.168.1.100
netmask=255.255.255.0
gateway=192.168.1.1
dns1=114.114.114.114
上一篇: mysql 跑存储过程没有权限的问题