随笔 - 314  文章 - 0 评论 - 27 阅读 - 92万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

02 2019 档案
Docker常用命令
摘要:rancher查看容器name 查看pod的日志 容器内执行命令 查看服务是否正常启动 阅读全文
posted @ 2019-02-27 16:48 七月逆流 阅读(116) 评论(0) 推荐(0) 编辑
Centos7】hostnamectl 设置主机名
摘要:Centos7中提供了设置主机名的工具 hostnamectl hostname有三种状态 static(永久) transient(瞬态) pretty (灵活) 查看主机名状态 [oracle@hadoop ~]$ hostnamectl status Static hostname: hado 阅读全文
posted @ 2019-02-22 12:51 七月逆流 阅读(266) 评论(0) 推荐(0) 编辑
搭建rancher节点
摘要: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 七月逆流 阅读(151) 评论(0) 推荐(0) 编辑
CentOS 7 无法yum安装解决方法
摘要:1)下载repo文件 wget http://mirrors.aliyun.com/repo/Centos-7.repo 2)备份并替换系统的repo文件 cp Centos-7.repo /etc/yum.repos.d/ cd /etc/yum.repos.d/ mv CentOS-Base.r 阅读全文
posted @ 2019-02-21 11:45 七月逆流 阅读(561) 评论(0) 推荐(0) 编辑
Mac ssh 免密码登录 Mac 或者 Linux
摘要:最近在 Mac上操作另一台 Mac 和 Linux 服务器,每次输密码太麻烦。所以直接设置 ssh 免密码登录,省去输入密码的过程。先在本机执行 ls ~/.ssh 若不存在 id_rsa,id_rsa.pub 公钥文件,可执行如下命令即可生成。 将其中 id_rsa.pub需要传送到 Mac 或者 阅读全文
posted @ 2019-02-21 10:01 七月逆流 阅读(142) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示