SUSE 安装Apache httpd-2.2.17
在SUSE中安装Apache服务器httpd.安装如下:
前提条件:需要提前安装好gcc,gcc-c++,make等等工具,当然一般的系统都有安装。
1.下载httpd
命令如下:
wget http://archive.apache.org/dist/httpd/httpd-2.2.17.tar.gz??
2.解压文件:
tar xvf? httpd-2.2.17.tar.gz??
? cd httpd-2.2.17
3.设置环境变量:
./configure –prefix=/usr/local/httpd
4.编译安装
make && make install
?
?
?
升级方法:
#cd /usr/local/apache
#tar xvf /tmp/httpd-2.0.59.tar.gz
#cd httpd-2.0.59
#../httpd-2.0.17/build/config.nice
#make