Hosting Your Own Website (Part 2) Installing The Server

Share This:

After boring you to death with information that may come in handy. We will now go into the fun part of setting up our server. The the type of server we will setup here is known as a LAMP stack. It gets it’s name because it is Linux, Apache, MySQL and PHP. Which when you take the first letter of each name spells LAMP, dah.

The recommended & preferred way to setup a LAMP server is to install the packages in just that order. So this means the first thing we will do is install and setup Linux. For the purposes of this tutorial I will be using Fedora 16. If your using Ubuntu Server you will be able to setup a LAMP stack right from the installation . You can also do this with Fedora. However for the purposes of this tutorial we wont be doing that. Plus I just prefer Fedora. And really who doesn’t. After all RPM’s are so Yummy.

The Fedora netboot installation and the installation from an optical media or almost identical. So it really wont matter to much. At the beginning of the installation you may get a blue screen that looks like the following.

It is pretty self explanatory. Simply choose your prefered language and input options by using the arrow keys on your keyboard. After that the Anaconda graphical installer should start up. If your using Ubuntu or Debian or a Debian derivative you will get the Debian installer. The nice part about Anacanda is the simplicity of configuring the network card right at installation. We will get to that in a bit.

The first part of Anacanda will ask you what type of storage you are using. This usually have two options, which are basic and advanced. Most of the time we will use the first option. After this we will use our mouse to click on the button in the lower right hand corner of the screen that says next.

Anacanda First Screen

If you have more then one hard drive on your computer, Anacanda will ask you which drive you will want to install to. Choose the drive you want to install Fedora onto by clicking on it. Then when it is highlighted click on the arrow in the center of the screen.

Note: If your installing Fedora from USB drive the USB drive will show up in the list of drives. If you choose to install the Fedora onto the USB drive you may run into complications. So be very careful not to choose that drive.

After you have selected your drive. You will click on the button that says next on it. Once again the Next button is located in the bottom right hand corner of your screen.

Next you will be asked to type in a domain. I usually type a domain like server1.something. I do this simply because I may have second server that I will call server2.something. But to be honest with you at this point in the installation you can type what ever you want. It really doesn’t matter.

Next you will see a screen that has picture of a map on it. Select your location. In my case I select New York as my location. This sets my clock correctly. After you do this you click on the next button.

It will ask you to type a password for the Root User. You should type in a fairly strong password. But it is also important that you remember this password. Because without it you wont be able to get into your server.

The next option is how you want Fedora to be installed on the Disk. Their are several options that you can choose from. They are list below.

  1. Use All Space
  2. Replace Existing Linux Systems
  3. Shrink Current System
  4. Use Free Space
  5. Create Custom Layout
I would recommend selecting the option that says “Use All Space”.  After you have made your selection click the Next Button. A window will pop up asking you if your certain that you want to do this. This is because it will start writing data to your hard disk. Which means if you had anything important on your hard disk it is now going to be lost forever. So confirm that you want to write the changes to the disk.

After Anaconda has written to the disk you will see the following.

Anacanda Select Installation Type


This is where you will select what type of files you want installed on your server. Select the option that says Web Server. Then check the boxes that say Installation Repo, Fedora 16 Repo, Fedora 16 Updates.  Then select the option that says “Customize Now“. After this click the Next button.

Another window will pop up. This is where you will get to configure your network. Click the Ok button. The network manager should then appear. Along with a list of your networks.  Select the one you want to configure and press the Edit button to the right.

Another window will appear. In the top of the window you will see a text box that says something along the lines of System eth0 or System p1p1. We can change this name to something like My Home Network. We also see 4 tabs.  Select the tab that says IPv4 Settings. By default Fedora should be set to DHCP. We will change this to Static by selecting the drop down box next to the word Method. And choosing the option that says Manual.

Network Configuration

Here we will click on the button that says Add. Now we need to add our Servers IP Address, our Netmask, and the Gateway IP Address. These IP addresses are internal IP address so they are only for your network not the outside world. If your using a Linksys Router your IP address should be something like the following.

IP Address:

Where the letters xx can be any number you choose.


Most of the time the mask will always be

Gateway IP Address.

The Gateway IP Address is the Address of your router. Which is the device that will issue all of the IP Addresses on the network. If it is Linksys Router it will most likely be

After we have made our changes to our network we can click the Save button. We then will select the network we just edited and then click the Close button.
This will bring us to yet another screen where we can select packages to have installed. Remember since this is a Linux Server. It is best not to have Desktop Envirnment. So we will deselect the Gnome DE. We will also Deselect most of the other options with the exceptions of Base, Hardware Support &  System Tools.

So once we have the proper packages selected and deselected. We will click Next. This is when Fedora starts the installation. So just sit back and relax while it installs. When it is done, we will restart the computer and boot up. This will ask us for our login name. We will type root for our name and the password that we gave for root.

2 thoughts on “Hosting Your Own Website (Part 2) Installing The Server