1.先安装PCRE库(转注:nginx rewrite依赖该库)可以在这里下载最新版,我这里使用的是8.33的版本然后在终端执行下面的命令。cd ~/Downloadtar xvzf pcre-8.33.tar.gzcd pcre-8.12sudo ./configure --prefix=/usr...
分类:
系统相关 时间:
2014-11-12 14:58:16
阅读次数:
242
1,关于编译Apache 其实在安装apache的时候最好把常用的模块都编译进去,这样也省得后期再去添加 常用的编译项: ./configure? --prefix=<path>? --enable-mods-shared=all? --enable-so? --enable-rewrite 下...
分类:
Web程序 时间:
2014-11-12 13:53:01
阅读次数:
180
一.windows下编译配置执行lighttpd1、下载并安装cygwin。2、下载lighttpd源码并解压3、在cygwin环境下进入lighttpd的解压文件夹后,执行:1> ./configure –prefix=C:/lighthttd2> make3> make installOK,此时...
分类:
数据库 时间:
2014-11-12 10:28:05
阅读次数:
239
String
Problem Description
Recently, lxhgww received a task : to generate strings contain '0's and '1's only, in which '0' appears exactly m times, '1' appears exactly n times. Also, any prefix ...
分类:
其他好文 时间:
2014-11-11 21:10:17
阅读次数:
520
1、安装prce解决依赖关系#yum-yinstallpcre-devel2、编译安装apr-1.5.1:#./configure--prefix=/usr/local/apr#make&&makeinstall3、编译安装apr-util-1.5.4#./configure--prefix=/usr/local/apr-util--with-apr=/usr/local/apr/#make&&makeinstall4、编译安装..
分类:
Web程序 时间:
2014-11-11 02:09:10
阅读次数:
252
编译参数 configure -confirm-license -opensource -developer-build -static -prefix D:\libraries\Qt5.3.1s -mp -platform win32-msvc2013 -opengl desktop -no-an...
分类:
其他好文 时间:
2014-11-10 19:54:41
阅读次数:
311
Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings. 1 public class Solution { 2 public Str...
分类:
其他好文 时间:
2014-11-10 19:53:49
阅读次数:
228
下载ibus-googlepinyin-0.1.2.tar.bz2和libgooglepinyin-0.1.2.tar.bz2切换到root权限sudosocdlibgooglepinyin-0.1.2mkdirbuildcdbuildcmake..-DCMAKE_INSTALL_PREFIX=/usrmakemakeinstall编译libgooglepinyin结束后编译ibus-googlepinyincdibus-googlepinyin-0.1.2mkdirbuildc..
分类:
其他好文 时间:
2014-11-10 15:51:40
阅读次数:
172
函数名称:加前缀函数—addprefix。函数功能:为“NAMES…”中的每个文件名称加入?前缀“PREFIX”。參数“NAMES…”是空格切割的文件名称序列,将“SUFFIX”加入?到此序列的每个文件名称之前。返回值:以单空格切割的加入?了前缀“PREFIX”的文件名称序列。函数说明:演示样例:$...
分类:
其他好文 时间:
2014-11-09 22:11:10
阅读次数:
204
Period
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 13584
Accepted: 6396
Description
For each prefix of a given string S with N characters (each chara...
分类:
其他好文 时间:
2014-11-09 18:11:23
阅读次数:
244