This documentation is provided so that you may use to successfully install a very ‘core’ installation of Fedora 4. Most people that aren’t Linux guru’s/experts, quickly get lost in all the package selection menus, etc…. It is my intention to provide instructions on how to build a very ‘light’ installation of Fedora for a server application.
To get started, I will just mention hardware specs just for the sake of being complete in my documentation. I am starting with a Dell 1650 1U Server with (1) 1200MHz Processor, 1Gig Memory, and a hardware Raid 5 configuration with approx. 33 gig of usable disk space.
First thing I did was reboot the server with the CD 1 of Fedora inserted in the drive. When the Fedora Core install or upgrade menu appeared, I pressed the Enter key to start the installation in graphical mode. At this point the computer will begin booting from the CD-ROM.
The first prompt that appears is telling you that it found the Fedora Installation CD in the drive and it wants to test the CD to make sure all the files are intact that will be used to install your system. I have found this can take a while (since it checks each individual file), and do not see much benefit from it. This is of course assuming that you successfully downloaded the .iso and burned the image to CD without any problems. So at this point, I hit the tab key to select the ‘Skip’ button and press Enter.
The next thing you will see is the ‘graphical’ part of the installation, which is the Anaconda installer. The first page is the welcome page, which you may click on Next (Hopefully your mouse works, if for some reason it doesn’t – you can use tab/enter). Don’t get impatient and think you didn’t click Next – just hang out a sec and wait for the system to respond (it is reading from the CD).
At the Language Selection screen, highlight the appropriate selection by clicking once and then click on Next.
Same thing with the next screen, Make the appropriate selection for the Keyboard Configuration (U.S. English in my case) and click on Next.
Now, the next process that runs will determine if your system has any existing Linux installations. If it finds Linux already installed (which it was in my case), the radio button will be selected to upgrade an existing installation. Note: If you have Windows on the machine already – you will not see this mentioned screen, so just skip this paragraph. Since I am wanting to re-partition/format/etc and start with a fresh machine, I will click the Install Fedora Core radio button and then click next.
The next question will ask which installation type you would like to choose. Since we are going with a minimal install, select the Custom radio button and click on Next.
Disk Partitioning will be the next task that appears, I like to use the automatically partition option (in most cases) and then you have the opportunity to make any adjustments on the next screen. So, with automatically partition selected – click on Next.
We will then have Automatic Partitioning ask us the question of what we want to do with any existing partitions. Again, this is a ‘clean’ install so I select ‘Remove all partitions on this system’. NOTE: It is not my intent to document setting up a ‘dual boot’ configuration where there may be another operating system installed that you want to keep on the system. The selected default on this screen is ‘Remove all Linux partitions on this system’ – This will not remove any partitions that are not Linux related. So, if you had a Windows partition it would leave it intact, thus leaving you with less disk space (or maybe none at all) to setup your new Linux installation. So, be sure to select the radio button to remove all partitions (which will make your entire disk available for this installation). I only have one drive to select from in this installation, which is a DELL PERCRAID RAID5 selection. Machines with multiple standalone disks will have more than one option. Most of the time you will select the first drive listed. Leave the Review the partitions created box checked and click on Next. At the warning, confirm by clicking yes that you want to destroy your current (old) disk configuration.
On the next screen, observe the auto partitioning configuration for the installation. The default partitioning will leave you with three partitions. One will be your swap partition, the operating system will use this space for paging. The size of your swap partition is decided based on how much RAM is installed on your system. The next will be your boot partition and will be mounted as ‘/boot’. The boot partition is where the Linux Kernel and other core system files are stored that are needed for your system to boot (Typically creates a 100Meg partition). The other partition will be used for all your files and will be mounted as ‘/’. This basically provides you with one big file system to use for all your Linux applications and data. As mentioned earlier, I usually don’t change anything here and just click on Next.
You must have a boot loader (next screen to appear) in order for any operating system to boot on your computer. In most all other types of Operating Systems (besides *NIX), this is a ‘hidden’ step that is not mentioned in the installation. However, since Linux is the great and customizable operating system that it is – we have the option to customize. I don’t want to change anything on this screen, so I just click next.
Following the boot loader screen will be a Network Configuration screen. Here you have the option of selecting which network card(s) in your system will be used. Make sure the card you have intended to use has a checkbox marked in the ‘Active’ on Boot column. If you don’t change anything else on this screen, your computer will automatically request an IP address using DHCP when it boots. This might be fine in some cases where you use DNS resolution to access the machine, but in most cases you still want static IP addresses defined for Server class machines. So, since that is what this document is intended for, we will set static information. Highlight the Adapter being used (in my case and probably yours eth0) and click the Edit button.
In the popup window, uncheck Configure using DHCP and then manually enter the desired IP address/netmask and click on OK. Back at the Network Configuration window, we then set the hostname manually by entering the fully qualified name we want the machine to be known as.
Since we are setting a manual configuration, the Miscellaneous Settings must be entered as well. Enter the Default Gateway for your machine and at least one DNS server entry – click on Next.
The next step is the Firewall configuration – I would highly recommend leaving the Firewall Enabled. We will have a simple interface when we are finished that will allow us to add any necessary additional ports to be opened. I go ahead and check Remote Login (SSH – which is TCP port 22) along with Web Server (HTTP,HTTPS – which is TCP port 80,443 respectively). SELinux is the last configuration option on this page – for now I will change the default setting to disable SELinux by clicking on the drop down mention and selecting Disabled. Note: SELinux is something new for Fedora to help prevent malicious programs from running on the system. This feature can sometimes cause problems with legitimate programs that are installed. However, in most cases leaving SELinux active will not cause a problem. Click on Next.
In the time Zone Selection, you may find an area that uses the same time zone as your location and then click Next.
The root password is something that should be selected carefully. Please do not enter something here that is easy to guess. The root account allows access to anything and everything on your system. We will setup additional user accounts later in the document. The root account should only be used when temporary elevated privileges are needed on your system. Click on Next after you have confirmed the root password.
You will see a window that follows stating that the installer is Reading package information. This is basically used to provide you with that big menu of selections regarding what you want on the system. So after all the package information is read, we are given the opportunity to go through all the available selections. I will make this one easy, scroll all the way to the bottom of the page and under the miscellaneous section check the Minimal box. You will notice that will grey out any other options that are on this menu and will only install the files that are necessary for a base Fedora system to operate. This should consume approx 628Meg, click on Next.
You will see one last screen telling you it is about to start the installation, you make click on Next to get the party started.
The installation process took about 30 minutes, mileage will vary. At completion, your CD tray should open, remove the CD. At the Congratulations, the installation is complete window – you may click on Reboot.
At this point, your system should reboot and automatically boot after x seconds to the new Linux installation that was just performed. This particular installation configuration provides a command line interface only – which will be sufficient for a server application. Instructions will be provided in a separate post that describes how to completely manage your Linux machine from a web based interface.
After the machine is finished booting, you should see a login prompt. Since the root userid is the only user that currently exists, we will use it. Login with root as the username and the password is what you set previously during the installation.
At this point you are provided with a shell prompt waiting for you to take it somewhere.
Congratulations! You have successfully installed a minimal Fedora Core OS. The next article titled “Update your Fedora OS using yum” is the next in the series. This next article will help you keep the Operating System up to date with all the latest software.