01_Linux 安装 httpd-2.2.21 Apache服务

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

参考下载地址

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


你可能感兴趣的:(apache,linux,service,input)