Linux
OneCodeSolvesAll
这个作者很懒,什么都没留下…
展开
-
配置IP和主机名映射
1. 修改主机名字hostname [note1@localhost]$ sudo vi /etc/sysconfig/network We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: ...原创 2018-09-26 10:53:54 · 2190 阅读 · 0 评论 -
Linux如何进行静态ip配置
将用户切换到root用户 [note2@localhost ~]$ su - root Password: [root@localhost ~]# 将目录转入/etc/sysconfig/network-scripts [root@localhost ~]# cd /etc/sysconfig/network-scripts/ 用vi编辑ifcfg-ens33文件 查找文件 然后...原创 2018-09-21 11:18:46 · 337 阅读 · 0 评论