标签存档: install

在centos上安装php5

php5 install on centos: yum install -y httpd-devel libtool-ltdl libtool-ltdl-devel openssl-devel curl-devel  libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libc-client libc-client-devel  gd gd-devel libmcrypt libmcrypt-devel sqlite sqlite-devel mysql-devel libicu libicu-devel pcre-devel postgresql84 postgresql84-libs postgresql84-server postgresql84-devel yum install -y mhash-devel 如果不安装 libtool-ltdl-devel编译时会出错,所以要么安装这个包要么执行以下命令: # …

继续阅读 »

在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 …

继续阅读 »

在ubuntu上编译安装percona

install percona: 添加专门的用户用于安装percona sudo adduser percona 下载percona源码 axel http://www.percona.com/downloads/Percona-Server-5.1/Percona-Server-5.1.55-12.6/source/Percona-Server.tar.gz 安装依赖 sudo apt-get install automake libtool g++ ncurses-dev bison 解压编译 su percona PERCONA_HOME=$(readlink -f ~/percona) tar -xvf Percona-Server.tar.gz cd Percona-Server sh BUILD/autorun.sh 当我打这个命令的时候发现一个这样的问题: BUILD/autorun.sh: 41: aclocal: not found 输入aclocal看看qui是什么,没反映报任何错误,再重新运行”sh BUILD/autorun.sh”居然,又OK了 mkdir $PERCONA_HOME (建立目录用于存放编译后的percona …

继续阅读 »