随笔分类 -  linux

摘要:centos7修改hostname和hosts 1、修改/etc/hostname vi /etc/hostname 打开之后的内容是: localhost.localdomain 把它修改成想要的名字就可以,比如:master 保存退出 2、修改/etc/hosts文件 vi /etc/hosts 阅读全文
posted @ 2019-11-27 08:53 bjxdd 阅读(186) 评论(0) 推荐(0)