Tung httpd conf

From CDOT Wiki
Revision as of 17:32, 27 July 2011 by Tpcheun1 (talk | contribs) (Running and Configuring Apache Server)
Jump to: navigation, search

Running and Configuring Apache Server

Introduction

In this page, you are going to set up a Apache server and allow a user create his own personal web page.

Creating a Public Web Page

  1. Login as root user
  2. Configure the Apache server to start when the Fedora is booted: chkconfig httpd on
  3. Start the Apache server: service httpd start
  4. Create index.html in /var/www/html/ directory, write some html code in the file
  5. Open a browser, and enter http://localhost . Your page should display.
  6. Make web page accesses by other hosts: iptables -I INPUT -p tcp --dport http -j ACCEPT

Serving Personal Home Page

fdsfdsfds