20M but installer minimal to pass a check is 64MThis is an old revision of the document!
Fedora-Server-dvd-x86_64-43-1.6.iso
/NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 8G 0 disk [SWAP] nvme0n1 259:0 0 953.9G 0 disk ├─nvme0n1p1 259:1 0 61M 0 part /boot/efi └─nvme0n1p2 259:2 0 953.8G 0 part /
sudo dnf clean 'all' && sudo dnf autoremove -y && sudo dnf update -y && sync
sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose
nanoVISUAL and EDITOR to nano via environment variablenowrap for current usersudo dnf install 'nano' -y && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc'
policycoreutils-develsudo dnf install aria2 htop lm_sensors unar
policycoreutils-devel
binutils p7zip p7zip-plugins
systemd to ignore Lid close events and prevents system suspendsudo mkdir -p '/etc/systemd/logind.conf.d' && echo -e "[Login]\nHandleLidSwitch=ignore" | sudo tee '/etc/systemd/logind.conf.d/99-laptop-server.conf' > '/dev/null'
sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf'
hostnamectl set-hostname 'x'
sudo sensors-detect --auto
sudo -e '/etc/sysconfig/lm_sensors'
timedatectl 'set-ntp' 'true' && sudo hwclock --systohc && timedatectl status
sudo -e '/etc/default/grub' && sudo restorecon -F -I '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/grub2/grub.cfg' && sudo restorecon -F -I '/boot/grub2/grub.cfg'
GRUB_CMDLINE_LINUX="rhgb quiet"
acpi_osi='Linux' reboot='pci' hibernate='no' idle='halt' nohz='off' mitigations='off' preempt='full' iommu='pt' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' pcie_aspm='off' pcie_port_pm='off' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0'
Startup finished in 4.549s (firmware) + 1.994s (loader) + 495ms (kernel) + 3.042s (initrd) + 9.433s (userspace) = 19.516s graphical.target reached after 9.432s in userspace.
systemd-analyze
sudo systemctl enable 'fstrim.timer' --now
sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l
sudo fstrim -v -a
sudo xfs_fsr -v '/'
sudo touch '/.autorelabel' && sudo restorecon -F -I '/.autorelabel'
sudo -e '/etc/profile.d/general-tweaks.sh' && sudo restorecon -F -I '/etc/profile.d/general-tweaks.sh'
# General export LD_BIND_NOW='1' # End
sudo -e '/etc/systemd/journald.conf.d/99-tweaks.conf' && sudo restorecon -F -I '/etc/systemd/journald.conf.d/99-tweaks.conf' && sudo journalctl --vacuum-time='1s' --rotate
[Journal] Storage=none Compress=false MaxLevelStore=0 MaxLevelSyslog=0 MaxLevelKMsg=0 MaxLevelConsole=0 MaxLevelWall=0 MaxLevelSocket=0 # End
sudo -e '/etc/dracut.conf.d/99-custom.conf' && sudo restorecon -F -I '/etc/dracut.conf.d/99-custom.conf' && sudo dracut --force --regenerate-all
# Compression compress="cat" # Machine-specific do_strip="yes" aggressive_strip="yes" hostonly="yes" hostonly_mode="strict" # End
sudo -e '/etc/fstab' && sudo restorecon -F -I '/etc/fstab'
/ type xfs,nodiscard,noatime
sudo -e '/etc/systemd/system/fedora-up.service'
[Service] Type=oneshot ExecStartPre='/usr/bin/dnf' clean 'all' ExecStart='/usr/bin/dnf' update -y ExecStart='/usr/bin/dnf' autoremove -y ExecStartPost='/usr/bin/sync' ExecStartPost='/usr/bin/systemctl' reboot
00:00 Oaksudo -e '/etc/systemd/system/fedora-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'fedora-up.timer' --now
[Unit] Description=Software Package Maintenance and Updater After=network-online.target Wants=network-online.target [Timer] OnCalendar=*-*-* 00:00:00 Persistent=true [Install] WantedBy=timers.target
20M but installer minimal to pass a check is 64M