安装环境:centos 6.5 64位
安装步骤:
1.openssl
wget http://www.openssl.org/source/openssl-1.0.1i.tar.g
ztar zxvf openssl-1.0.1i.tar.gz
cd openssl-1.0.1i
./config shared --prefix=/usr/local --openssldir=/usr/ssl
make&&make install
2.cmake
wget http://www.cmake.org/files/v3.0/cmake-3.0.1.tar.gz
tar xzvf cmake-3.0.1.tar.gz
cd cmake-3.0.1
./bootstrap --prefix=/usr/local
make&&make install
3.libevent
wget http://cloud.github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar zxvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure --prefix=/usr/local
make&&make install
4.libjpeg-turbo未安装,libjpeg, giflib and libpng使用系统自带的
5.webp
wget http://downloads.webmproject.org/releases/webp/libwebp-0.4.1.tar.gz
tar zxvf libwebp-0.4.1.tar.gz
cd libwebp-0.4.1
./configuremake
sudo make install
6.imagemagick
wget http://www.imagemagick.org/download/ImageMagick.tar.gz
tar zxvf ImageMagick.tar.gz
cd ImageMagick-6.9.1-10
./configure --prefix=/usr/local
make&&make install
7.libmemcached
yum install libmemcached-devel
8.zimg
git clone https://github.com/buaazp/zimg -b master --depth=1
cd zimg
make
作者:javaking
链接:http://www.jianshu.com/p/e33a08db857e
來源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。