Home > Apache > How to install apache on CentOS Server

How to install apache on CentOS Server

Apache Installation

 

The below command will check whether apache packages are available on the server or not. It will show the listing if it is available on the server.

yum list httpd*

If packages are available then run the below command to install apache packages.

yum install httpd*

Now configure your system to start Apache at boot time…

chkconfig –levels 235 httpd on
Once done then restart the apache service.

/etc/init.d/httpd start
Categories: Apache Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.