##定义nginx运行的用户各用户组user nginx nginx;##nginx进程数,建议设置与cpu核心数一致worker_processes 1;##全局错误日志定义类型[ debug | info | notice | warn | error | crit ]#error_log lo...
分类:
其他好文 时间:
2014-09-24 19:08:07
阅读次数:
197
vim /etc/nginx/nginx.conf#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log i...
分类:
其他好文 时间:
2014-09-24 15:47:36
阅读次数:
200
Struts2的标签用法和示例1)s:property标签:property 标签用来输出一个值栈属性的值 示例: 输出 Action 属性 customerId 的值: 输出 session 属性 userName 的值: notice:如果 value 属性没...
分类:
其他好文 时间:
2014-09-24 12:56:36
阅读次数:
159
第三十四题The following is a piece of C code, whose intention was to print a minus sign 20 times. But you can notice that, it doesn't work. #include in...
分类:
其他好文 时间:
2014-09-24 00:21:05
阅读次数:
336
#定义Nginx运行的用户和用户组userwwwwww;用户<yonghuzu>#nginx进程数,建议设置为等于CPU总核心数。worker_processes8;#全局错误日志定义类型,[debug|info|notice|warn|error|crit]error_logar/loginx/error.loginfo;#进程文件pidar/runinx.pid;#一个nginx进程打开的最..
分类:
其他好文 时间:
2014-09-23 11:35:15
阅读次数:
227
iptables 日志LOG target 这个功能是通过内核的日志工具完成的(rsyslogd)LOG现有5个选项--log-level debug,info,notice,warning,warn,err,error,crit,alert,emerg,panic err和error,warn.....
分类:
其他好文 时间:
2014-09-17 18:25:42
阅读次数:
201
mysql_config_editor出现在mysql5.6.6以后的版本,可以给指定的连接和密码生成一个加密文件.mylogin.cnf,默认位于当前用户家目录下。通过该文件可以使用mysql、mysqladmin等直接登录,避免明文密码出现在脚本中。notice:使用该特性要求当前主机的mysq...
分类:
数据库 时间:
2014-09-15 15:44:49
阅读次数:
257
数据库迁移,其中有个数据量较大的表的索引,在迁移的时候出现,同步超时的情况Notice 2014-08-05 15:14:54.856107 14240 3892311808 Poster: Operation ODR_DDL on table "CMUSER"."TBL_CM_PACKAGEPUS...
分类:
其他好文 时间:
2014-09-11 11:04:21
阅读次数:
340
在render中,即使有:action,那么也仅仅是取对应的view中的模板(html.erb)而已,所以这里即使浏览器中的url是/orders/xcreate,但是显示的界面是/app/views/orders/xshow的代码 def xcreate flash.now[:notice...
分类:
其他好文 时间:
2014-09-10 17:15:30
阅读次数:
186
转载自http://zhenghaoju700.blog.163.com/blog/static/13585951820116782843994/先安装一个PostgreSQL(见补充知识)比较Oracle PL/SQLPL/SQL 中有dbms_output.put_line("This is a...
分类:
数据库 时间:
2014-09-07 12:16:55
阅读次数:
317