上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: Using java.util.logging (default) default-config inside the web application WEB-INF/classes 阅读全文
posted @ 2020-08-12 09:28 pengsn 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 简介 HTTP访问日志包含HTTP端点处理的所有入站客户端请求的记录。您可以在HTTP服务器中启用访问日志记录 tomcat-accesslog 参考路径 https://tomcat.apache.org/tomcat-8.5-doc/config/valve.html#Access_Loggin 阅读全文
posted @ 2020-08-11 09:25 pengsn 阅读(389) 评论(0) 推荐(0) 编辑
摘要: Rsync 通过rsync服务实现windows与linux之间的文件同步 准备 windows 同步工具 cwRsyncServer_4.1.0_Installer 下载地址: https://dl.pconline.com.cn/download/901932-1.html 安装如下,注意需要填 阅读全文
posted @ 2020-08-03 16:27 pengsn 阅读(810) 评论(0) 推荐(0) 编辑
摘要: 大文件查找 find . -type f -size +800M -print0 | xargs -0 ls -lh 阅读全文
posted @ 2020-08-03 15:17 pengsn 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 标签文本代码示例 var lable1:TLabel; label1:= TLabel.Create(WizardForm); with label1 do begin Parent := WizardForm; Caption := '请收藏博客内容,希望对你有所帮助'; // 文本内容 Font 阅读全文
posted @ 2020-08-03 09:08 pengsn 阅读(882) 评论(0) 推荐(0) 编辑
摘要: 解决办法 procedure DeinitializeSetup(); begin gdipShutdown; end; 阅读全文
posted @ 2020-08-03 08:48 pengsn 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 安装程序事件函数 安装程序支持下列事件函数: function InitializeSetup(): Boolean; 在安装程序初始化期间调用。返回 False 以中止 Setup,否则返回 True。 procedure InitializeWizard(); 在启动时使用该事件函数来改变向导或 阅读全文
posted @ 2020-08-03 08:20 pengsn 阅读(3156) 评论(0) 推荐(0) 编辑
摘要: 简述 众所周知,线上如果出现事故我们通常需要通过日志文件来分析并定位问题/修复问题. 在nginx中日志分为两种: access_log : 访问日志,查看请求用户IP,浏览器信息及请求时间等信息; error_log : 查看线上出错的具体信息; 日志配置指令 access_log log_for 阅读全文
posted @ 2020-07-30 10:00 pengsn 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 文件格式 如何过滤一下IP地址,并去重 ip - 时间 - 内容 ip2 -时间 - 内容 ip3 -时间 - 内容 ip4 -时间 - 内容 ip5 -时间 - 内容 ... code cat access.log |awk -F '-' '{print $1}'|sort|uniq 释义 cat 阅读全文
posted @ 2020-07-30 08:50 pengsn 阅读(2279) 评论(0) 推荐(0) 编辑
摘要: 初始化窗口 1. 隐藏默认 WizardForm.OuterNotebook.hide; // 隐藏默认的导向内容 WizardForm.Bevel.hide; // 隐藏分隔线 WizardForm.BorderStyle:=bsnone; // 边界隐藏 2. 设置窗口大小 WizardForm 阅读全文
posted @ 2020-07-29 15:08 pengsn 阅读(2591) 评论(2) 推荐(0) 编辑
摘要: 简述 核心的指令释义 pid 将nginx进程的pid写入文件nginx.pid pid file; pid logs/nginx.pid Context main error_log 配置日志文件,及级别 Syntax: error_log file [level]; Default: error 阅读全文
posted @ 2020-07-29 11:40 pengsn 阅读(205) 评论(0) 推荐(0) 编辑
摘要: $ancient_browser 如果浏览器被识别为旧式浏览器,该值等于 ancient_browser_value 的值 $arg_{name} 请求中某个参数值 $args 请求url里的参数 $binary_remote_addr (ngx_http_core_module,ngx_strea 阅读全文
posted @ 2020-07-25 17:34 pengsn 阅读(1221) 评论(0) 推荐(1) 编辑
摘要: 简述 在Inno Setup安装程序中,如何添加条件语句到[Run]? Code 检查注册表某个键值是否存在,存在返回false;不存在返回true [Code] function CheckClient: Boolean; var resultstr: string; var success:bo 阅读全文
posted @ 2020-07-25 17:24 pengsn 阅读(1243) 评论(0) 推荐(0) 编辑
摘要: nginx支持以下命令行参数: -?| -h - 打印命令行参数的帮助。 -c file - 使用替代配置file而不是默认文件。 -g directives- 设置全局配置指令,例如,nginx -g“pid /var/run/nginx.pid; worker_processes sysctl 阅读全文
posted @ 2020-07-24 16:12 pengsn 阅读(696) 评论(0) 推荐(0) 编辑
摘要: 大小符号 g, G GB m, M MB k, K KB 时间符号 ms milliseconds s seconds m minutes h hours d days w weeks M months, 30 days y years, 365 days 阅读全文
posted @ 2020-07-24 16:09 pengsn 阅读(237) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1938716/202007/1938716-20200724160045665-753402781.png) 阅读全文
posted @ 2020-07-24 16:01 pengsn 阅读(163) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1938716/202007/1938716-20200724151927615-1426530166.png) 阅读全文
posted @ 2020-07-24 15:20 pengsn 阅读(88) 评论(0) 推荐(0) 编辑
摘要: nginx配置结构 配置文件位置: /conf/nginx.conf Part-01 [Main] #user root nobody;// 指定启动用户 #worker_processes 1; // cpu核心数 #worker_cpu_affinity // 指定cpu核心 0010 even 阅读全文
posted @ 2020-07-24 15:12 pengsn 阅读(220) 评论(0) 推荐(0) 编辑
摘要: windows下目录结构 `` linux下目录结构 阅读全文
posted @ 2020-07-24 15:05 pengsn 阅读(224) 评论(0) 推荐(0) 编辑
摘要: nginx官网 http://nginx.org linux下安装nginx 安装包下载路径 http://nginx.org/en/download.html 选择nginx linux版下载 nginx-1.16.1.tar.gz 解压到当前目录,解压命令: tar -zxvf nginx-1. 阅读全文
posted @ 2020-07-24 14:52 pengsn 阅读(198) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页