Fedora Server interactive local installation
This is the default method for manually installing Fedora if console access is available. The graphical interface is designed with the goal of making the installation as simple and speedy as possible. It is intended to facilitate the work of the system administrator by preassigning as many installation options as possible after analyzing the hardware.
With all preparations and installation plans complete, insert the prepared installation medium and boot the server. After some time you get the boot menu screen. This screen also provides information about the boot system of the hardware (on a BIOS boot machine it looks slightly different. You can edit the boot options using the <tab> key).
The second option, Test this media & install Fedora Server, is selected as default. Before the first usage, testing the installation media is strongly recommended. Subsequent installations can dispense with this and select the first option.
After a successful test, the routine automatically starts Anaconda, the actual Fedora installation program.
First, the program asks for the language selection and keyboard layout during the installation phase. Both are also adopted as default settings for the system to be installed. You can adjust it in the next step.
If you are using the standard ISO media ("DVD"), Anaconda will display the following installation overview, with all available configuration options.
In the case of a standard ISO ("DVD") installation with a functional public network connection, only 3 items are marked as requiring mandatory processing by a system administrator:
Installation Destination, i.e. the storage
the Root Account
In case of a network installation, a fourth item is marked:
Anaconda does not allow the installation to begin until all open items have been processed. The Begin Installation button is grayed out until then.
All unmarked options are assigned a default value that Anaconda obtains from a system analysis and the runtime environment.
Non-US users should specifically check the keyboard layout. Selecting this item opens a form where you can set the keyboard layout, even several ones and their order. A change immediately affects the installer as well.
In a standard installation (using the "Standard ISO image"), Anaconda uses "Local media" which will pull packages from the ISO image on your install media.
In a network installation select the item and edit the form as described in the corresponding Fedora’s overall Installation Guide.
Select Network. Its default is Mirror List. Anaconda searches an appropriate mirror and comes up with everything repository. In this case, everything repository causes no issues, because the system uses the anaconda configuration of the server medium booted from. So it gets the correct default configuration.
When everything repo is active, the "Software Selection" item becomes active, and you have to select "Fedora Server Edition".
Alternatively, you may manually select a server repository directly.
Before configuring the Installation Destination configure the Network & Host Name to give your server a hostname. The new hostname can be entered at the bottom of this screen and then pressing the Apply button.
The hostname is important for smooth functioning of various services. Unless the server is integrated into a cluster, a fully qualified static hostname (FQN) is used, i.e. server name and the domain ('my-server.example.com'). Enter the hostname and confirm with 'Apply'.
In a cluster, the hostname is often assigned by DHCP and MAC address. In this case, leave the field untouched.
By default the installation program creates a DHCP configuration for each network interface. In the case of an active connection it is automatically started during boot.
In case of servers it is often preferable to configure a static IP address. This ensures a valid network connection at system start even if the DHCP server is defective. Select the network interface, activate the IPv4 or IPv6 tab. Switch from "Automatic (DHCP)" to "Manual" and add an IP specification.
|Post Fedora 36, NetworkManager stores the configuration exclusively in /etc/NetworkManager/connected_systems/*.network. The former /etc/sysconfig/network-scripts directory is no longer supported at all.|
Select one or more disks on which to install Fedora Server. If your hard disk still contains data, as in this example, Fedora can free up space during the installation. Tick the Free up space box. In the next step Fedora Installer lets you choose which data (i.e. partitions) to delete and which to keep.
You may also include a SAN (Storage Attached Network) or other network attached drives as part of your Fedora Server install in this same configuration screen. However, this configuration is not covered here in this installation guide.
If you are satisfied with the Fedora Server default hard disk partitioning, you can leave Automatic checked under Storage Configuration. If the disks already contain partitions and file systems, you will want to select the option "Free up space by removing or shrinking existing partitions". A window will open after you click Done giving you the opportunity to delete partitions and file systems to make space for your Fedora Server installation on the install disks.
No further steps are required. Select Done in the upper bar and you are 'done'. You get a partitioning as described in the Server installation introduction.
Select Custom Storage Configuration instead of Automatic and select Done in the upper bar. Anaconda will take you to the Manual Partitioning form.
By clicking onto the + sign you can add partitions according to your storage concept.
Fedora uses a GPT partitioning scheme. Thus, on a BIOSboot system you must add a BIOSboot partion, preferrably as the first one. On a UEFIboot system you have to add a EFI system partition, preferrably as the first one. If you forget it, Anaconda will remind you.
If there is more than one disk available, the default partitioning creates, on each of the other disks, one big partition with a Physical Volume (PV) and adds it to the Volume Group (VG).
On a server, this is usually not optimal. Rather, several disks should store data redundantly in order to maintain operation in the event of a hardware failure. Configuring a RAID system is one such solution.
Manual partitioning is necessary for RAID setup. Select "Installation Destination" in the Summary Screen, the options "Custom" and "Advanced Custom (Blivet-GUI)" both enable manual partitioning.
On BIOS boot machines and hard disks with a maximum of 2 TB, select the comfortable "Custom" option.
If any exist, delete any partitions (use the '-' sign at the bottom of the left box).
Add a Partition, select a mount point (e.g.
), type changes from default LVM to standard, select size 1 Gib.
After creation modify the partition type to RAID.
Anaconda later detects the raid configuration of /boot and installs the
on each included disk. If the first disk fails it can boot using the other one.
Add additional RAID partitions as needed.
|Just in case you need a DOS/MBR partitioning scheme for some good reason, you can override the GPT default by adding "inst.mbr" to the kernel boot parameter at the initial boot screen.|
First, decide if you desire to have a root account on Fedora Server. Anaconda’s default configuration disables the root account to prevent malicious actors from logging in as root. Instead, Anaconda requires a user account that can acquire administrative privileges using sudo.
It is possible to secure root access using an ssh key file, but server administrators may desire to retain the ability to have root access with a password through an attached console or Cockpit login. If you decide that you would like to have password access to the root account, select Root Account, then Enable root account, and enter a password for the root account in the form that appears. For security reasons, ssh login as root is only allowed with an ssh key file by default. You are not encouraged to modify this security setting by clicking on the option, "Allow root SSH login with password".
Second, select User Creation to create a user account for Fedora Server. You are encouraged to keep the default options of "Add administrative privileges to this user account" and "Require a password to use this account" checked. Unless you have decided against the security practice of not allowing root access with a password, your user account will need these options to have administrative access to the server after installation of Fedora Server.
You may want to check Time & Date on the Installation Summary page to ensure that you have the correct time zone and Network Time is activated. These settings ensure that your server will regularly synchronize its time with a trusted source. Having the correct time on your server will make tasks like finding events at a specific time and date in your log files easier.
On the "Installation Summary" page select "Time & Date" and check time, time zone and activation of time synchronization.
Finally, check the default assignments of all options that have not been edited.
Then, when all settings and configurations fit, select Begin Installation and lean back (or get a coffee!). When finished, confirm the option to restart the computer. Log in and follow the post installation suggestions in the Fedora Server Edition System Administration Guide.