会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Mlxg
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
12
下一页
2021年8月13日
jenkins自动触发构建
摘要: 1. 安装jenkins cat /etc/yum.repos.d/jenkins.repo [jenkins] name=Jenkins baseurl=http://pkg.jenkins.io/redhat gpgcheck=1 yum calen all && yum makecache y
阅读全文
posted @ 2021-08-13 15:01 MlxgzZ
阅读(441)
评论(0)
推荐(0)
2021年5月25日
grafana整合zabbix
摘要: 1. 安装grafana wget https://dl.grafana.com/oss/release/grafana-7.5.7-1.x86_64.rpm rpm -i --nodeps grafana-7.5.7-1.x86_64.rpm 2. 安装zabbix插件 grafana-cli p
阅读全文
posted @ 2021-05-25 16:01 MlxgzZ
阅读(141)
评论(0)
推荐(0)
2021年5月21日
ansible在linux和windows批量部署zabbix-agent2
摘要: - hosts: linux tasks: - name: copy centos 7 zabbix-agent2 copy: src=zabbix-agent2-5.0.11-1.el7.x86_64.rpm dest=/root when: ansible_distribution == "Ce
阅读全文
posted @ 2021-05-21 11:20 MlxgzZ
阅读(398)
评论(0)
推荐(0)
2021年2月9日
zabbix监控钉钉报警
摘要: 1. bash脚本 #!/bin/bash to=$1 subject=$2 text=$3 #此处的 xxxxx 就是刚刚复制存留的 api 接口地址。 curl -i -X POST \ 'https://oapi.dingtalk.com/robot/send?access_token=4d7
阅读全文
posted @ 2021-02-09 16:42 MlxgzZ
阅读(177)
评论(0)
推荐(0)
2021年2月8日
zabbix-5.0自动发现
摘要: https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/1. 安装zabbix5.0 rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noa
阅读全文
posted @ 2021-02-08 15:14 MlxgzZ
阅读(784)
评论(0)
推荐(0)
2020年11月28日
服务器巡检
摘要: #!/bin/bash echo "You are logged in as `whoami`"; if [ `whoami` != root ]; then echo "Must be logged on as root to run this script." exit fi CHECK_DAT
阅读全文
posted @ 2020-11-28 21:15 MlxgzZ
阅读(122)
评论(0)
推荐(0)
2020年11月23日
wordpress部署
摘要: 1. 安装nginx,mysql,php wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo wget http://repo.mysql.com/mysql-community-release-
阅读全文
posted @ 2020-11-23 17:08 MlxgzZ
阅读(182)
评论(0)
推荐(0)
2020年11月17日
go统计字符串及数组中出现次数
摘要: 数组:统计出现字数 package main import "fmt" func main() { s := [...]string{"Mlxg", "123","Mlxg", "abc" ,"fff" ,"123", "Mlxg", "fff", "abc", "123", "abc", "fff
阅读全文
posted @ 2020-11-17 15:50 MlxgzZ
阅读(946)
评论(0)
推荐(0)
2020年6月13日
故障排查思路
摘要: 线上故障主要会包括cpu、磁盘、内存以及网络问题,大多数故障可能会包含不止一个层面的问题,进行排查时候尽量四个方面依次排查一遍。例如 jstack、jmap 等工具,出问题就是df、free、top 三连,然后依次jstack、jmap,具体问题具体分析。 CPU: 一般来讲我们首先会排查 CPU
阅读全文
posted @ 2020-06-13 16:11 MlxgzZ
阅读(739)
评论(1)
推荐(0)
2020年5月13日
不同network中的两个docker容器
摘要: 1. 创建docker网络 docker network create --subnet 172.18.0.1/16 test docker network ls 2. 创建两个容器指定docker network docker run -ti --net=test --name test cent
阅读全文
posted @ 2020-05-13 15:58 MlxgzZ
阅读(593)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
12
下一页
公告