mkdir /opt/httpd/
useradd -r --create-home httpd
passwd httpdJ # password:123456
# sign in the linux system using the httpd account
cd /share
wget http://mirror.bjtu.edu.cn/apache//httpd/httpd-2.2.17.tar.gz
tar --extract --verbose --gzip --file=httpd-2.2.17.tar.gz --directory=.
cd httpd-2.2.17
./configure --prefix=/opt/httpd/
make
make install
cd /opt/httpd/bin/
# test if the software installed successful
./apachectl -k start
install apache-httpd on linux
最新推荐文章于 2024-09-04 18:45:20 发布