直接在阿里云上进行配置
然后进入nginx/conf/nginx.conf 中添加
注意是放在server里面
location ~ \.php$ {
root /home/jsckdao/www; #这是你网站的根目录
fastcgi_pass 127.0.0.1:3344; #这里指定了f...
分类:
Web程序 时间:
2014-07-28 16:29:23
阅读次数:
274
【Vertex Lit】 Vertex Lit path generally renders each object in one pass, with lighting from all lights calculated at object vertices. It's the fastes.....
分类:
其他好文 时间:
2014-07-26 17:06:21
阅读次数:
202
上海实验室一路高歌猛进,RS5.0、华为HCIE、SPCCIE这都不是事儿
分类:
其他好文 时间:
2014-07-26 03:07:47
阅读次数:
144
解题报告
对于给定的数组,取对数组中的一段进行翻转,问翻转后是否是递增有序的。
思路:
只要找到最初递减的区域,记录区域内最大和最小的值,和区间位置。
然后把最大值与区间的下一个元素对比,最小值与区间上一个元素对比。
这样还不够,可能会出现两个或两个以上的递减区间,这种情况直接pass,因为只能翻转一次。
#include
#include
#include
#define in...
分类:
其他好文 时间:
2014-07-25 11:17:31
阅读次数:
303
1. 用sys as sysdba方式连接数据库进行exp/imp windows 环境: exp 'sys/password@tnsname as sysdba' file=exp.dmp log=exp.log #注意这里是单引号 unix和linux环境 exp \'sys/pass...
分类:
数据库 时间:
2014-07-25 02:21:14
阅读次数:
485
题目:Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->....
分类:
编程语言 时间:
2014-07-24 09:49:43
阅读次数:
204
【Pass】 The Pass block causes the geometry of an object to be rendered once.[Syntax] Pass{[Name and Tags] [RenderSetup] [TextureSetup]} The basic pa...
分类:
其他好文 时间:
2014-07-23 20:39:35
阅读次数:
224
Two passes: all pointer linking info will be recorded in 1st pass - to hashmap; 2nd pass recover the pointer relationship from hashmap.1A!class Soluti...
分类:
其他好文 时间:
2014-07-23 14:59:26
阅读次数:
209
1.引入pymssql包import pymssql2.建立连接: conn = pymssql.connect(server=conf['db_address'], port="1433",user=conf['db_username'], password=conf['db_pass...
分类:
数据库 时间:
2014-07-22 22:50:12
阅读次数:
339
For the one pass solution... first I tried to build white\blue from red, but not working anyway. Then I referred someone' code, to build red\blue from...
分类:
其他好文 时间:
2014-07-22 22:42:54
阅读次数:
212