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.

Fedora 23 Server Installation and Manage with Cockpit Tool
Fedora 23 Server Installation and Manage with Cockpit Tool

What’s New in Fedora 23 Server

Here are some of the changes in Fedora 23 Server:

  1. RoleKit – a programmatic interface made for easier deployment
  2. CockPit – Graphical user interface for remote server administration
  3. SSLv3 and RC4 are disabled by default
  4. Perl 5.22 installed by default
  5. Python 3 has replaced python 2
  6. Unicode 8.0 support
  7. DNF System Upgrades

We’ve already covered a series of articles on Fedora 23 Workstation which you may like to go through:

  1. Installation of Fedora 23 Workstation Guide
  2. Upgrade From Fedora 22 to Fedora 23
  3. 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:

Requirements

  1. CPU: 1 GHz (or faster)
  2. RAM: 1 GB
  3. Disk Space: 10 GB of unallocated space
  4. 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

  1. Fedora-Server-DVD-i386-23.iso – Size 2.1GB
  2. Fedora-Server-DVD-x86_64-23.iso – Size 2.0GB

Download Fedora 23 Server Netinstall Image

  1. Fedora-Server-netinst-i386-23.iso – Size 4580MB
  2. Fedora-Server-netinst-x86_64-23.iso – Size 415MB

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:

Fedora 23 Server Boot Screen
Fedora 23 Server Boot 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:

Choose Language
Choose Language

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:

Installation Summary
Installation Summary

The options here are:

  1. Keyboard
  2. Language Support
  3. Time & Date
  4. Installation Source
  5. Software Selection
  6. Installation Destination
  7. Network & Hostname

We will stop on each one of these options so you can configure each setting as needed.

Configure Keyboard

5. In this section, you can select the available keyboard layouts for your server. Click the plus "+" sign to add more:

Add Keyboard Language
Add Keyboard Language

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:

Add Language Support
Add Language Support

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:

Set Date and Timezone
Set Date and Timezone

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:

Installation Sources
Installation Sources

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.

Software Selection

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):

Fedora Software Selection
Fedora Software Selection

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“:

Configure Installation Destination
Configure Installation Destination

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.

Select Partition Layout
Select Partition Layout

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:

  1. Mount Point: /
  2. Desired Capacity: 10 GB

Give the root partition more space if you plan on installing lot’s of software.

Create root Partition
Create root Partition

When the partition is created, under “File System” make sure that “ext4” is selected:

Set ext4 root Partition
Set ext4 root Partition

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:

  1. Mount Point: Swap
  2. Desired capacity: 2 GB
Create Swap Partition
Create Swap Partition

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.

  1. Mount Point: /home
  2. Desired Capacity: leave empty
Create Home Partition
Create Home Partition

Just in case, make sure that the “File System” is set to “ext4” just as you did for the root partition.

Set ext4 as Home Partition
Set ext4 as Home 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:

Confirm Write Changes
Confirm Write Changes

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:“:

Set Hostname
Set Hostname

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:

  1. Selection IPv4 Settings
  2. Next to “Method” select “Manual
  3. Click the “Add” button
  4. 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
Configure Network Static IP in Fedora 23
Configure Network Static IP in Fedora 23

Finally save the changes and click on the “Done” button once again.

Begin Installation

17. Finally you can click on the “Begin Installation” button in the bottom right:

Begin Fedora 23 Installation
Begin Fedora 23 Installation

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:

Set Root User Password
Set Root User Password

19. Next you can create additional user account for your new server. Simply fill in it’s real name, username and password:

Create New User
Create New User

20. Now all is left to do is wait for the installation to finish:

Performing Fedora 23 Installation
Performing Fedora 23 Installation

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.

Fedora 23 Installation Complete
Fedora 23 Installation Complete

22. You can now access your server with the “root” user you have configured and have full access to your server.

Fedora 23 Root Login
Fedora 23 Root Login

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:

http://your-ip-address:9090

Note that you may see an SSL warning, you can safely ignore that and proceed to the page:

Cockpit Admin Login
Cockpit Admin Login

To authenticate, please use:

  1. Username: root
  2. 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

Fedora 23 System Information
Fedora 23 System Information

Monitor System Services

Monitor Fedora 23 Enabled Services
Monitor Fedora 23 Enabled Services

Monitor System Logs

Monitor Fedora 23 System Logs
Monitor Fedora 23 System Logs

Monitor Disk I/O Rate

Monitor Fedora 23 File System
Monitor Fedora 23 File System

Monitor Network Usage

Monitor Fedora 23 Network Bandwidth
Monitor Fedora 23 Network Bandwidth

Manage System Accounts

Manage Accounts
Manage Accounts

Use Web Terminal

Fedora 23 Web Terminal Access
Fedora 23 Web Terminal Access

Conclusion

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.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Marin Todorov
I am a bachelor in computer science and a Linux Foundation Certified System Administrator. Currently working as a Senior Technical support in the hosting industry. In my free time I like testing new software and inline skating.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

18 Comments

Leave a Reply
  1. How can i install VPN on Fedora server? Do i need to install something for the same? My server is not connected with internet so can i download any vpn separate and then install on server?

    Please guide.

    Reply
  2. Hi,
    during my install of Fedora23 as a virtual machine in VMware vSphere, step 9 “Software Selection”, did not come up. My question now is how I can install a GUI. For a while I’m using the cockpit with no problems. Could you please tell me the right command?
    Thank you,
    Patrick

    Reply
    • @Patrick,

      With the help of following commands you can easily install GUI environment in Fedora 23 Server as shown.

      # dnf -y group install "Fedora Workstation" 
      
      Reply
      • Thanks, that’s useful… but after doing this (confirmed it’s installed: run the command again and get a message ‘already installed, skipping’) the gui doesn’t start – still have CLI login after startup. How to make it start, preferably automatically?

        Reply
        • @Chris,

          Follow these instruction to login into default Graphical Interface.

          1. Open /etc/inittab file:

          # vi /etc/inittab
          

          2. Change the numeral 3 to 5 and save the file.

          Reboot the system and your system will restart and present a graphical login.

          Reply
  3. Hi, I enjoyed your tutorial, but came unstuck after a reboot.
    You need to add
    firewall-cmd –permanent –add-service=cockpit
    as well as
    firewall-cmd –add-service=cockpit
    in order for the firewall change to survive a reboot.
    Cheers.

    Reply
  4. i installed fedora 23 on a virtual box where guest os is windows , after installation completed successfully on virtual box ,on the terminal it provided with a url where i can access the fedora 23 console.
    i tried to access fedora console from my windows machine using the url provided by server i was not able to access it , how do i access fedora console from my windows machine when fedora 23 is up and running on Virtual box?

    Thank you for your help in advance

    Reply
    • @Suresh,

      Both Windows and Fedora 23 on same network with communication with each other? have you opened port for fedora console? to access Cockpit Fedora console from windows machine, both machine must be on same network and should ping each other..

      Reply
  5. Hello, awesome post.

    When I try to start a docker container i get the message –

    Error attaching: configured logging reader does not support reading
    disconnected

    any ideas

    thanks a bunch!

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.