next up previous contents index
Next: Simple HTML Up: Web Server Previous: Web Server   Contents   Index

Setting up Apache

To setup your Apache server all you really need to do is turn it on. To turn the server on you can run the command:

bash# /etc/rc.d/init.d/httpd start

This will start the server running, but the server will not be running when you reboot unless you run the command:

bash# chkconfig httpd on

This creates symbolic links in the /etc/rc.d/ directory tree that tell the computer which servers to start when it boots up. If you would like to know what run levels the server is running at you can type the following command:

bash# chkconfig --list httpd
httpd          	0:off	1:off	2:off	3:on	4:on	5:on	6:off

This tells you that as long as the computer is in run level 3, 4, or 5 the web server should be running. Most servers run in level 3, but some run in level 5. Either one should be fine for what we want.

Joseph Colton 2002-09-24