Fedora 12 Setup Apache Web Server

Posted by Shek on June 19, 2010 under Fedora 12, Linux | Be the First to Comment | Total View: 647 views

In this post,I will show you how to Fedora 12 Setup Apache Web Server.


Install Apache

  1. Open the “Terminal Windows” : Applications -> System Tools -> Terminal
  2. Login as root:
    su

    press “Enter” and input the password.

  3. Type in
    # yum install httpd

    to install Apache.

Configuration of Apache

  1. Edit the httpd.conf file with gedit, in the “Terminal Windows” type:
    gedit /etc/httpd/conf/httpd.conf
  2. Look for the line:
    ServerName www.example.com:80

    Uncomment it and rename it to your domain name and save the file.

  3. Start the Apache server with root, in the “Terminal Windows” type:
    # service httpd start

    Fedora 12 Apache Start

  4. Open Firefox to see if it is working by entering the URL:
    http://localhost

    If everything goes well the page should appears like this:

    Fedora 12 Apache

  5. Open the Firewall Configuration:  Setting -> Administration -> Firewall and open up the port 80/TCP for HTTP:
    Fedora 12 Apache Firewall 
  6. Put all your website’s files into /var/www/html folder.

Similar Posts:

VN:F [1.9.13_1145]
Rating: 7.0/10 (1 vote cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
Fedora 12 Setup Apache Web Server, 7.0 out of 10 based on 1 rating

Add A Comment

*