【系统版本】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

相关文章:

  • 2022-12-23
  • 2021-10-26
  • 2021-07-21
  • 2021-06-09
  • 2021-08-08
  • 2021-10-14
猜你喜欢
  • 2021-11-12
  • 2021-10-08
  • 2021-06-27
  • 2021-05-23
  • 2022-02-02
  • 2022-02-23
  • 2022-12-23
相关资源
相似解决方案