作为Linux下的程序开发人员,一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了. 在本文中,将介绍如何使用autoconf和automake两个工具来帮助...
分类:
系统相关 时间:
2015-08-03 06:27:00
阅读次数:
174
安装nginx./configure --prefix=/data/nginx --with-http_ssl_modulemake && sudo make installsudo chown root /data/nginx/sbin/nginxsudo chmod u+s /data/ngin...
分类:
Web程序 时间:
2015-08-02 23:07:36
阅读次数:
169
Problem DescriptionThere is an integeraandnintegersb1,…,bn. After selecting some numbers fromb1,…,bnin any order, sayc1,…,cr, we want to make sure tha...
分类:
其他好文 时间:
2015-08-02 20:03:48
阅读次数:
90
安装mysql:1.yum#wgethttp://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm从mysql官网上下载mysql的repo#yum-yinstallmysql-server2.二进制源码包#tar-xfmysql-xxx.tar.bz2#cdmysql-xxx#make&&makeinstall3.源码编译安装参见lamp中mysql的安装。mysql..
分类:
数据库 时间:
2015-08-02 18:30:13
阅读次数:
259
紧接上篇? 6,安装nginx 1)安装 Nginx的rewrite模块支持包pcre库 tar zxvf pcre-8.36.tar.gz cd pcre-8.36/ ./configure make && make install cd ../ ln -s /lib64/libpcre.so.0.0.1 /lib64/libpcre.so.1 2)安...
分类:
其他好文 时间:
2015-08-01 23:42:23
阅读次数:
354
关于phpize是干嘛用的,可以参看php官方文档:
前几日想安装memcache的时候,需要为php安装memcache扩展,按照网上教程的步骤一步步执行时却报了如下错误:
Cannot find config.m4.
Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of...
分类:
Web程序 时间:
2015-08-01 23:35:11
阅读次数:
226
AsyncQueryHandler A helper class to help make handling asynchronous ContentResolver queries easier. 一个助手类来帮助简化处理异步ContentResolver查询。 AsyncQueryHandler...
分类:
其他好文 时间:
2015-08-01 21:53:18
阅读次数:
219
#1.wget
#tarzxvfredis-2.8.19.tar.gz
#cdredis-2.8.19/src/
#viMakefile
PREFIX?=/opt/etc/redis
#make&&makeinstall
#redis_6309.conf
daemonizeyes
pidfile/var/run/redis_6309.pid
port6309
tcp-backlog10240
timeout600
tcp-keepalive60
loglevelnotice
logfil..
分类:
其他好文 时间:
2015-08-01 19:16:51
阅读次数:
268
#wget
#tarxvfzautoconf-2.69.tar.gz
#cdautoconf-2.69
#./configure&&make&&makeinstall
#
#twemproxy安装和配置(2台twemproxy都这样配置)
#wget
#mvv0.4.0twemproxy.tar.gz
#tarxvfztwemproxy.tar.gz
#cdtwemproxy-0.4.0/
#~/autoconf-2.69/bin/autoreconf..
分类:
数据库 时间:
2015-08-01 19:13:44
阅读次数:
623
Foundation1.NSRange NSRange是常用的结构体。NSRange(location,length) location表示的是位置,length表示的是长度范围。用make方法创建常用的结构体。 #import int main(int argc, const char * ar....
分类:
其他好文 时间:
2015-08-01 18:35:29
阅读次数:
144