- APACHE
- Packages:
httpd
,httpd-devel
,httpd-manual
- Daemon: /usr/sbin/httpd
- Script:
/etc/init.d/httpd
- Ports: 80(http), 443(https)
- Configuration:
/etc/httpd/*
,/var/www/*
·
Related:system-config-httpd
,mod_ssl
Varify or Install packages with:
# rpm -q httpd
# rpm -ivh httpd-*
# yum install httpd
Use the chkconfig command to configure Apache to start at boot:
# chkconfig httpd on
Use the httpd<code> init script in the <code>/etc/init.d
directory to start,stop, and restart Apache after booting:
# /etc/init.d/httpd start
# /etc/init.d/httpd stop
# /etc/init.d/httpd restart
You can test whether the Apache process is running with
# pgrep httpd
# service httpd status
With the help of this above information my doubts are clear and now i am able to configure http server quickly