keepcalculator

06 Numbers and Powers

Fedora 21 Server Installation Guide

Card No. 06·86171 · Updated · Standard formula, shown below

This guide walks you through installing Fedora 21 Server, a now-legacy but historically significant Linux distribution. You’ll learn the step-by-step process, from downloading the ISO to completing the first boot configuration, plus practical tips for partitioning, networking, and troubleshooting.

Background and Why Fedora 21 Matters

Fedora 21, released in December 2014, was a landmark release because it introduced the Fedora Products model. Instead of a single all-purpose distribution, Fedora split into three distinct editions: Workstation, Server, and Cloud. The Server edition was designed specifically for dedicated server use, with a minimal default installation, a new cockpit management interface, and better integration with technologies like OpenLMI and role-based deployment.

While Fedora 21 is now past its end-of-life and no longer receives security updates, it remains relevant for historical study, legacy systems, or learning about the evolution of Linux server management. For production use, you should always install a current, supported Fedora release, but the installation process described here is largely the same across versions.

Prerequisites and Downloading the ISO

Before you begin, ensure you have:

  • A computer or virtual machine with at least 1 GB of RAM (2 GB recommended) and 10 GB of free disk space.
  • A blank DVD or a USB drive (at least 2 GB) to create bootable media.
  • An internet connection for downloading the ISO and for post-install updates.

Download the Fedora 21 Server ISO from the official Fedora archives (archives.fedoraproject.org). Look for the file named Fedora-Server-DVD-x86_64-21.iso. There are also 32-bit (i686) and ARM variants, but x86_64 is the most common for servers.

Verify the downloaded file’s checksum (SHA256) against the value listed on the download page to ensure integrity. Then, burn the ISO to a DVD or use a tool like dd on Linux or Rufus on Windows to create a bootable USB drive.

Booting and Starting the Installer

Insert your bootable media and restart the computer. Enter the BIOS/UEFI boot menu (usually by pressing F12, F2, Esc, or Del during startup) and select the DVD or USB drive as the boot device.

Once the media boots, you’ll see a menu with several options. Select Install Fedora-Server and press Enter. The system will load the kernel and start the Anaconda installer, which is the graphical installation program used by Fedora.

If you’re installing in a virtual machine (like VirtualBox or KVM), ensure that the virtual machine is configured with enough resources and that the ISO is attached as a CD/DVD drive.

Step-by-Step Installation Process

The Anaconda installer presents a series of screens. Here’s what you’ll do on each:

  1. Choose Language: Select your preferred language and keyboard layout, then click Continue.
  2. Installation Summary: This is the main hub. You’ll see several sections: Localization, Software, and System. You must configure each before installation can begin.
  3. Date & Time: Click on Date & Time, select your region and city, and ensure the correct time zone. You can also enable Network Time Protocol (NTP) to automatically sync time.
  4. Keyboard: Confirm your keyboard layout. If you need additional layouts, add them here.
  5. Language Support: Select additional languages if needed; the default from step 1 is already set.
  6. Installation Destination: This is critical. Click on Installation Destination. You’ll see a list of disks. Select the disk where you want to install Fedora. For a dedicated server, you can choose “Automatic” partitioning, which will create a sensible layout. For more control, select “Custom” and click Done.
  7. Network & Hostname: Click on Network & Hostname. Toggle the Ethernet switch to ON to enable networking. Set a hostname (e.g., server1.example.com) and click Apply. You can also configure IPv4/IPv6 settings manually if you’re not using DHCP.
  8. Software Selection: Click on Software Selection. Here you can choose the software set. For a minimal server, select “Minimal Install”. If you want a web server, you can select “Web Server” or “Infrastructure Server”. For this guide, we’ll choose Minimal Install and add packages later.
  9. Begin Installation: Once all sections are marked with a checkmark, click Begin Installation.

Custom Partitioning (Optional but Recommended)

If you chose Custom partitioning, you’ll see the manual partitioning screen. Here’s a sensible layout for a generic server:

  • /boot – 500 MB, ext4, mount point /boot
  • swap – 2 GB (or equal to RAM size if you plan to use hibernation)
  • / – remaining space, ext4, mount point /

For more advanced setups (e.g., separating /home, /var, or using LVM), create additional partitions as needed. If you’re using LVM, you can create logical volumes later. Click Done when finished, and accept the summary of changes.

Post-Installation Configuration

After the installation completes, the system will reboot. Remove the installation media when prompted. The system will boot into the command line, as Fedora Server has no graphical interface by default.

Log in with the root password you set during installation (if you didn’t set one, you’ll be prompted to create it on first boot). Then, perform a system update:

dnf update -y

This will update all packages to the latest available versions (for Fedora 21, these are the last ones ever released). Next, you may want to install additional software. For example, to install a web server:

dnf install httpd -y
systemctl enable httpd
systemctl start httpd

To enable the firewall and open the HTTP port:

systemctl enable firewalld
systemctl start firewalld
firewall-cmd --permanent --add-service=http
firewall-cmd --reload

You can also enable the Cockpit web console (if you selected it during installation) to manage the server via a web browser:

systemctl enable cockpit
systemctl start cockpit

Then access it at https://your-server-ip:9090.

Common Problems and Troubleshooting

Here are some issues you might encounter and how to fix them:

  • Boot hangs after selecting Install: This often happens with UEFI systems. Try booting in legacy BIOS mode (disable UEFI in BIOS settings) or add the kernel parameter nomodeset at the boot menu (press Tab to edit).
  • Network not working after install: If you didn’t enable networking during installation, you can do it later by editing the network script: vi /etc/sysconfig/network-scripts/ifcfg-eth0 and set ONBOOT=yes, then restart the network service.
  • Cannot connect via SSH: Ensure the SSH server is installed (dnf install openssh-server) and started (systemctl start sshd), and that the firewall allows port 22 (firewall-cmd --permanent --add-service=ssh).
  • Repository errors during dnf update: Since Fedora 21 is EOL, the default repositories are moved to the archive. You may need to update the repository URLs to point to archives.fedoraproject.org manually.

Frequently Asked Questions

Can I still download Fedora 21 Server?

Yes, the ISO images are still available from the Fedora archives at archives.fedoraproject.org. However, since it is end-of-life, there are no security updates, so it’s not recommended for internet-facing systems.

What is the default root password?

There is no default root password. During installation, you are prompted to set a root password. If you skipped it, you’ll be asked to set one on first boot.

How do I install a graphical interface on Fedora 21 Server?

You can install the GNOME desktop by running dnf groupinstall "GNOME Desktop", then start it with startx or configure the system to boot into graphical mode with systemctl set-default graphical.target.

Is Fedora 21 Server still supported?

No, Fedora 21 reached end-of-life in December 2015. It no longer receives security or bug fixes. For production use, always install a current Fedora release (e.g., Fedora 39 or later).

Can I use Fedora 21 Server for production?

It is not recommended due to lack of security updates. If you need a stable, long-term supported server OS, consider CentOS Stream, RHEL, or Ubuntu LTS.

How do I reset the root password if I forgot it?

Reboot the system, interrupt the bootloader (press any key when the GRUB menu appears), select the kernel line, press ‘e’ to edit, add rd.break to the end of the line, then boot. You’ll be dropped into an emergency shell where you can remount the root filesystem and change the password.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →