Software and technical details of Fedora Server 38 including cockpit screenshots

main menu
System Overview

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 38 Server using a real not virtual machine!
The kernel is 6.2.15 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 38 Server

Software

With Fedora Server 38 you can have

  • linux kernel – 6.2.15 (6.2.15-300.fc38.x86_64)
  • System
    • linux-firmware – version: 20230515, release: 20230515-150.fc38.
    • libc – 2.37 (2.37-4.fc38)
    • GNU GCC – 13.1.1 (13.1.1-2.fc38)
    • OpenSSL – 3.0.8 (3.0.8-2.fc38) and 1.1.1q (1.1.1q-4.fc38)
    • coreutils – 9.1-12 (9.1-12.fc38)
    • yum – Depricated and replaced with dnf
    • dnf – 4.15.1 (4.15.1-1.fc38)
    • rsyslog – 8.2210.0 (8.2210.0-4.fc38)
    • NetworkManager – 1.42.6 (1.42.6-1.fc38)
  • Servers
    • Apache – 2.4.57 (2.4.57-1.fc38)
    • Nginx – 1.24.0 (1.24.0-1.fc38)
    • MySQL server – 8.0.33 (8.0.33-2.fc38)
    • MariaDB server – 10.5.19 (10.5.19-2.fc38)
    • PostgreSQL – 15.1 (15.1-2.fc38)
  • Programming
    • PHP – 8.2.6 (8.2.6-1.fc38)
    • python – The default is 3.11.3 (3.11.3-2.fc38) and many more available – 3.12.0 (3.12.0~a7-1.fc38), 3.10.11 (3.10.11-1.fc38), 3.9.16 (3.9.16-3.fc38), 3.8.16 (3.8.16-3.fc38), 3.7.16 (3.7.16-3.fc38), 3.6.15 (3.6.15-17.fc38) and also includes the older 2.7.18 (2.7.18-31.fc38)
    • perl – 5.36.1 (5.36.1-497.fc38)
    • ruby – 3.2.2 (3.2.2-180.fc38)
    • OpenJDK – the latest 20 – 20.0.1.0.9 (20.0.1.0.9-8.rolling.fc38) and also includes 17.0.7.0.7 (17.0.7.0.7-5.fc38), 11.0.19.0.7 (11.0.19.0.7-1.fc38) and 1.8.0.362.b09 (1.8.0.362.b09-2.fc38)
    • Go – 1.20.4 (1.20.4-1.fc38)
    • Rust – 1.69.0 (1.69.0-2.fc38)
    • llvm – the latest 16.0.4 (16.0.4-1.fc38), 15.0.7 (15.0.7-4.fc38), 14.0.5 (14.0.5-5.fc38), 13.0.1 (13.0.1-4.fc38), 12.0.1-8.fc38 (12.0.1-8.fc38), 11.1.0 (11.1.0-10.fc38), 8.0.1 (8.0.1-4.fc38) and 7.0.1 (7.0.1-7.fc38)
    • Subversion – 1.14.2 (1.14.2-13.fc38)
    • Git – 2.40.1 (2.40.1-1.fc38)

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

Installed packages are 679 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
674
[root@srv ~]# df -h /
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/fedora-root   15G  1.7G   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: yes
      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 ~3G of space you should delete existing partitions to free up space or let Fedora Server 38 installer to do default installation asking you to reclaim the disk space. We used the whole disk for the installation.
By default Fedora Server 38 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 38 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                     24G     0   24G   0% /dev/shm
    tmpfs                    9.4G  1.8M  9.4G   1% /run
    /dev/mapper/fedora-root   15G  1.7G   14G  12% /
    tmpfs                     24G     0   24G   0% /tmp
    /dev/sda2                960M  222M  739M  24% /boot
    /dev/sda1                599M  7.1M  592M   2% /boot/efi
    tmpfs                    4.7G     0  4.7G   0% /run/user/1000
    

    Partitions in configuration:

    [root@srv ~]# cat /etc/fstab 
    
    #
    # /etc/fstab
    # Created by anaconda on Mon May 29 11:54:05 2023
    #
    # 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-root /                       xfs     defaults        0 0
    UUID=b7f93001-112d-4d4b-b06c-d46076ed3386 /boot                   xfs     defaults        0 0
    UUID=259F-2089          /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 29 11:55 .
    dr-xr-xr-x.  18 root root  235 May 29 11:55 ..
    dr-xr-xr-x.   2 root root    6 Jan 19 00:00 afs
    lrwxrwxrwx.   1 root root    7 Jan 19 00:00 bin -> usr/bin
    dr-xr-xr-x.   5 root root 4096 May 29 11:58 boot
    drwxr-xr-x.  21 root root 4340 May 29 16:55 dev
    drwxr-xr-x. 105 root root 8192 May 29 12:02 etc
    drwxr-xr-x.   3 root root   20 May 29 11:58 home
    lrwxrwxrwx.   1 root root    7 Jan 19 00:00 lib -> usr/lib
    lrwxrwxrwx.   1 root root    9 Jan 19 00:00 lib64 -> usr/lib64
    drwxr-xr-x.   2 root root    6 Jan 19 00:00 media
    drwxr-xr-x.   2 root root    6 Jan 19 00:00 mnt
    drwxr-xr-x.   2 root root    6 Jan 19 00:00 opt
    dr-xr-xr-x. 465 root root    0 May 29 12:02 proc
    dr-xr-x---.   3 root root  147 May 29 12:04 root
    drwxr-xr-x.  36 root root 1060 May 29 12:03 run
    lrwxrwxrwx.   1 root root    8 Jan 19 00:00 sbin -> usr/sbin
    drwxr-xr-x.   2 root root    6 Jan 19 00:00 srv
    dr-xr-xr-x.  13 root root    0 May 29 12:02 sys
    drwxrwxrwt.  13 root root  260 May 29 16:53 tmp
    drwxr-xr-x.  12 root root  144 May 29 11:55 usr
    drwxr-xr-x.  20 root root 4096 May 29 12:02 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          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 lvm2 a--  117.65g 102.65g
    [root@srv ~]# pvdisplay -m
      --- Physical volume ---
      PV Name               /dev/sda3
      VG Name               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               pPl8QJ-MQ5r-RU7B-E0II-rEzZ-8w9f-hfrI5G
       
      --- Physical Segments ---
      Physical extent 0 to 3839:
        Logical volume      /dev/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   1   1   0 wz--n- 117.65g 102.65g /dev/sda3(0) /dev/fedora/root
    [root@srv ~]# vgdisplay -v
      --- Volume group ---
      VG Name               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               VcoZrD-iEdr-JyIk-NjSJ-B6vg-UfHJ-5Nqxgg
       
      --- Logical volume ---
      LV Path                /dev/fedora/root
      LV Name                root
      VG Name                fedora
      LV UUID                HCkL8n-LfJv-anna-cT5a-xajr-VJXR-V1yKmj
      LV Write Access        read/write
      LV Creation host, time srv, 2023-05-29 11:54:01 +0000
      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               pPl8QJ-MQ5r-RU7B-E0II-rEzZ-8w9f-hfrI5G
      PV Status             allocatable
      Total PE / Free PE    30119 / 26279
       
    [root@srv ~]# lvs --segments
      LV   VG     Attr       #Str Type   SSize 
      root fedora -wi-ao----    1 linear 15.00g
    [root@srv ~]# lvdisplay -m
      --- Logical volume ---
      LV Path                /dev/fedora/root
      LV Name                root
      VG Name                fedora
      LV UUID                HCkL8n-LfJv-anna-cT5a-xajr-VJXR-V1yKmj
      LV Write Access        read/write
      LV Creation host, time srv, 2023-05-29 11:54:01 +0000
      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 *