摘要:
[root@qwy ~]# cat /etc/init.d/elastisearch|grep -v '^#' #!/bin/bash # chkconfig: 2345 55 25 # description: SSH is a protocol for secure remote shell a 阅读全文
摘要:
1.遇到的坑 2.实用Python脚本 阅读全文
摘要:
1.nginx 配置模板 参考: https://blog.51cto.com/gyj110/2056933 阅读全文
摘要:
1.使用方法 2.判断是否成功 参考:https://zhuanlan.zhihu.com/p/34191320 阅读全文
摘要:
http://showme.codes/2018-12-11/to-be-broad-minded-toward-others/ 阅读全文
摘要:
1.Jenkins 2.0 的精髓是 Pipeline as Code Jenkins 2.0 的精髓是 Pipeline as Code,是帮助 Jenkins 实现 CI 到 CD 转变的重要角色。Pipeline是一套运行于 Jenkins 上的工作流框架,将原本独立运行于单个或者多个节点的任 阅读全文
摘要:
1.文件架构 2. test3.j2的内容 3. jinj2_test.yml的内容 4.运行的结果 参考:https://blog.csdn.net/qqhappy8/article/details/79217380 https://blog.51cto.com/linuxg/1788574 ## 阅读全文
摘要:
1.近日公司准备自已做一个运维管理平台,其中的监控部分,打算调用zabbix api接口来进行展示。 经过思考之后,计划获取如下内容: 1、 获得认证密钥 2、 获取zabbix所有的主机组 3、 获取单个组下的所有主机 4、 获取某个主机下的所有监控项 5、 获取某个监控项的历史数据 6、 获取某 阅读全文
摘要:
0.安装jq 参考: https://blog.csdn.net/wangpei1949/article/details/78702272 1.获取token Auth Successful. The Auth ID Is: 5dde049736d6a70ea4c7418b3a7dea23 2.获取 阅读全文
摘要:
#!/bin/bashsql='show databases' result=`mysql -uroot -pengine2user -h127.0.0.1 -e "${sql}"` #一定要加双引号 “”“” echo $result 参考: https://blog.csdn.net/long1 阅读全文