首页 > 代码库 > suse安装apache

suse安装apache

所需安装包httpd-2.2.9.tar.gz、tomcat-connectors-1.2.31-src.tar.gz、zlib-1.2.11.tar.gz

先安装依赖包zlib

tar zxvf zlib-1.2.11.tar.gz

cd zlib-1.2.11

./configure

make

make install


安装apache     ###安装路径/usr/grmcadm3/apache2

tar zxvf httpd-2.2.9.tar.gz

cd httpd-2.2.9

./configure --prefix=/usr/grmcadm3/apache2 --enable-so --enable-mods-shared=most --enable-deflate --enable-expires --enable-headers

make

make install

端口修改配置文件/usr/grmcadm3/apache2/conf/httpd.conf

启动apache

/usr/grmcadm3/apache2/bin/httpd


suse安装apache