摘要: [root@centos7 ~]$ hostnamectl set-hostname prd_web1 # 使用这个命令会立即生效且重启也生效 [root@centos7 ~]$ hostname # 查看下 prd_web1 [root@centos7 ~]$ vim /etc/hosts # 编 阅读全文
posted @ 2018-08-02 12:44 卡卡西村长 阅读(175) 评论(0) 推荐(0)