当前位置:  首页  >  服务器技术  >  Linux/unix  >  Linux教程

Linux安装httpd-2.2.21Apache服务

Linux安装httpd-2.2.21Apache服务过程笔记:donwloadhttpd-2.2.21.tar.bz2httpd-2.2.21.tar.bz2ForLinux下载地址:http:www.linuxidc.comLinux2011-1044566.htmtarjxvfhttpd-2.2.21.tar.bz2cdhttpd-2.2.21Installht

Linux 安装 httpd-2.2.21 Apache服务过程笔记:

====== donwload httpd-2.2.21.tar.bz2 ======

httpd-2.2.21.tar.bz2 For Linux下载地址: http://www.linuxidc.com/Linux/2011-10/44566.htm

tar jxvf httpd-2.2.21.tar.bz2
cd httpd-2.2.21

====== Install httpd service ======
./configure
make
sudo make install

====== Start httpd service ======
sudo /usr/local/apache2/bin/httpd -k start

and input "http://127.0.0.1" in address field
if show "It works" on displayer, the httpd service install success!

====== Stop httpd service ======
sudo /usr/local/apache2/bin/httpd -k stop

吐了个 "CAO" !
扫码关注 PHP1 官方微信号
PHP1.CN | 中国最专业的PHP中文社区 | 凯发国际娱乐 | 凯发国际娱乐下载 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | PHP问答
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved PHP1.CN 第一PHP社区 版权所有