特牛生活网

Ubuntu16.04 Server修改主机名以及设置静态ip_配置unbutu主机名和ip映射-CSDN博客

网友收藏
文章浏览阅读794次。1、修改主机名vim /etc/hostname2、把主机名与ip做映射vim /etc/hosts最后要记得重启主机reboot。3、修改IP地址先有ifconfig命令查看网卡名字知道网卡是ens33后,修改配置文件vim /etc/network/interfaces# This file describes the network interfaces avail..._配置unbutu主机名和ip映射