Software and technical details of Fedora Server 36 including cockpit screenshots

Author:

This article is for those of you who do not want to install a whole new operating system only to discover some technical details about the default installation like disk layout, packages included, software versions, and so on. Here we are going to review in several sections what is like to have a default installation of Fedora 36 Server using a real not virtual machine!
The kernel is 5.17.9 it detects successfully the Threadripper 1950X AMD and the system is stable (we booted in UEFI mode).
The installation procedure uses default options for all installation setups – Minimal network installation of Fedora 36 Server

Software

With Fedora Server 36 you can have

  • linux kernel – 5.17.9 (5.17.9-300.fc36.x86_64)
  • System
    • linux-firmware – version: 20220509, release: 20220509-132.fc36.
    • libc – 2.35 (2.35-9.fc36)
    • GNU GCC – 12.1.1 (12.1.1-1.fc36)
    • OpenSSL – 3.0.2 (1:3.0.2-5.fc36) and 1.1.1n (1:1.1.1n-1.fc36)
    • coreutils – 9.0 (9.0-5.fc36)
    • yum – Depricated and replaced with dnf
    • dnf – 4.12.0 (4.12.0-1.fc36)
    • rsyslog – 8.2204.0 (8.2204.0-1.fc36)
    • NetworkManager – 1.38.0 (1:1.38.0-1.fc36)
  • Servers
    • Apache – 2.4.53 (2.4.53-1.fc36)
    • Nginx – 1.20.2 (1:1.20.2-2.fc36)
    • MySQL server – 8.0.28 (8.0.28-1.fc36)
    • MariaDB server – 10.5.15 (3:10.5.15-1.fc36)
    • PostgreSQL – 14.1 (14.1-3.fc36)
  • Programming
    • PHP – 8.1.6 (8.1.6-1.fc36)
    • python – 3.10.4 (3.10.4-1.fc36) and also includes the older 2.7.18 (2.7.18-21.fc36)
    • perl – 5.34.1 (4:5.34.1-486.fc36)
    • ruby – 3.1.2 (3.1.2-164.fc36)
    • OpenJDK – the latest 18 – 18.0.1.0.10 (1:18.0.1.0.10-1.rolling.fc36) and also includes 17.0.3.0.7 (1:17.0.3.0.7-1.fc36), 11.0.15.0.10 (1:11.0.15.0.10-1.fc36) and 8.0.332.b09 (1:1.8.0.332.b09-1.fc36)
    • Go – 1.18.2 (1.18.2-1.fc36)
    • Rust – 1.60.0 (1.60.0-1.fc36)
    • llvm – the latest 14.0.0 (14.0.0-1.fc36) and the old 7.0.1 (7.0.1-7.fc36.4), 8.0.1 (8.0.1-2.fc36), 9.0.1 (9.0.1-15.fc35), 10.0.0 (10.0.0-13.fc35), 11.1.0 (11.1.0-6.fc35), 12.0.1 (12.0.1-2.fc35) and 13.0.1 (13.0.1-1.fc36)
    • Subversion – 1.14.1 (1.14.1-11.fc36)
    • Git – 2.36.1 (2.36.1-1.fc36)

Note: Not all of the above software comes installed by default. The versions above are valid as of May 2022, these are the minimal versions you get with Fedora Server 36 now and updating it after the initial date may update some of the above packages with newer versions.

Installed packages are 672 occupying 1.8G space:. Note, this is Fedora Server Install, not minimal install. The server install includes the web console – cockpit version 254.

[root@srv ~]# dnf list installed|wc -l
672
[root@srv ~]# df -h /
Filesystem                      Size  Used Avail Use% Mounted on
/dev/mapper/fedora_fedora-root   15G  1.8G   14G  12% /

Security

  1. Access control security policies – Selinux in Enforcing mode.
    [root@srv ~]# getenforce
    Enforcing
    
  2. Network firewall – Firewalld
    [root@srv ~]# firewall-cmd --list-all
    FedoraServer (active)
      target: default
      icmp-block-inversion: no
      interfaces: enp5s0
      sources: 
      services: cockpit dhcpv6-client ssh
      ports: 
      protocols: 
      forward: no
      masquerade: no
      forward-ports: 
      source-ports: 
      icmp-blocks: 
      rich rules:
    

Storage

Default installation on a single disk, which has only free space on your disk or you reclaimed all the occupied space during installation. Install Fedora Server 35 needs at least 1.8G of free space for the default installation, so if you select a destination disk, which has less than 20G of space you should delete existing partitions to free up space or let Fedora Server 36 installer to do default installation asking you to reclaim the disk space. We used the whole disk for the installation.
By default Fedora Server 36 uses.

  1. xfs – file system
  2. lvm – root partition
  3. efi, boot, root are on separate partitions
  4. vfat – efi partition.
  5. zram – loop device, which is a RAM drive that uses compression

Fedora Server 36 installation:

  1. Disk layout

    [root@srv ~]# parted -l /dev/sda
    Model: ATA KINGSTON SNV425S (scsi)
    Disk /dev/sda: 128GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    
    Number  Start   End     Size    File system  Name                  Flags
     1      1049kB  630MB   629MB   fat32        EFI System Partition  boot, esp
     2      630MB   1704MB  1074MB  xfs
     3      1704MB  128GB   126GB                                      lvm
    
    
  2. Mounted Partitions
    [root@srv ~]# df -h
    Filesystem                      Size  Used Avail Use% Mounted on
    devtmpfs                        4.0M     0  4.0M   0% /dev
    tmpfs                            16G     0   16G   0% /dev/shm
    tmpfs                           6.3G  1.9M  6.3G   1% /run
    /dev/mapper/fedora_fedora-root   15G  1.8G   14G  12% /
    tmpfs                            16G     0   16G   0% /tmp
    /dev/sda2                      1014M  190M  825M  19% /boot
    /dev/sda1                       599M  6.1M  593M   2% /boot/efi
    tmpfs                           3.2G     0  3.2G   0% /run/user/0
    tmpfs                           3.2G     0  3.2G   0% /run/user/1000
    

    Partitions in configuration:

    [root@srv ~]# cat /etc/fstab 
    
    #
    # /etc/fstab
    # Created by anaconda on Thu May 26 10:19:16 2022
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk/'.
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
    #
    # After editing this file, run 'systemctl daemon-reload' to update systemd
    # units generated from this file.
    #
    /dev/mapper/fedora_fedora-root /                       xfs     defaults        0 0
    UUID=51b0387c-a337-42a1-9409-c64735cff30e /boot                   xfs     defaults        0 0
    UUID=420D-8356          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
    
  3. File system layout
    [root@srv ~]# ls -al /
    total 20
    dr-xr-xr-x.  18 root root  235 May 26 13:20 .
    dr-xr-xr-x.  18 root root  235 May 26 13:20 ..
    dr-xr-xr-x.   2 root root    6 Jan 20 05:04 afs
    lrwxrwxrwx.   1 root root    7 Jan 20 05:04 bin -> usr/bin
    dr-xr-xr-x.   5 root root 4096 May 26 13:23 boot
    drwxr-xr-x.  21 root root 4320 May 26 15:30 dev
    drwxr-xr-x. 103 root root 8192 May 26 10:30 etc
    drwxr-xr-x.   3 root root   20 May 26 13:24 home
    lrwxrwxrwx.   1 root root    7 Jan 20 05:04 lib -> usr/lib
    lrwxrwxrwx.   1 root root    9 Jan 20 05:04 lib64 -> usr/lib64
    drwxr-xr-x.   2 root root    6 Jan 20 05:04 media
    drwxr-xr-x.   2 root root    6 Jan 20 05:04 mnt
    drwxr-xr-x.   2 root root    6 Jan 20 05:04 opt
    dr-xr-xr-x. 448 root root    0 May 26 13:30 proc
    dr-xr-x---.   3 root root  129 May 26 15:24 root
    drwxr-xr-x.  36 root root 1060 May 26 15:24 run
    lrwxrwxrwx.   1 root root    8 Jan 20 05:04 sbin -> usr/sbin
    drwxr-xr-x.   2 root root    6 Jan 20 05:04 srv
    dr-xr-xr-x.  13 root root    0 May 26 10:30 sys
    drwxrwxrwt.  13 root root  260 May 26 14:51 tmp
    drwxr-xr-x.  12 root root  144 May 26 13:20 usr
    drwxr-xr-x.  20 root root 4096 May 26 10:30 var
    
  4. LVM configuration
    [root@srv ~]# lvmdiskscan -l
      WARNING: only considering LVM devices
      /dev/sda3      [    <117.66 GiB] LVM physical volume
      0 LVM physical volume whole disks
      1 LVM physical volume
    [root@srv ~]# pvscan
      PV /dev/sda3   VG fedora_fedora   lvm2 [117.65 GiB / 102.65 GiB free]
      Total: 1 [117.65 GiB] / in use: 1 [117.65 GiB] / in no VG: 0 [0   ]
    [root@srv ~]# pvs
      PV         VG            Fmt  Attr PSize   PFree  
      /dev/sda3  fedora_fedora lvm2 a--  117.65g 102.65g
    [root@srv ~]# pvdisplay -m
      --- Physical volume ---
      PV Name               /dev/sda3
      VG Name               fedora_fedora
      PV Size               <117.66 GiB / not usable 3.00 MiB
      Allocatable           yes 
      PE Size               4.00 MiB
      Total PE              30119
      Free PE               26279
      Allocated PE          3840
      PV UUID               Cf2oaj-EsSW-kYrx-pvcn-RoOM-s6lm-2gt1Xo
       
      --- Physical Segments ---
      Physical extent 0 to 3839:
        Logical volume      /dev/fedora_fedora/root
        Logical extents     0 to 3839
      Physical extent 3840 to 30118:
        FREE
       
    [root@srv ~]# vgs -o +devices,lv_path
      VG            #PV #LV #SN Attr   VSize   VFree   Devices      Path                   
      fedora_fedora   1   1   0 wz--n- 117.65g 102.65g /dev/sda3(0) /dev/fedora_fedora/root
    [root@srv ~]# vgdisplay -v
      --- Volume group ---
      VG Name               fedora_fedora
      System ID             
      Format                lvm2
      Metadata Areas        1
      Metadata Sequence No  2
      VG Access             read/write
      VG Status             resizable
      MAX LV                0
      Cur LV                1
      Open LV               1
      Max PV                0
      Cur PV                1
      Act PV                1
      VG Size               117.65 GiB
      PE Size               4.00 MiB
      Total PE              30119
      Alloc PE / Size       3840 / 15.00 GiB
      Free  PE / Size       26279 / 102.65 GiB
      VG UUID               OoLAeK-AMPU-mlm4-6Xk6-svBu-tkbG-RNFBA7
       
      --- Logical volume ---
      LV Path                /dev/fedora_fedora/root
      LV Name                root
      VG Name                fedora_fedora
      LV UUID                OSbBUI-5B3c-b1Sa-ZcLg-HEBN-1jWi-WmAfpe
      LV Write Access        read/write
      LV Creation host, time srv, 2022-05-26 13:19:12 +0300
      LV Status              available
      # open                 1
      LV Size                15.00 GiB
      Current LE             3840
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:0
       
      --- Physical volumes ---
      PV Name               /dev/sda3     
      PV UUID               Cf2oaj-EsSW-kYrx-pvcn-RoOM-s6lm-2gt1Xo
      PV Status             allocatable
      Total PE / Free PE    30119 / 26279
    
    [root@srv ~]# lvs --segments
      LV   VG            Attr       #Str Type   SSize 
      root fedora_fedora -wi-ao----    1 linear 15.00g
    [root@srv ~]# lvdisplay -m
      --- Logical volume ---
      LV Path                /dev/fedora_fedora/root
      LV Name                root
      VG Name                fedora_fedora
      LV UUID                OSbBUI-5B3c-b1Sa-ZcLg-HEBN-1jWi-WmAfpe
      LV Write Access        read/write
      LV Creation host, time srv, 2022-05-26 13:19:12 +0300
      LV Status              available
      # open                 1
      LV Size                15.00 GiB
      Current LE             3840
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:0
       
      --- Segments ---
      Logical extents 0 to 3839:
        Type                linear
        Physical volume     /dev/sda3
        Physical extents    0 to 3839
       
       
    

Leave a Reply

Your email address will not be published. Required fields are marked *