摘要: 1.改变机器的名称: vim /etc/hostname Master 在文件中修改机器名称为我们想要的名称(相当于域名) 可以通过shutdown -h now 关闭 2.查看当前机器IP: ifconfig 3.vim /etc/hosts 127.0.0.1 localhost 建立ip与域名 阅读全文
posted @ 2016-08-22 18:03 柯南君 阅读(509) 评论(0) 推荐(0) 编辑