Difference between revisions of "Tung httpd conf"
Line 1: | Line 1: | ||
− | + | ==Running and Configuring Apache Server== | |
− | |||
<b><big>Introduction</big></b> | <b><big>Introduction</big></b> | ||
− | <font face="Georgia">In this page, you are going to create | + | <font face="Georgia">In this page, you are going to set up a Apache server and allow a user create his own personal web page. |
</font> | </font> | ||
− | + | ===Creating a Public Web Page=== | |
− | + | # Login as root user | |
− | #Login as root user | + | # Configure the Apache server to start when the Fedora is booted: chkconfig httpd on |
− | # | + | # Start the Apache server: service httpd start |
− | # | + | # Create index.html in /var/www/html/ directory, write some html code in the file |
− | #Create | + | # Open a browser, and enter http://localhost. Your page should display. |
− | # | + | # Make web page accesses by other hosts: iptables -I INPUT -p tcp --dport http -j ACCEPT |
− | # | ||
− | |||
− | |||
− |
Revision as of 17:29, 27 July 2011
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
- Login as root user
- Configure the Apache server to start when the Fedora is booted: chkconfig httpd on
- Start the Apache server: service httpd start
- Create index.html in /var/www/html/ directory, write some html code in the file
- Open a browser, and enter http://localhost. Your page should display.
- Make web page accesses by other hosts: iptables -I INPUT -p tcp --dport http -j ACCEPT