摘要: Centos7中提供了设置主机名的工具 hostnamectl hostname有三种状态 static(永久) transient(瞬态) pretty (灵活) 查看主机名状态 [oracle@hadoop ~]$ hostnamectl status Static hostname: hado 阅读全文
posted @ 2019-02-22 12:51 七月逆流 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1.centos 7.5 64 2.安装docker systemctl restart docker.service 注意:重启后才有 /etc/docker/文件夹 切换到这文件夹下再增加对应的daemon.json文件 sudo systemctl daemon-reload systemct 阅读全文
posted @ 2019-02-22 12:06 七月逆流 阅读(150) 评论(0) 推荐(0) 编辑