Professional Documents
Culture Documents
3 /
Scientific Linux 6.3 / RHEL 6.3
March 5, 2013
~ Senthilkumar P
In this how-to tutorial Ill show you how to install Apache and host
a sample website using Apache.
Scenario
In this how-to tutorial, my test scenario setup are as follows
Webserver Details:
OperatingSystem:CentOS6.332bitserver
Hostname:web.ostechnix.com
IPAddress:192.168.1.250
Client Details:
OperatingSystem:CentOS6.332bitDesktop
Hostname:client.ostechnix.com
IPAddress:192.168.1.251
::1localhostlocalhost.localdomainlocalhost6
localhost6.localdomain6
192.168.1.250web.ostechnix.com
192.168.1.250www.ostechnix.com
3. Install Apache
or
[root@web~]#yumlistinstalled|grephttpd
4. Configure Apache
[root@web~]#vi/etc/httpd/conf/httpd.conf
## line no 262 - Set the server admin mail id which is used to receive
mail generated by apache ##
ServerAdminroot@ostechnix.com
## line no 276 - Set the website name ##
ServerNamewww.ostechnix.com:80
## line no 292 - Set the web pages folder ##
DocumentRoot"/var/www/html"
Rate this:
2 Votes
Share this:
Facebook5
Twitter1
LinkedIn3
Digg
StumbleUpon
Google+
Senthilkumar P
This entry was posted in CentOS, Linux, RHEL, Scientific Linux and
tagged Apache, Webserver. Bookmark the permalink.
Post navigation
Setup Mail Server using Postfix, Dovecot and SquirrelMail in
CentOS/RHEL/Scientific Linux 6.3 step by step
FF Multi Converter An awesome multi converter for Audio/Video,
Images and Documents
6 thoughts on Install
Apache Webserver
in CentOS 6.3 / Scientific Linux
6.3 / RHEL 6.3
1.
Ziko
May 11, 2013 at 1:05 pm
Thank You Guys!
Reply
2.
Rob
May 29, 2013 at 11:44 pm
Why is the same iptables rule added twice? Did you mean for the
second one to allow udp packets?
Reply
SK
honore
June 3, 2013 at 6:06 pm
thanks bro nice
Reply
4.
UMER AZEEM
July 9, 2013 at 12:44 am
Nice Sharing fir bignners like meThank you.
Reply
5.
venkat
November 20, 2013 at 4:28 pm
Good
Reply
Leave a Reply
Blog Stats
601,943 Views
Search
Categories
Archives
Like us on Facebook
Subscribe Newsletter
Enter your Email address to subscribe free Newsletter
Subscribe
Recent Posts
Setup FTP Server step by step in CentOS / RHEL / Scientific Linux 6.3/6.4/6.5
Setup FTP Server step by step in CentOS / RHEL / Scientific Linux 6.3/6.4/6.5
Install Subversion server in CentOS 6.4 / RHEL 6.4 / Scientific Linux 6.4
Setup Local YUM Server in CentOS 6.x / RHEL 6.x / Scientific Linux 6.x