上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: docker commit c1 sshd:v1 容器名c1 镜像名称:sshd tag:v1 docker stop c1 && docker rm c1 mkdir docker run -d --name c1 sshd:v1 /sshd.sh ssh ip 阅读全文
posted @ 2020-04-01 21:39 Le1543 阅读(175) 评论(0) 推荐(0)
摘要: rm -rf /var/ftp/pub mount /dev/cdrom /var/ftp yum install -y lftp cd /etc/yum.repos.d/ rm -rf ./* cat > /etc/yum.repos.d/ftp.repo<<EOF[ftp]name=ftpbas 阅读全文
posted @ 2020-04-01 00:29 Le1543 阅读(110) 评论(0) 推荐(0)
摘要: 数据持久化演变 docker run -d --name n1 -p 81:80 nginx:1.16 docker container exec -it n1 /bin/bash echo 'test'>index.html 手工交互 docker container cp index.html 阅读全文
posted @ 2020-03-31 22:38 Le1543 阅读(155) 评论(0) 推荐(0)
摘要: bash-completion命令补全,重启或者新窗口生效 扫描镜像 docker search nginx 下拉镜像 docker pull nginx 查看镜像信息 docker image ls=docker images 查看镜像详细信息 docker image inspect 【镜像名称 阅读全文
posted @ 2020-03-31 15:54 Le1543 阅读(353) 评论(0) 推荐(0)
摘要: 命令补全bash-completion source /etc/profile.d/bash_completion.sh 阅读全文
posted @ 2020-03-28 12:08 Le1543 阅读(161) 评论(0) 推荐(0)
摘要: 目录结构[root@ansible ansible]# tree ./ ./ ├── ansible.cfg ├── hosts ├── playbook03292102.tar.gz ├── playbook.yml └── roles ├── mariadb │ ├── file │ │ └── 阅读全文
posted @ 2020-03-27 16:57 Le1543 阅读(99) 评论(0) 推荐(0)
摘要: 发件人 收 阅读全文
posted @ 2020-03-24 16:50 Le1543 阅读(87) 评论(0) 推荐(0)
摘要: 选表达式构造器测试触发(略) 选添加启用 linux那边开多两个窗口 仪表板 开启消息,(这里没有勾前端,勾了才显示) 阅读全文
posted @ 2020-03-24 15:39 Le1543 阅读(152) 评论(0) 推荐(0)
摘要: 被监控主机的/etc/zabbix/zabbix_agentd.d中新建被监控模块 比如磁盘的io 需要用到iostat命令(yum install -y sysstat) 平时操作iostat awk '/^sda/ {print $2}'可以看到tps的数据 做成模块 vim /etc/zabb 阅读全文
posted @ 2020-03-24 15:05 Le1543 阅读(160) 评论(0) 推荐(0)
摘要: 黄色:成功执行并伴随着状态的改变 绿色:成功执行并且没有发生状态的改变 红色:执行失败 灰紫:表示对命令执行发出警告信息,(可能存在问题,给你建议一下) yum install -y ansible ansible主机往其他方向需要ssh信任 ssh-keygen -t rsa ssh-copy-i 阅读全文
posted @ 2020-03-24 10:47 Le1543 阅读(186) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页