Install Apache 2.4.2 on Ubuntu 12.04 LTS
来源:互联网 发布:linux开机不启动防火墙 编辑:程序博客网 时间:2024/04/29 12:24
sudo apt-get install build-essential
sudo apt-get build-dep apache2
wget http://apache.mirrors.pair.com/httpd/httpd-2.4.2.tar.gz
tar -xzvf httpd-2.4.2.tar.gz && cd httpd-2.4.2
sudo ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-deflate --enable-proxy --enable-proxy-balancer --enable-proxy-http --with-mpm=prefork
sudo make
sudo make install
sudo /usr/local/apache2/bin/apachectl start
Problem:
lpadmin@ken$ cat /usr/local/apache2/logs/error_log
[Wed Aug 15 19:24:46.186485 2012] [proxy_balancer:emerg] [pid 5480] AH01177: Failed to lookup provider 'shm' for 'slotme m': is mod_slotmem_shm loaded??
[Wed Aug 15 19:24:46.186575 2012] [:emerg] [pid 5480] AH00020: Configuration Failed, exiting
Solution:
Uncomment 'LoadModule slotmem_shm_module modules/mod_slotmem_shm.so' from the httpd.conf
- Install Apache 2.4.2 on Ubuntu 12.04 LTS
- Install Ruby on Rails on Ubuntu 12.04 LTS
- Install Atheros AR8161 Gigabit Ethernet Driver on Ubuntu 12.04LTS
- How to install OpenERP 7.0 on Ubuntu 12.04 LTS
- Install CUDA 6.5 on Ubuntu 14.04 LTS
- Install CUDA 6.0 on Ubuntu 14.04 LTS
- Install Nginx on Ubuntu 14.04 LTS
- Install Opencv2.4.9 on Ubuntu 16.04 LTS
- Install InfluxDB on Ubuntu 16.04 LTS
- Install Grafana on Ubuntu 16.04 LTS
- docker install on ubuntu 16.04LTS
- Ubuntu 12.04 Precise LTS: Install ModSecurity for Apache 2 web server
- install apache hadoop on ubuntu
- How to Install Ruby on Rails on Ubuntu 12.04 LTS (Precise Pangolin) with RVM
- How to install Aptana Studio 3 on Ubuntu 12.04 LTS (Precise Pangolin)
- 看看一个小时能Install CUDA 5 on Ubuntu 12.04 LTS
- How to install/setup latest version of PHP 5.5 on Ubuntu 12.04 LTS (Precise Pangolin)
- Install Ubuntu 10.04 LTS on a USB Flash Memory
- POJ 2777 Count Color(线段树#1)
- c++ Builder 关于文件和目录的操作
- js常用函数
- 常用js大全
- 判断字符串中每个字符出现的次数
- Install Apache 2.4.2 on Ubuntu 12.04 LTS
- 抓取网页的本地数据存储
- JavaScript实现BASE62编码与解码
- sqlite备忘
- Objective C 组合模式
- Hibernate Oracle 11g 无法自动生成表
- reltool使用入门
- 优先队列
- 弹出窗口大全