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...

Spread the love

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.

Facebook Comments
Spread the love

Posted by News Monkey