Installation of Fedora 23 Server and Administration with Cockpit Management Tool
The Fedora Project released Fedora 23 Server edition on 11.03.2015 and it comes with some cool new features that will make you easily manage your server.
What’s New in Fedora 23 Server
Here are some of the changes in Fedora 23 Server:
- RoleKit – a programmatic interface made for easier deployment
- CockPit – Graphical user interface for remote server administration
- SSLv3 and RC4 are disabled by default
- Perl 5.22 installed by default
- Python 3 has replaced python 2
- Unicode 8.0 support
- DNF System Upgrades
We’ve already covered a series of articles on Fedora 23 Workstation which you may like to go through:
- Installation of Fedora 23 Workstation Guide
- Upgrade From Fedora 22 to Fedora 23
- 24 Things to Do After Fedora 23 Installation
In this tutorial we are going to show you how to install Fedora 23 Server on your system. Before we start you will need to make sure that your system meets the minimum requirements:
- CPU: 1 GHz (or faster)
- RAM: 1 GB
- Disk Space: 10 GB of unallocated space
- Graphical install requires minimum resolution of 800×600
First Download the Fedora 23 Server Edition for your system architecture (32-bit or 64-bit) using following links.
Download Fedora 23 Server Live Image
Download Fedora 23 Server Netinstall Image
Installation of Fedora 23 Server
1. First Prepare a bootable USB flash drive using Unetbootin tool or you can use Brasero – no instructions really needed here.
2. Once you have prepared your bootable media, place it in the appropriate port/device and boot from it. You should see the initial install screen:
3. Select the install option and wait for the installer to take you to the next screen. You will be provided with the option to choose installation language. Select the preferred one and continue:
4. Now you will be taken to the the “Installation Summary” screen. Remember this one, as we are going to come back here few times during the installation:
The options here are:
- Language Support
- Time & Date
- Installation Source
- Software Selection
- Installation Destination
- Network & Hostname
We will stop on each one of these options so you can configure each setting as needed.
5. In this section, you can select the available keyboard layouts for your server. Click the plus
"+" sign to add more:
When you have made your choice, click “Done” in the upper left corner, so you can get back to the “Installation Summary” screen.
Set Language Support
6. The next thing you can configure is the language support for your Fedora server. If you need any additional languages for your Fedora server, you can select them here:
When you have selected the required languages, press the blue “Done” button at the top left corner.
Set Date & Time
7. Here you can setup the time settings for your server by selecting the appropriate time zone on the map or from the drop down menu:
Again, one you have selected the appropriate time settings, click the “Done” button.
Select Installation Source
8. The installation source detects the media from which you are installing the operating system. If you want to change the installation source from network destination here is where you can do it.
You also have the option to choose to apply updates during installation instead of using the packages provided on your source image:
You should not need to change anything in here as all updates can be applied after the installation is completed. Click the “Done” button when ready.
9. This section allows you to choose which software to be pre-installed on your server when it first boots. There are 4 predefined options here:
- Minimal install – minimum amount of software – configure everything yourself. This is the preferred option by advanced users
- Fedora Server – an integrated and easier to manage server
- Web Server – includes set of tools required to manage a web server
- Infrastructure Server – this setup is mainly for maintaining network infrastructure services
The choice here is strongly individual and depends on the project for which you need your server. When you select your type of server (on the left), you can click the software which you wish to have pre-installed (windows on the right):
In most common cases, you will want to have the following selected:
- Common Network Manager Submodules
- FTP server
- Hardware support
- MariaDB (MySQL) Database
- System Tools
Of course, feel free to select the software packages you need. Even if you miss one, you can always install more software when the install is complete.
When you have made your choice, click the blue “Done” button so you can go to the “Installation Summary” window once more.
Configure Installation Destination
10. This is one of the most important parts. You will configure your server’s storage partitions. Click on the “Installation Destination” option and select the disk on which you wish to install Fedora 23 Server. After that select “I will configure partitioning“:
Click the blue “Done” button in the top left corner so you can configure your server’s disk partitions.
11. In the next window select “standard partition” from the drop down menu and then click the plus
"+" sign to create your first disk partition.
12. A smaller window will appear and you will need to setup the “Mount Point” and “Desired Capacity” of the partition. Here is what you will need to choose here:
- Mount Point: /
- Desired Capacity: 10 GB
Give the root partition more space if you plan on installing lot’s of software.
When the partition is created, under “File System” make sure that “ext4” is selected:
13. Now we will proceed and add some swap memory for our server. The swap memory is used when your server goes out of physical memory. When this happens, the system will temporary read from the “swap” memory which is a small part of your disk space.
Note that the swap memory is considerably slower than physical memory, so you don’t want to use swap too often. Usually the amount of swap should be double the size of your RAM. For systems with more memory you can give it 1-2 GB of space.
To add “swap” memory, click the plus
"+" sign again and in the new window, using the drop down menu select “swap”. In my case I will give it 2 GB of space:
- Mount Point: Swap
- Desired capacity: 2 GB
14. Finally, we will create our
"/home" partition, which will store all our users data. To create this partition click the
"+" button again and from the drop down menu select “/home”. For “Desired capacity” leave empty to use the remaining space.
- Mount Point: /home
- Desired Capacity: leave empty
Just in case, make sure that the “File System” is set to “ext4” just as you did for the root partition.
When you are ready, click the blue “Done” button. You will be provided with list of changes that will be performed on the disk:
If everything looks good, click the “Accept Changes” button and you will be taken to the “Installation Summary” screen once more.
Configure Network & Hostname
15. In this section, you can configure the network settings and hostname for your server. To change the host name for your server, simply enter the desired name next to “Host Name:“:
16. To configure the network settings for your server, click the “Configure” button on the right. Usually servers are meant to be accessed from the same IP address over and over again and it’s a good practice to set them with a static IP address. That way your server will be accessed from the same address each time.
Now in the new window do the following:
- Selection IPv4 Settings
- Next to “Method” select “Manual“
- Click the “Add” button
- Enter your IP settings provided by your ISP. In my case I am using a home router and I have applied an IP address from within the network range that the router uses
Finally save the changes and click on the “Done” button once again.
17. Finally you can click on the “Begin Installation” button in the bottom right:
18. While the installation continues, you must configure your root user’s password and create additional user account which is optional.
To configure the root user’s password, click on “ROOT PASSWORD” and setup a strong password for this user:
19. Next you can create additional user account for your new server. Simply fill in it’s real name, username and password:
20. Now all is left to do is wait for the installation to finish:
21. One the installation is complete, click the reboot button that will appear in the bottom right. You can now eject the installation media and boot to your new Fedora server.
22. You can now access your server with the “root” user you have configured and have full access to your server.
Fedora 23 Server Administration with Cockpit
23. For new administrators the Fedora Project added an easy to use control panel called “Cockpit”. It allows you to manage your server’s services through browser.
To install cockpit on your server run the following set of commands as root:
# dnf install cockpit # systemctl enable cockpit.socket # systemctl start cockpit # firewall-cmd --add-service=cockpit
24. Finally, you can access cockpit in your browsers on the following URL:
Note that you may see an SSL warning, you can safely ignore that and proceed to the page:
To authenticate, please use:
- Username: root
- Password: the root password for your server
You can use the different sections of this control panel to:
- Check system load
- Enable/disable/stop/start/restart services
- Review logs
- See disk usage and I/O operations
- Review network stats
- Manage accounts
- Use web terminal
Check System Load
Monitor System Services
Monitor System Logs
Monitor Disk I/O Rate
Monitor Network Usage
Manage System Accounts
Use Web Terminal
Your Fedora 23 server installation is now complete and you can start managing your server. You definitely have all the tools required to do so. However if you have any questions or comments, please do not hesitate to submit them in the comment section below.