标签:
第二部分、apache的安装
615 tar zxvf httpd-2.2.9.tar.gz
616 cd httpd-2.2.9
617 ./configure --prefix=/usr/local/apache2/ --sysconfdir=/usr/local/apache2/etc/ --with-included-apr --enable-so --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared
618 make
619 make install
遇到那个错误,重新编译zlib
----------
606 tar zxvf zlib-1.2.3.tar.gz
607 cd zlib-1.2.3
608 CFLAGS="-O3 -fPIC" ./configure
609 make
610 make install
第三部分、php的安装
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local/libxml2
make
make install
安装php需要这个libxml2
477 tar zxvf libxml2-2.6.32.tar.gz
478 cd libxml2-2.6.32
479 ./configure --prefix=/usr/local/libxml2
480 make
481 make install
用户名和密码 ,apache权限访问,添加
/usr/local/apache2/bin/htpasswd -c /usr/local/nagios/etc/htpasswd ixdba
标签:
原文地址:http://www.cnblogs.com/bluewelkin/p/4323425.html