安装apache on Unix
2012-08-07 19:48
330 查看
./configure --prefix=/home/julio/apache/httpd-2.4.2/srclib/apr
make
make install
./configure --prefix=/home/julio/apache/httpd-2.4.2/srclib/apr-util/ --with-apr=/home/julio/apache/httpd-2.4.2/srclib/apr
make
make install
./configure --prefix=/home/julio/apache/pcre-8.31/
make
make install
./configure --prefix=/home/julio/apache/httpd-2.4.2/ --with-apr=/home/julio/apache/httpd-2.4.2/srclib/apr/ --with-included-apr --with-apr-util=/home/julio/apache/httpd-2.4.2/srclib/apr-util --with-pcre=/home/julio/apache/pcre-8.31 --enable-file-cache --enable-cache
--enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so --enable-ssl
make
make install
IMPORTANT:
don't forget to change the default port from 80 to something else e.g. 8080, this is especially important for non-root user. (How to? open httpd.conf -> search "Listen 80" -> change it to "Listen 8080".
Deleting # and changing SREVERNAME accordingly.
Stop service
apachectl
-k stop
Restart service
apachectl -k restart
make
make install
./configure --prefix=/home/julio/apache/httpd-2.4.2/srclib/apr-util/ --with-apr=/home/julio/apache/httpd-2.4.2/srclib/apr
make
make install
./configure --prefix=/home/julio/apache/pcre-8.31/
make
make install
./configure --prefix=/home/julio/apache/httpd-2.4.2/ --with-apr=/home/julio/apache/httpd-2.4.2/srclib/apr/ --with-included-apr --with-apr-util=/home/julio/apache/httpd-2.4.2/srclib/apr-util --with-pcre=/home/julio/apache/pcre-8.31 --enable-file-cache --enable-cache
--enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so --enable-ssl
make
make install
IMPORTANT:
don't forget to change the default port from 80 to something else e.g. 8080, this is especially important for non-root user. (How to? open httpd.conf -> search "Listen 80" -> change it to "Listen 8080".
Deleting # and changing SREVERNAME accordingly.
Stop service
apachectl
-k stop
Restart service
apachectl -k restart
相关文章推荐
- 源码安装apache后启动报错 1.现象 安装apache时,在安装完后去启动报错如下。 httpd: Syntax error on line 161 of /etc/ht
- CentOS7.0下安装Apache2.4.20版本,安装完成之后,报 You don't have permission to access / on this server.
- 在UNIX下详细的安装 PHP 的 apache 模块方式
- Unix下Apache HTTP编译及安装
- Tuning Apache and PHP for Speed on Unix
- Spotlight on Unix 监控Linux服务器的安装与使用
- Windows 安装Apache2.2和Mongrel运行Ruby on Rails
- linux,Unix 系统下 Apache 2.x 安装php5.5
- Apache Tez 安装, Tez On Yarn
- PHP5.6在Unix 系统下的 Apache 2.x 下的安装
- Unix 下PHP服务器Apache的安装
- Unix下apache的安装
- Tuning Apache and PHP for Speed on Unix
- 安装Apache,MySql,PHP on Ubuntu 备忘
- CentOS7.0下安装Apache2.4.20版本,安装完成之后,报 You don't have permission to access / on this server.
- 安装apache_2.2.4时选择only for the Current User, on 8080, when started Manually
- Solaris(Unix)操作系统下Apache Http Server安装
- idea中tomcat安装出错: D:\tomcat\apache-tomcat-7.0.57\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a
- 基于“Apache 2.0 + Servletexec 5”环境的 ArcIMS 9.2安装过程
- PHP环境搭建:Windows 7下安装配置PHP+Apache+Mysql环境教程