linux下httpd-2.2.21安装

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

======donwloadhttpd-2.2.21.tar.bz2======

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

tarjxvfhttpd-2.2.21.tar.bz2

cdhttpd-2.2.21

======Installhttpdservice======

./configure

make

sudomakeinstall

======Starthttpdservice======

sudo/usr/local/apache2/bin/httpd-kstart

andinput"http://127.0.0.1"inaddressfield

ifshow"Itworks"ondisplayer,thehttpdserviceinstallsuccess!

======Stophttpdservice======

sudo/usr/local/apache2/bin/httpd-kstop