- 链接地址:https://blog.csdn.net/ZPeng_CSDN/article/details/103319559
- 链接标题:Ubuntu16.04 Server修改主机名以及设置静态ip_配置unbutu主机名和ip映射-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:9709
文章浏览阅读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映射
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除