【系统版本】Ubuntu/Linaro 4.6.3-1ubuntu3
【apache版本】apache-httpd-2.2.23
【安装要点】
Overview for the impatient安装要点概览
Download下载 $ lynx http://httpd.apache.org/download.cgi
Extract解压缩 $ gzip -d httpd-NN.tar.gz
$ tar xvf httpd-NN.tar
$ cd httpd-NN
Configure配置 $ ./configure --prefix=PREFIX
Compile编译 $ make
Install安装 $ make install
Customize个性化设置 $ vi PREFIX/conf/httpd.conf
Test测试 $ PREFIX/bin/apachectl -k start
**启动服务器:
cd /usr/local/apache/bin
sudo ./apachctl -k start
打开浏览器,地址栏输入:localhost OR 127.0.0.1
参考资料:
1. linux下安装apache详解 http://www.kuitao8.com/?p=34
2.Apache > HTTP Server > Documentation > Version 2.4 http://httpd.apache.org/docs/2.4/install.html