默认路径 /etc/nginx/nginx.conf
#运行用户
user www-data;
#启动进程,通常设置成和cpu的数量相等
worker_processes 1;
#全局错误日志及PID文件
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
#工作模式及连接数上限
events {
use ...
分类:
其他好文 时间:
2014-11-08 15:18:15
阅读次数:
141
vsftpd: refusing to run with writable root inside chroot() 为了避免一个安全漏洞,从 vsftpd 2.3.5 开始,chroot 目录必须不可写。使用命令: #?chmod?a-w?/home/user...
分类:
其他好文 时间:
2014-11-08 12:10:28
阅读次数:
163
http://baobeituping.iteye.com/blog/8025431.JAVA工程路径结构Project------lib------src------Webroot----WEB-INF-----classes两个文件:run.batsetenv.batrun.bat:@echo ...
分类:
编程语言 时间:
2014-11-08 11:43:29
阅读次数:
247
Q:I can run iPython, but when I try to initiate a notebook I get the following error:~ ipython notebook Traceback (most recent call...
分类:
编程语言 时间:
2014-11-08 02:01:09
阅读次数:
269
1 java基本概念JDK java develop Kit Java开发环境,三种版本J2SE(主要用与桌面和小程序的开发)、J2EE(主要用户企业级的开发)、J2ME(主要用于手持设备的开发)Jre Java run environment Java运行环境,2 java的基本特点 1)简单.....
分类:
编程语言 时间:
2014-11-07 20:32:25
阅读次数:
241
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the...
分类:
其他好文 时间:
2014-11-07 19:10:51
阅读次数:
161
mkdir jre cd jreln -s 你的JDK目录/bin bin例如:ln -s /usr/lib/jvm/jdk1.8.0_25/bin bin原文地址:http://www.cnblogs.com/jerome-rong/archive/2013/02/19/2916608.html
分类:
编程语言 时间:
2014-11-07 18:44:39
阅读次数:
211
Find Minimum in Rotated Sorted Array IIFollow up for "Find Minimum in Rotated Sorted Array": What if duplicates are allowed?Would this affect the run-...
分类:
其他好文 时间:
2014-11-07 16:47:41
阅读次数:
233
前提:xp上安装运行都没错xp的.NET环境是4.0,win8是64位系统。自带.NETFramework3(3.03.5)和.NETFramework4.51:源程序拷贝到win8上运行到Application.Run(form)时出现未处理COMException无效签名的错误2:如果在xp上生...
Widows + R基本上成为很常用的方式,那么通过Windows + R我们可以在运行中做什么手脚呢。下面从最基本的系统命令说起notepad--------打开记事本 services.msc---本地服务设置 regedit-------注册表编辑器 Msconfig.exe---系统配置实....
分类:
其他好文 时间:
2014-11-06 23:26:39
阅读次数:
298