Check to see if apache is installed:

[root@rhel5 ~]# rpm -q httpd
httpd-2.2.3-7.el5.centos

If not just type “yum install httpd” and when the install is done, start apache:

[root@rhel5 ~]# service httpd start
Starting httpd: [ OK ]

Note: The default document root is “/var/www/html/”.

2 Responses to “Installing Apache on RHEL 5.0 (CentOS)”

  1. Installing NFS, FTP (vsftpd), and Apache on RHEL 5.0 (CentOS) Says:

    […] Installing Apache on RHEL 5.0 (CentOS) Category: Shell […]

  2. hgdomainnames » Blog Archive » Installing Apache on RHEL 5.0 (CentOS) Says:

    […] read more here […]

Leave a Reply

If Wordpress eats your comment (shell output, loops, ex..) email the text to me.