Nginx的安装tar-zxvfpcre-8.30.tar.gzcdpcre-8.30ntpdatetime.windows.com./configuremakemakeinstallgroupaddwwwuseraddwww-gwwwyuminstall-yopenssl-develtar-zxvfnginx-1.2.0.tar.gz./configure--prefix=/usr/local/nginx--user=www--group=www--with-http_stub_status_modu..
分类:
Web程序 时间:
2014-12-15 22:05:15
阅读次数:
461
Write a function to find the longest common prefix string amongst an array of strings.
#include
#include
#include
char *longestCommonPrefix(char *strs[],int n)
{
int i,j,k;
char *res=(...
分类:
其他好文 时间:
2014-12-15 20:24:22
阅读次数:
174
搭建Nginx图片服务器Part-I 安装Nginx安装PCRE下载 ngx_cache_purge 并解压,用来清除缓存下载Nginx并解压cd nginx-1.7.7编译,--prefix使用默认值,则nginx安装在/usr/local/nginx./configure --user=w...
分类:
其他好文 时间:
2014-12-15 18:56:37
阅读次数:
622
转自同功BBS拆表存取kvprefix = $prefix; if(!isset(self::$_mongodb)){ $server = defined('MONGODB_SERVER_CONFIG')?MONGODB_SERVER_CONFIG:"mongod...
分类:
数据库 时间:
2014-12-15 15:16:01
阅读次数:
506
/*1.字符串以prefix开始*/
StringUtils.startsWith("sssdf","");//结果是:true
StringUtils.startsWith("sssdf","");//结果是:true
StringUtils.startsWith("sssdf","s");//结果是:true
StringUtils.startsWith("sssdf","ss");//结果是:true
StringUtils.startsWith("sssdf..
分类:
其他好文 时间:
2014-12-15 13:51:30
阅读次数:
117
DescriptionFor each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whe...
分类:
其他好文 时间:
2014-12-14 21:15:07
阅读次数:
164
详细配置过程不再叙说。出现的问题:./configure--prefix=/usr/local/apache命令后,出现编译错误提示。如果没有安装gcc,先用yum-yinstallgcc命令安装gcc。如果出现yum被锁定的提示等待占用的程序自己停止.......
分类:
Web程序 时间:
2014-12-14 18:46:40
阅读次数:
202
1、先自己添加.pch文件(右击new file)2、最重要的一步,如何让工程识别! 在Build settings里搜索Prefix Header,第一个箭头选择yes,第二箭头把你的pch的路径填上去即可,这里我们不能把路径写死,要$(PROJECT_DIR)/+(这里后面填写pch在工程的路....
分类:
其他好文 时间:
2014-12-14 11:56:22
阅读次数:
110
今天用centos6.5安装PHP,遇到了一些问题;之前在另外一个版本安装都很顺利,我怀疑系统版本有问题;[root@wiki2014php-5.2.13]#./configure--prefix=/usr/local/php5--with-apxs2=/usr/local/apache2/bin/apxs--with-mysql=/usr/local/mysql/--with-mysqli=/usr/local/mysql/b..
分类:
Web程序 时间:
2014-12-14 07:20:03
阅读次数:
210
pythoncentos自带的版本是2.6.6,有些库不支持,决定编译安装python2.7编译后,发现退格键不能用,查了半天发现是readline库没有安装,需要手动编译yum-yinstallreadlinereadline-devel*重新编译python./configure--prefix=/opt/python/--with-readlinemake&&makeinsta..
分类:
编程语言 时间:
2014-12-14 07:19:38
阅读次数:
563