shine_cn

Your heart is free, so have the courage to follow it.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年12月16日

摘要: 显示使用线程池Executors,必须执行 pool.shutdown() 否则会存在线程池泄露; http://stackoverflow.com/questions/22650569/spring-webapp-shutting-down-threads-on-application-stop 阅读全文

posted @ 2016-12-16 17:16 shine_cn 阅读(224) 评论(0) 推荐(0) 编辑

摘要: Nginx 安装 一、首先要安装 PCRE PCRE 作用是让 Ngnix 支持 Rewrite 功能。 1、下载 PCRE 安装包,下载地址: http://downloads.sourceforge.net/project/pcre/pcre/8.35/pcre-8.35.tar.gz 2、解压 阅读全文

posted @ 2016-12-16 11:37 shine_cn 阅读(235) 评论(0) 推荐(0) 编辑

摘要: 备注:如果没有root权限,使用 --prefix 指定安装路径 ./configure --prefix=/home/work/tools/pcre-8.xx 最近在学习nginx,nginx rewrite依赖于PCRE库,所以需要在linux系统中编译安装PCRE库。具体步骤如下: 1.下载P 阅读全文

posted @ 2016-12-16 11:32 shine_cn 阅读(1674) 评论(0) 推荐(0) 编辑