APACHE安装与配置
来源:互联网 发布:刺身 寄生虫 知乎 编辑:程序博客网 时间:2024/05/21 18:45
Apache安装
cd /data/software/
wget http://apache.fayea.com//httpd/httpd-2.4.27.tar.gz
tar -zxvf httpd-2.4.27.tar.gz
cd httpd-2.4.27
./configure --enable-so --prefix=/usr/local/httpd --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
make
make install
Apache配置
vi /usr/local/httpd/conf/httpd.conf
修改
Listen 端口号
DocumentRoot 根目录
Apache启动
cd /usr/local/httpd/bin
./apachectl start
错误处理:
错误:configure: error: APR not found. Please read the documentation.
wget http://archive.apache.org/dist/apr/apr-1.5.2.tar.gz
tar -zxvf apr-1.5.2.tar.gz
cd apr-1.5.2
./configure --prefix=/usr/local/apr
make
make install
错误:configure: error: APR-util not found. Please read the documentation.
wget http://archive.apache.org/dist/apr/apr-util-1.5.4.tar.gz
tar -zxvf apr-util-1.5.4.tar.gz
cd apr-util-1.5.4
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make
make install
- Apache安装与配置
- Apache安装与配置
- Apache安装与配置
- apache 安装与配置
- APACHE安装与配置
- SubVersion+Apache安装与配置
- Apache的安装与配置
- Apache Roller安装与配置
- mod_wsgi与apache安装配置
- Apache的安装与配置
- php apache 安装与配置
- Apache与PHP安装配置
- Apache安装与基本配置
- Apache Ant安装与配置
- Apache: Httpd安装与配置
- CentOS Apache安装与配置
- Apache+PHP安装与配置
- Apache Ant安装与配置
- 所学jQuery来自w3cSchool
- Java多线程的总结
- 浅谈使用单元素的枚举类型实现单例模式
- 51Nod-1060-最复杂的数(反素数)
- 文档资料
- APACHE安装与配置
- panel顺序影响到Dock
- 蚂蚁搬新家了,还在办公室搞了个音乐节
- javascript字符串操作
- md5算法加密实现
- STM32 GPIO 入门知识
- ionic2混合app开发系列1-环境搭建和ionic2项目目录介绍
- Spring@Autowired注解与自动装配
- 【剑指offer】代码错误记录