比如说 传统的php web程序,不管你是nginx 还是httpd 进来,还是要经过php
进来,然后连mysql ,redis ,mongodb ,不能说你用了nginx 就快了多少。nginx真正牛笔之处在于第三方模块,比如说lua
,本身可以处理httpd的请求,还可以联合其他模块,比如.....
分类:
其他好文 时间:
2014-07-22 23:17:35
阅读次数:
471
环境: 系统:CentOS 6.5 Final
安装目录:/usr/local/nginxNginx开机自启:①编写shell实现控制vi /etc/init.d/nginx添加内容:#!/bin/bash#
nginx Startup script for the Nginx HTTP Ser.....
分类:
其他好文 时间:
2014-04-30 16:34:10
阅读次数:
582
ibatis学习记录--001本实例是JavaWeb项目,使用的是Mysql数据库;所需jar包:ibatis-2.3.0.677.jar;mysql-connector-java-5.1.7-bin.jar;1.基本Java环境搭好后,Eclipse创建JavaWeb项目;导入上述两jar包;2....
分类:
其他好文 时间:
2014-04-30 16:24:41
阅读次数:
553
Mysql常用命令:--在Mysql中,语句的结尾要么使用;要么使用\g或者\G作为结束符。进入Mysql
(---其中Your MySQL connection id is 5表示到当前为止连接到Mysql数据库的次数,Server version:
5.5.37-log Source dist....
分类:
数据库 时间:
2014-04-30 16:13:42
阅读次数:
612
http://alfred-long.iteye.com/blog/1684545一、
安装redis及启用服务1
下载redis客户端http://code.google.com/p/servicestack/wiki/RedisWindowsDownload#Download_32bit_Cyg...
Applies to: Oracle Server - Enterprise Edition
- Version 11.1.0.6 to 11.2.0.4 [Release 11.1 to 11.2]Information in this
document applies to any platfo...
分类:
数据库 时间:
2014-04-30 15:38:17
阅读次数:
624
官方地址:http://fluentdata.codeplex.com/documentationMYSQL:MySQL through theMySQL
Connector .NET driver.连接字符串:Server=127.0.0.1;Database=testDB;Uid=root;Pw...
分类:
数据库 时间:
2014-04-29 17:23:46
阅读次数:
594
之前测试过,在centos下,所有字符集全部设为utf8,可以同时满足命令行和网页的需求。在windows下,由于默认字符集为gbk,所以在命令行操作mysql时,需要设置set
character_set_client = gbk;今天发现,其实是要设置set character_set_resu...
分类:
数据库 时间:
2014-04-29 17:22:46
阅读次数:
630
修改端口、修改默认发布目录、多域名绑定一、修改发布端口号为80(Tomcat默认为8080)
打开配置文件(我的如下:E:\J2EEServer\Tomcat
6.0\conf\server.xml),找到:修改后:其实这里就是把port:8080,修改成port:80就可以了,其他的参数不变。这样...
分类:
Web程序 时间:
2014-04-29 17:17:45
阅读次数:
440
数据库中两个字段相减(某列有空值)处理方法:sql server中:select
(isnull(字段1,0)-isnull(字段2,0)) as 结果 from 表oracle中:select (nvl(字段1,0)-nvl(字段2,0))
as 结果 from 表mysql中:select (i...
分类:
数据库 时间:
2014-04-29 16:42:46
阅读次数:
925