上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: /etc/nginx/nginx.conf中 http {...... log_format main '$remote_addr - $remote_user [$time_iso8601] "$request" ' '$status $body_bytes_sent "$http_referer 阅读全文
posted @ 2020-03-14 13:24 Le1543 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 基于用户_明文传输http 工具安装,yum install -y httpd-tools 设置用户名和密码htpasswd -b -c /etc/nginx/.auth.conf testnginx 123456 /etc/nginx/conf.d/default.conf中在监控部分添加 loc 阅读全文
posted @ 2020-03-14 12:14 Le1543 阅读(118) 评论(0) 推荐(0) 编辑
摘要: egrep -v '#|^$' /etc/nginx/conf.d/default.off > /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf 中 目录索引 location /download { #相对根目录下的down 阅读全文
posted @ 2020-03-14 11:39 Le1543 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 临时关闭setenforce 0 阅读全文
posted @ 2020-03-14 11:29 Le1543 阅读(77) 评论(0) 推荐(0) 编辑
摘要: nginx官网右侧download-->Pre-Built Packages栏目中点stable and mainline 改/etc/yum.repos.d/nginx.repo [nginx-stable]name=nginx stable repobaseurl=http://nginx.or 阅读全文
posted @ 2020-03-14 11:13 Le1543 阅读(140) 评论(0) 推荐(0) 编辑
摘要: yum -y install subversion 检查安装情况 rpm -ql subversion whereis subversion 建立版本库 svnadmin create /svndata cd /svndata 查看库文件 >>ll cd /svndata/conf中有认证和配置 a 阅读全文
posted @ 2020-02-25 12:12 Le1543 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 安装 registry yum install docker-registry 查版本 yum info docker-registry 阅读全文
posted @ 2020-02-15 15:47 Le1543 阅读(111) 评论(0) 推荐(0) 编辑
摘要: https://oapi.dingtalk.com/robot/send?access_token=02f6ba03e133beb0e62499a6e7550b64f03a1120e47c4922a2db80f981834697 cd /usr/lib/zabbix/alertscripts cat 阅读全文
posted @ 2020-01-03 13:59 Le1543 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 字体目录 zabbix 4.2:/usr/share/zabbix/assets/fonts/ zabbix 4.0:/usr/share/zabbix/fonts/ win下找到对应字体 C:\Windows\Fonts rz传文件过去server上 chmod 777 ./simkai.ttf 阅读全文
posted @ 2020-01-03 13:26 Le1543 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 自定义告警 yum install -y mailx dos2unix vim /etc/mail.rc 最后添加下面3行 set from=luo-jia-le@163.com smtp=smtp.163.comset smtp-auth-user=luo-jia-le@163.com smtp- 阅读全文
posted @ 2020-01-03 11:42 Le1543 阅读(132) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页