CentOS6.2: Installing apache webserver

I really like Debian based linux, and I really prefer apt to yum. Searching packages from apt is easier than from yum in my humble opinion. CentOS rename the package the same as RedHat I supposed, apache cannot be found from yum list. A search with yum search apache revealed that the package is named httpd.i686.

yum install httpd.i686 -y

To start apache use /etc/init.d/httpd start

Use chkconfig | grep httpd to check if httpd is running on different run level.

Use ps -ef | grep httpd to check if httpd process is available.

To configure apache webserver edit the file /etc/httpd/conf/httpd.conf

Advertisements
This entry was posted in Linux, System OS and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s