logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

负载均衡500/502/504错误排查

对于配置负载均衡之后,访问网站出现500 Internal Server Error, 502 Bad Gateway, 504 Gateway Timeout等错误,有可能由多种原因导致,例如运营商拦截,客户端异常行为导致防火墙封杀,负载均衡配置错误或者健康检查失败,后端Web应用访问问题等。可能原因以及解决方案一、源站域名没有备案或者域名没有在高防或者安全网络配置七层转发解决方案:请将域

#负载均衡
error while loading shared libraries: libnuma.so.1: cannot open shared object file

在初始化mysql5.7的时候,报以下错误error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory备注:初始化参数为/usr/local/mysql/bin/mysqld --initialize --basedir=/usr/loca

#mysql
gitlab快速搭建方法

gitlab中文社区的教程https://www.gitlab.com.cn/downloads/GitLab中文文档https://docs.gitlab.com.cn/omnibus/一、安装配置依赖项如想使用Postfix来发送邮件,在安装期间请选择’Internet Site’. 您也可以用sendmai或者 配置SMTP...

#git#gitlab
zabbix监控Nginx状态

开启方法server {server_name localhost;location /nginx_status {stub_status on;#开启nginx状态access_log off;#关闭访问日志allow 127.0.0.1;

#nginx#zabbix
MongoDB 慢查询优化

一、MongoDB 慢查询(Profiling)级别说明0:关闭,不收集任何慢查询数据,默认为01:收集慢查询数据,默认是100毫秒2:收集所有数据1、开启和设置慢查询① 修改配置文件(mongo.conf)开启Profiling#开启慢查询,200毫秒的记录profile = 1slowms = 200② mongoshell来进行临时性打开启Profiling##登录数据库mongo --ho

selenium 无头模式

Firefox驱动下载地址:https://github.com/mozilla/geckodriver/releases 或者 http://npm.taobao.org/mirrors/geckodriver/Chromedriver驱动下载地址:http://npm.taobao.org/mirrors/chromedriver/一、无头模式from selenium import webd

#selenium
使用openssl生成https协议证书

在服务器端创建证书一、使用openssl生成CA证书#在/tmp目录下新建一个ca文件夹,并在ca文件夹下创建四个子文件夹[root@linux-node ~]# mkdir -p /tmp/ca/{newcerts,private,conf,server}[root@linux-node ~]# cd /tmp/ca/newcerts目录用于存放CA签署过的数字证书。pri

#linux
iptables封IP的命令

查看当天登陆未成功的IP一条命令把这些IP全部封掉:for i in `grep "$(date +"%b %d")" /var/log/secure | grep "Failed password" | awk '{print $(NF-3)}' | sort | uniq -c | sort -nr| awk '{print $2}'` ;do iptables -A

#安全
使用 curl 发送 POST 请求

一、参数说明格式: curl -H 请求头 -d 请求体 -X POST 接口地址参数内容格式-H(或者 --header)请求头“Content-Type: application/json”-dPOST内容‘{“id”: “001”, “name”:“张三”, “phone”:“13099999999”}’ 或者‘id=001&name=张三...

推荐几款实用的内网穿透工具

内网穿透工具:nps-npc,frp,ew,ngrok

#运维
    共 70 条
  • 1
  • 2
  • 3
  • 7
  • 请选择