摘要: centos 7 修改hostname hostnamectl set-hostname cdh1 # 使用这个命令会立即生效且重启也生效,cdh1为hostname hostname # 查看hostname vim /etc/hosts # 编辑hosts文件 cat /etc/hosts # 阅读全文
posted @ 2020-12-16 16:44 johLife 阅读(178) 评论(0) 推荐(0) 编辑