# wget http://www.apache.org/dist/httpd/httpd-2.2.9.tar.gz (此处我是直接用的下载好的包)# tar -zxvf httpd-2.2.9.tar.gz# cd httpd-2.2.9# ./configure --prefix=/usr/lo...
分类:
Web程序 时间:
2015-01-07 06:58:12
阅读次数:
120
ctags
1.下载:http://sourceforge.net/projects/ctags/files/ctags/5.8/ctags-5.8.tar.gz/download
2.编译:./configure -prefix /usr/local/ctags 其中-prefix指定安装目录
make、make install
3.使用:ctags -R ....
分类:
系统相关 时间:
2015-01-06 20:08:03
阅读次数:
262
nagios服务端安装基础套件rpm-qgccglibcglibc-commongdgd-develxinetdopenssl-devel创建用户useradd-rnagiosmkdir/usr/local/nagioschown-Rnagios.nagios/usr/local/nagios安装nagios./configure--prefix=/usr/local/nagiosmakeallmakeinstallmakeinstall-initmakeinstall-comm..
分类:
移动开发 时间:
2015-01-06 15:46:40
阅读次数:
164
题目描述:
Write a function to find the longest common prefix string amongst an array of strings.
代码:
string Solution::longestCommonPrefix(vector &strs)
{
string result = "";
if(strs.size(...
分类:
其他好文 时间:
2015-01-06 12:03:24
阅读次数:
137
Period
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 3336 Accepted Submission(s): 1670
Problem Description
For each prefix of a gi...
分类:
其他好文 时间:
2015-01-05 11:16:11
阅读次数:
143
这一句<%@ taglib prefix="s" uri="/struts-tags" %>就是从地址/struts-tags下面寻找标签库,可能有人会好奇这个地址在哪里呢?答案是它定义在Struts 2库文件struts2-core-2.0.11.jar里面的文件META-INF/struts-t...
分类:
其他好文 时间:
2015-01-04 17:28:11
阅读次数:
182
squid安装:1.下载squid源码安装包wgethttp://www.squid-cache.org/Versions/v3/3.2/squid-3.2.3.tar.gz解压缩tarzxvfsquid-3.2.3.tar.gz进入解压后的目录cdsquid-3.2.3(目录位置依据个人设定而不同)安装[root@localhostsquid-3.2.3]#./configure--prefix=/usr/local/squid--..
分类:
其他好文 时间:
2015-01-04 06:32:28
阅读次数:
241
我们要先配置npm的全局模块的存放路径以及cache的路径,例如我希望将以上两个文件夹放在NodeJS的主目录下,便在NodeJs下建立”node_global”及”node_cache”两个文件夹。如下图cmd 中输入如下命令npm config set prefix “d:\nodejs\nod...
分类:
其他好文 时间:
2015-01-04 01:11:59
阅读次数:
1623
https://oj.leetcode.com/problems/longest-common-prefix/http://fisherlei.blogspot.com/2012/12/leetcode-longest-common-prefix.htmlpublicclassSolution{
publicStringlongestCommonPrefix(String[]strs)
{
//Validations
if(strs==null||strs.length==0)
return"";
if(s..
分类:
其他好文 时间:
2015-01-02 16:13:25
阅读次数:
103
1.将httpd-2.4.10.tar.gz上传到/opt目录 2.tar –zxvf httpd-2.4.10.tar.gz 3.进入httpd-2.4.10目录 3.1 ./configure --prefix=/usr/local/apache2 --enable-cache --enable...
分类:
Web程序 时间:
2015-01-02 01:14:17
阅读次数:
206