Fedora 21 Server

Installing Fedora 21 Server

Installing Fedora 21 Server Edition

Fedora 21 is a Linux distribution developed and supported by the Fedora Project which is an Open Source project formed by Red Hat and volunteers. Fedora 21 is the latest version of Fedora and it is available in 3 distinct builds. You can choose from a Workstation, Cloud or server editions. In this example, we are going to install the server edition.

Fedora Server can be downloaded from the following location: Download Fedora Server

Click on the "Server" option and then choose "Download".

Once you have downloaded your Fedora 21 Server iso image, you will need to burn this image to a DVD or place the iso image in an available directory for running under a virtualised environment. If you need to burn the image to a DVD you can find software to accomplish this task by searching "dvd iso burning software" in the search box located above. Your system may already come with CD/DVD burning software installed such as "Brasero, K3B, Nero, CDBurnerXP or Roxio". Once you have successfully burned your "iso" image of Fedora 21 Server, you will need to place the DVD in the DVD drive of the intended target system and then reboot your system.

If you are booting from the DVD, you may need to modify your system's BIOS settings. This can be done as your system starts by pressing the appropriate key. On many systems this key will be "F8", "F11" , "F12" or another key. Most systems will display a message indicating which key needs to be pressed. Once you have access to your BIOS settings, you will need to modify the boot order (sequence) that your system goes through. Here, you will need to specify your CD/DVD as the first boot option (before your hard drive). Once you have made this change, you can reboot your system and follow the instructional guide below.

Starting Fedora 21 Server

Once your system has booted, you will see an initial start-up screen similar to the one below. Here you must select the option "Install Fedora-Server 21". Optionally, you can test your media image before installation (This option is recommended if this is the first time you have used this image).

Starting Fedora Server 21 Installation

Welcome to Fedora-Server 21

At the welcome screen you must choose the language that you are going to use throughout this installation. In the example, I have chosen the Language "English", English (United Kingdom)". Once you have made your selection, click "continue".

Fedora 21 Server Installation Language Selection

Fedora 21 Server Installation Summary

The following screen is an indication of tasks that need to be selected. It is from this screen that we will configure our time zone settings, configure NTP settings, add additional language support, specify installation media, select server build type, configure our disk partitioning and configure the hostname and network settings. To make changes to these items, simply click the relevant icons. Any items that are marked with a orange exclamation! need to be addressed before you can proceed.

Fedora 21 Server Installation Summary

Date and Time - Time Zone Settings

At this screen you must select your time zone for your server. In the example, I have chosen "Europe/London". To select your region/city, click on the pull down arrows and select your choice. By default Networking Time is set to on. You can configure your own NTP settings by clicking on the small "cog" settings icon. If you do not wish to configure your NTP settings now, click "Done" to continue with the installation.

Fedora 21 Server Time Zone Settings

NTP Time Settings (Network Time Protocol)

If you have chosen the option to configure your NTP settings, you will see a screen similar to the one below. Simply add the names/IP addresses of your NTP servers. You can un-check any server that is not required. Once you have made your changes, click "OK", then click "Done" from the time zone screen.

Fedora 21 Server NTP settings

Keyboard Layout

At this screen you can select which keyboard layout you are going to use on your system. Additional languages can be selected by clicking on the plus "+" sign in the lower left hand corner of the screen. If you have multiple entries, you can move the language of your choice to the top by using the up and down arrows. The language at the top of the list is the default language that will be used. You can test any of the selections you have made by typing into the "test" box. Once you have made your selection(s), click "Done" to continue.

Fedora 21 Server Default Keyboard Settings

Language Support

At this screen you can add any additional languages to your system. Once you have made your selections, click "Done" to continue.

Fedora 21 Server Language Support

Installation Source

At this screen you can specify the source of your installation media. In this example, I am going with the default option of using my iso image. This option is indicated in the upper left hand corner of the screen. If you are happy with your choices, select "Done" to continue.

Fedora 21 Server Installation Source

Software Selection - Server Role

At this screen you can choose any additional components to add to your base server build. Options are available for Web Server, FTP Server, DNS Server, Mail Server, Database Server, File server plus many more. To select any of the additional components, click on the selection box to the left of the component.

Fedora 21 Server Software Selection

Installation Destination

At this screen you can choose to manually configure your disk layout (partitioning) or allow the system to automatically configure your partitions.

Fedora 21 Server Partitioning

Network Configuration

At this screen you can configure your network settings. By default, if you have an active network connection, DHCP (automatic IP assigning) will be used. If you are happy to use the protocol DHCP, then simply give your server a hostname and click "Done". If you wish to manually configure your network, follow the steps below.

Fedora 21 Server DHCP Configuration

Manual Configuration of Network Settings

To configure your network settings manually, you first need to deactivate your network interface if DHCP was automatically selected and has assigned an IP address. To accomplish this, simply toggle the "ON/OFF button to the "OFF" position. If you do not do this, when you try to save your manual IP settings, the save button will be greyed out! Once in the "OFF" position, click on the "Configure" option.

Fedora 21 Server Network Configuration

Adding a Static IP Address

Once you have deactivated the DHCP settings and clicked on the "Configure" option, you will be taken to a screen similar to the one below". Various tabs are available where you can configure various options. We are only going to make changes to the "General" tab and the "IPv4 Setting" tab. In this example, I have kept the default interface name "enp0s3" and have selected the options "Automatically connect to the network when it is available" and "All users may connect to this network". Once these changes have been made, click on the "IPv4 Settings tab".

Fedora 21 Server Network Configuration

IPv4 Settings Tab

It is from this section that we can define our static network IP address. First change the "Method" to "Manual". Next enter your IP address, Netmask and Gateway information into the relevant sections. You can specify your DNS servers in the box "DNS Servers". Multiple DNS servers can be added by separating with a comma. You can also specify the "Search Domain". If you need to specify any additional routing information, this can be added by selecting the "Routes.." option. Once you have made your changes, click "Save".

Fedora 21 Server Network Configuration

Confirm Network Settings

Remember to give your server a hostname! If you are happy with your selections, click "Done" to continue.

Fedora 21 Server Network Configuration

Begin Installation

Once you have configured all your options. You can click the "Begin Installation" button in the lower right hand corner. Once you have clicked on this option, your selected options will be applied to your disks.

Fedora 21 Server Begin Installation

Account Configuration

The next part of the installation is for the configuration of the "root" user account and any additional users. Click on the relevant icon to make the necessary changes. Note, if you provide a weak password, you will be asked to press "Done" twice to confirm your weak password!

Fedora 21 Server User Configuration

Root password configuration

At this screen you must specify the password to be associated with the "root" user account. Remember, the root account is the most powerful account on a Linux system. You must ensure that a strong password is used. If you try to specify a weak password, you will be notified of this and asked to press "Done" twice.

Fedora 21 Server root account settings

Create a User

At this screen specify the name of the user you wish to create. You can also make this user an administrator of the system by selecting the relevant option. By default, you will be required to provide a password to login to the system. Once you have provided the relevant information, click "Done" to continue.

Fedora 21 Server User Creation

Installation Continues

Your installation will now continue. Progress is indicated by the progress line at the lower section of the screen.

Fedora 21 Server Installation Progress

Fedora 21 Server Installation Complete

Congratulations, your installation is now complete. You will now need to reboot your system. Remember to remove any media from your drives.

Fedora 21 Server Installation Complete

Fedora 21 Server Login Screen

Once your system has booted, you can now login to your server using the accounts previously created. In the example below, we can see that we have logged in using the new administration account and our static IP address has been used. After any installation, it is always recommended to run the command "yum check-update" to check for any updates that are available. You can then use the command "yum update" to apply any updates.

Fedora 21 Server Login Screen