//
you're reading...
Linux, linux server

Apache server installation on CentOS, RedHat Linux


Apache web server referred to as simply Apache is a public-domain open source Web server developed by open community of developers. The application is designed to run on a wide variety of operating systems like Unix, FreeBSD, Linux, Mac OS X, OS/2. Visit http://www.apache.org for more details.

In your terminal, issue the following command (by default, httpd is installed). This will install apache if it was not installed.

Step 1:
[root@user Desktop]# yum install httpd

Step 2: To start apache as a service on boot, issue the following command
[root@user Desktop]# chkconfig –levels 255 httpd on

Step 3: If you want to edit Apache server configuration settings open the httpd.conf (configuration file) to make changes by issuing the following command
[root@user Desktop]# /etc/httpd/conf/httpd.conf

Step 4: Restart apache server if you have made changes to apache server settings in httpd.conf
[root@user Desktop]# /sbin/service httpd restart

Step 5: Visit http://localhost in your web browser and you should be able to see the Apache Test Page

Advertisements

About abdessemed mohamed amine

DZ-SECURITY

Discussion

No comments yet.

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

Facebook

August 2009
S M T W T F S
« Jul   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Twitter

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • 365,631 Visit !
%d bloggers like this: