摘要:
centos 修改host name hostname 机器名 或者 vi /etc/sysconfig/network 域名服务器配置文件:/etc/ resolv.conf vi resolv.conf nameserver 8.8.8.8 nameserver 114.114.114.114 阅读全文
posted @ 2021-11-19 16:26
TMD网络
阅读(32)
评论(0)
推荐(0)
摘要:
centos设置静态IP vi /etc/sysconfig/network-scripts/ifcfg-eth0 打开配置文件 DEVICE=eth0 ONBOOT=yes 开机启动 BOOTPROTO=static 设置静态地址 IPADDR=192.168.1.100 IP地址 NETMASK 阅读全文
posted @ 2021-11-19 16:17
TMD网络
阅读(115)
评论(0)
推荐(0)
摘要:
1.ifconfig 如果找不到ifconfig需要安装 net-tools yum install net-tools 或者 apt install net-tools 2.hostname hostname -I 3.ip addr ip addr 或者 ip addr show 或者 ip a 阅读全文
posted @ 2021-11-19 14:35
TMD网络
阅读(593)
评论(0)
推荐(0)

浙公网安备 33010602011771号