在允许nginx服务器中,输入命令: netstat -ano | grep "TIME_WAIT" 可以看到出现很多TIME_WAIT的端口, 输入命令: netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c 可以看到结果: 76 CLOSE_WAIT 3 ...
分类:
其他好文 时间:
2021-03-04 13:10:09
阅读次数:
0
IDEA中Tomcat乱码问题 1、file-setting中修改字符集 2、修改IDEA安装目录bin下的文件,添加-Dfile.encoding=UTF-8 3、Help-- Edit custom vm options 添加-Dfile.encoding=UTF-8 4、重启IDEA 本人经过 ...
分类:
其他好文 时间:
2021-03-04 12:57:56
阅读次数:
0
docker无网络环境安装镜像 1、从其它有网络环境的机器导出镜像 #查看镜像 docker images liyc@liyc-VirtualBox:~ $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE minio/minio latest 6 ...
分类:
其他好文 时间:
2021-03-03 12:18:43
阅读次数:
0
zabbix添加自定义监控项 监控nginx web的80端口连接数,zabbix监控中心创建监控项目,针对监控以图形展现 需要到客户端zabbix_agent定义脚本 vim /usr/local/sbin/estab.sh //内容如下 #!/bin/bash ##获取80端口并发连接数 net ...
分类:
微信 时间:
2021-03-03 12:16:54
阅读次数:
0
最近一直在忙,博客这边想写却一直待留着,这段时间刚好有时间,就和大家分享下的技术吧! 为了关心一些初学着没有钱买Linux服务器,却一直追求着技术的孩子们,我下面会使用wsl下安装的Ubuntu18.04lts版本进行部署和操作, 也许有的人会问啥不用centos(因为老子不想QWQ),关于wind ...
分类:
Web程序 时间:
2021-03-03 12:04:07
阅读次数:
0
1、Nginx基础概述 1、Nginx基础概述 1.1、nginx简述 1.1、nginx简述 Nginx是一个开源且高性能、可靠的Http Web服务、代理服务。 开源: 直接获取源代码 高性能: 支持海量并发 可靠: 服务稳定 1.2、我们为什么选择Nginx服务 1.2、我们为什么选择Ngin ...
分类:
Web程序 时间:
2021-03-02 12:19:25
阅读次数:
0
查看当前mysql隔离级别 mysql> show variables like 'tx_isolation' 设置隔离级别 mysql> set global transaction isolation level read committed; global 和session 这是两个作用域,g ...
分类:
数据库 时间:
2021-03-02 12:12:13
阅读次数:
0
import requests import re import os from glom import * def get_video(url): requests.packages.urllib3.disable_warnings() session = requests.session() h ...
分类:
其他好文 时间:
2021-03-02 11:50:01
阅读次数:
0
C++ 2010 #include <uf.h>#include <uf_object_types.h>#include <uf_obj.h>#include <uf_modl.h>#include <uf_assem.h>#include <uf_kf.h>#include <uf_ui.h>#i ...
分类:
其他好文 时间:
2021-03-01 13:43:29
阅读次数:
0
1. 域名代理实例: #user nobody; user root; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; p ...
分类:
其他好文 时间:
2021-03-01 13:32:37
阅读次数:
0