月度存档: 七月 2011

在centos上编译安装nginx

install nginx on centos: sudo yum -y install pcre pcre-devel download the src code NGINX_HOME=/opt/nginx sudo mkdir $NGINX_HOME sudo chown $(id -u) $NGINX_HOME -R ./configure –prefix=$NGINX_HOME Configuration summary   + using system PCRE library   + OpenSSL library is not …

继续阅读 »

在centos上创建svn服务

创建svn服务on centos: vi /etc/xinetd.d/svnserve service svnserve { disable = no port     = 3690 socket_type      = stream protocol         = tcp wait     = no user     = lint server   = …

继续阅读 »

在ubuntu上安装mongodb & nodejs

mongodb & nodejs: 安装mongdb: apt-get安装: do apt-get install mongodb-server axel -n 30 http://downloads.mongodb.org/linux/mongodb-linux-x86_64-1.6.4.tgz sudo adduser mongodb sudo mkdir /var/lib/mongodb sudo mkdir /var/log/mongodb chown mongdb /var/lib/mongodb 安装依赖: sudo apt-get -y install tcsh git-core scons g++ sudo apt-get -y install libpcre++-dev libboost-dev libreadline-dev …

继续阅读 »