Difference between revisions of "Redhat: Apache webserver install"
Jump to navigation
Jump to search
(Created page with "== Apache Installation == Apache can be installed using yum. To isntalled Apache using yum. <syntaxhighlight> yum install httpd </syntaxhighlight> However other packages will be needed. The ea...") |
(No difference)
|
Revision as of 12:49, 18 August 2013
Apache Installation
Apache can be installed using yum.
To isntalled Apache using yum.
yum install httpdHowever other packages will be needed. The easiest way to install all the packages is to use groupinstall
yum groupinstall "Web Server"
Controlling Apache
No Configuration is required. Once Apache is started, point the webbrower to http://localhost and you will see the apache test page.
using init.d
/etc/init.d/httpd start
/etc/init.d/httpd stop
/etc/init.d/httpd restartusing apache commands
apachectl stop
apachectl start
apachectl graceful