logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

confd+etcd+nginx 配置管理

配置管理系统环境更换yum源安装NGINXconfd安装etcd3安装创建confd的模板文件etcd3创建key,vlaue执行confdV3 查看全部KEY`系统环境环境:centos7etcd3nginx1.14confd更换yum源yum install vim wget net-tools -ymv /etc/yum.repos.d/CentOS-Base.repo /e...

#nginx#etcd
ELK的kibana通过nginx设置登录验证

先安装httpdyum install -y httpd创建存放用户目录mkdir -p /data/nginx/db/创建用户htpasswd -c /data/nginx/db/passwd.db user(需要再次输入密码确认)在nginx配置文件加上下面两行auth_basic "secret";auth_basic_user_file /data/nginx/db/.

zabbix-api 获取last 20 issues 问题

这是面板显示:用values = {"jsonrpc": "2.0","method": "trigger.get","params": {"output": "extend","filter": {"value": 1},"sortfield"...

ubuntu 增加硬盘分区

#fdisk -l 查看磁盘信息Disk /dev/vda: 21.5 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (log

#ubuntu
haproxy.cfg 配置文件 python脚本管理

HAproxy.cfg 事例文件globallog 127.0.0.1 local1 noticestats timeout 30suser haproxygroup haproxydaemonpidfile /usr/local/haproxy/logs/haproxy.pidstats socket /va

github代理地址

​​​​​​​GitHub Proxy 代理加速https://ghproxy.com/在访问和下载gitlab的时候,有时会很慢可以用代理访问git clonegit clonehttps://ghproxy.com/https://github.com/stilleshan/ServerStatuswget & curlwgethttps://ghproxy.com/https://g

#github
jenkins pipeline input 参数选择发布不同环境

pipeline {agent anystages {stage("test") {steps {timeout(time: 1, unit: 'MINUTES') {script {env.DEPLOY_ENV = input message: '选择部署的环境', ok: 'deploy',

#jenkins
ansible [WARNING]: Platform linux on host

172.20.201.115 | SUCCESS => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"},"changed": false,"ping": "pong"}[WARNING]: Platform linux on host 172.20.200.252 is using the disc

ubuntu查看文件使用的大小

这是看哪个目录下面的大小root@JSSH2ZABBIX0132003:~# df -lhFilesystemSizeUsed Avail Use% Mounted on/dev/vda120G6.7G12G36% /none4.0K04.0K0% /sys/fs/cgroupudev

#ubuntu
到底了