10 2020 档案

摘要:# docker login docker.io Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.do 阅读全文
posted @ 2020-10-28 10:04 LeoShi2020 阅读(1910) 评论(0) 推荐(0) 编辑
摘要:[root@master2 ~]# INTERNAL_IP=$(ip addr show eth0 | grep "inet " | awk '{print $2}' | cut -d / -f 1) [root@master2 ~]# echo ${INTERNAL_IP} 10.1.90.182 阅读全文
posted @ 2020-10-25 19:44 LeoShi2020 阅读(308) 评论(0) 推荐(0) 编辑
摘要:创建数组 HOST_NAME=(master1 master2 master3 node1 node2 node3) 查看数组下标(索引)和值 [root@master1 ~]# echo ${!HOST_NAME[*]} 0 1 2 3 4 5 [root@master1 ~]# echo ${H 阅读全文
posted @ 2020-10-25 13:03 LeoShi2020 阅读(115) 评论(0) 推荐(0) 编辑
摘要:定义一个字典名称 declare -A ipaddress 赋值 ipaddress=([master1]="10.1.90.181" [master2]="10.1.90.182" [master3]="10.1.90.183" [node1]="10.1.90.184" [node2]="10. 阅读全文
posted @ 2020-10-25 12:47 LeoShi2020 阅读(3979) 评论(0) 推荐(0) 编辑
摘要:返回字符为1000GB 需要将GB删除掉 根据你需要的单位更新倍数 测试 END 阅读全文
posted @ 2020-10-20 13:52 LeoShi2020 阅读(327) 评论(0) 推荐(0) 编辑
摘要:prometheus 配置文件不同步,如果使用文件夹可以同步 docker run -d \ --name=prometheus \ -p 9090:9090 \ -v /usr/local/docker/prometheus/prometheus.yml:/etc/prometheus/prome 阅读全文
posted @ 2020-10-14 23:13 LeoShi2020 阅读(1358) 评论(0) 推荐(0) 编辑
摘要:配置NTP服务器 一定要选NTP协议否则同步失败 开启client 查看Windows Time服务否则计算机重启后时间不同步 第一次同步会报错只需要手动狂刷几下即可 END 阅读全文
posted @ 2020-10-11 11:31 LeoShi2020 阅读(1096) 评论(0) 推荐(0) 编辑
摘要:自定义脚本获取值时超时 需要分别修改 zabbix_server.conf zabbix_agent.conf 重启zabbix-server zabbix-agent END 阅读全文
posted @ 2020-10-08 13:58 LeoShi2020 阅读(1988) 评论(0) 推荐(0) 编辑
摘要:光衰尽量控制在-4dBm以内 show interface fc 1/1 transceiver details END 阅读全文
posted @ 2020-10-06 11:18 LeoShi2020 阅读(2310) 评论(0) 推荐(0) 编辑

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