Server Setup Introduction (Apache)
Over the past several days I have been burning my brain setting up a full fledged server. It all starts with apache. I will talk about every aspect of each component that a server typically has beginning with apache. The first issue I encountered with apache was getting it through my computers firewall, and then the router. On linux, this is the situation; SELinux, is configurable graphically from the System tab, administration submenu, and the security level and firewall button. The first screen provides the port firewall, you must allow the http port, and if you want to configure it manually you have to allow port 80. Now click on the SELinux tab at the tob of the menu right next to the firewall tab. Within this tab is the SELinux permissions. Scroll down and expand the section httpd service. Within this section at minimum you should allow httpd to read home directories. By doing this you can set up your web server as the home directory of a user account, and therefore when you login to that user, you can edit all the material on the website. If you have any issues setting the SELinux parameters, first set it to permissive, then set the various parameters, then reset to enforcing. Close the box, then reopen, see if your changes have been saved, if not try again. This can be tricky, but usually SELinux does not like various parameters to be changed while in enforcing mode.


