Redhat: Apache webserver install

From Define Wiki
Revision as of 12:49, 18 August 2013 by Michael (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Apache Installation

Apache can be installed using yum.

To isntalled Apache using yum.

yum install httpd

However 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 restart

using apache commands

apachectl stop
apachectl start
apachectl graceful