日期:2014-05-16 浏览次数:20805 次
1. tar xzvf zlib-x.x.x.tar.gz 2. cd zlib-x.x.x 3. ./configure 4. make make install
# tar xzvf freetype-x.x.x.tar.gz # cd freetype-x.x.x # ./configure --prefix=/usr/local/modules/freetype # make # make install
1. tar xzvf libpng-x.x.x.tar.gz 2. cd libpng-x.x.x 3. cp scripts/makefile.std makefile 4. make test 5. make install
1. tar xzvf jpegsrc.v8b.tar.gz 2. cd jpeg-6b 3. ./configure --prefix=/usr/local/modules/jpeg8 --enable-shared --enable-static 4. make && make install
1. tar xzvf gd-x.x.xx.tar.gz 2. cd gd-x.x.xx 3. ./configure --prefix=/usr/local/modules/gd --with-jpeg=/usr/local/modules/jpeg8 --with-png --with-zlib --with-freetype=/usr/local/modules/freetype 4. make && make install
# tar -zxvf pcre-x.x.tar.gz # cd pcre-x.x # ./configure # make && make install
tar -zxvf libiconv-1.13.1.tar.gz cd libiconv-1.13.1 ./configure --prefix=/usr/local/libiconv make make install
1. tar -zxvf nginx-x.x.xx.tar.gz 2. cd nginx-x.x.xx 3. ./configure --prefix=/usr/local/nginx 4. make && make install
1. rpm -ivh MySQL-server-4.0.14-0.i386.rpm
1. tar -jxvf php-x.x.x.tar.bz2 2. gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -d php-5.2.17 -p1 3 cd php-x.x.x 4. ./configure --prefix=/usr/local/php --with-gd --with-jpeg-dir=/usr/local/modules/jpeg8 --with-zlib --with-png --with-freetype --enable-magic-quotes --enable-fastcgi --with-mysql=/local/server/mysql/ --enable-track-vars --enable-ftp --with-config-file-path=/usr/local/php/etc --with-zip --enable-force-cgi-redirect --with-iconv=/usr/local/libiconv --enable-fpm 5. make && make install 6. cp php.ini-recommended /usr/local/php/etc/php.ini
1. /usr/local/nginx/sbin/nginx
1. kill -QUIT `cat /usr/local/nginx/logs/nginx.pid`
1. kill -HUP `cat /usr/local/nginx/logs/nginx.pid`
1. echo "/usr/local/nginx/sbin/nginx">>/etc/rc.local