====== Information ====== * Fedora Server * 43 * https://www.fedoraproject.org/server/ * :!: 2025/12/03: WIP ====== Download ====== * https://www.fedoraproject.org/server/download Fedora-Server-dvd-x86_64-43-1.6.iso ====== Installation Notes ====== ===== Partitioning ===== * XFS ''/'' 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 / ====== Software ====== ===== Update ===== ==== System ==== **** sudo dnf clean 'all' && sudo dnf autoremove -y && sudo dnf update -y && sync ==== Firmware ==== **** sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose ===== GNU nano ===== * Installs ''nano'' * Sets ''VISUAL'' and ''EDITOR'' to ''nano'' via environment variable * Sets ''nowrap'' for current user sudo 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' && sudo restorecon -F -I '/etc/profile.d/editor-nano.sh' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc' ===== General ===== * TODO: Figure out ''policycoreutils-devel'' sudo dnf install aria2 htop lm_sensors unar policycoreutils-devel ==== Old ==== **** binutils p7zip p7zip-plugins ====== Settings ====== ===== Network ===== ==== DNS ==== * [[servers:upstream_dns_servers|More DNS Servers]] 9.9.9.9,149.112.112.112 2620:fe::fe,2620:fe::9 ===== Laptop Server ===== * This tells ''systemd'' to ignore Lid close events and prevents system suspend sudo 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 restorecon -F -I '/etc/systemd/logind.conf.d/99-laptop-server.conf' sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf' ===== Hostname ===== * :?: Likely not-needed if set during install hostnamectl set-hostname 'x' ===== Laptop Power ===== * [[linux:notes:x86_energy_perf_policy|x86_energy_perf_policy udev Rule]] * TODO: Check ===== lm_sensors ===== sudo sensors-detect --auto sudo -e '/etc/sysconfig/lm_sensors' ===== Time ===== **** timedatectl 'set-ntp' 'true' && sudo hwclock --systohc && timedatectl status ====== Boot Loader ====== * [[linux:notes:kernel_parameters|More Kernel Parameters]] ===== modprobe.d ===== * See [[linux;notes;modprobe.d_tweaks|Tweaks]] ===== Alira ===== * Last updated: 2025/12/03 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_DEFAULT="acpi_osi='Linux' reboot='pci' hibernate='no' idle='halt' nohz='off' preempt='full' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0'" nomodeset ==== systemd-analyze ==== * 2025/12/03 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 ====== Drive Maintenance ====== ===== Trim ===== sudo systemctl enable 'fstrim.timer' --now sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l sudo fstrim -v -a ===== XFS ===== * [[linux;notes;xfs|Notes]] sudo xfs_fsr -v '/' ===== SELinux Relabel ===== **** sudo touch '/.autorelabel' && sudo restorecon -F -I '/.autorelabel' ====== Tweaks ====== ===== General ===== 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 ===== journald ===== 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 ===== PackageKit ===== * ''packagekitd'' to on-demand ((allows ''PackageKit-command-not-found'' to function)) sudo mkdir -p '/etc/systemd/system/packagekit.service.d' && sudo -e '/etc/systemd/system/packagekit.service.d/on-demand.conf' && sudo restorecon -F -I -R '/etc/systemd/system/packagekit.service.d' && sudo systemctl daemon-reload [Service] RuntimeMaxSec=5 # End ===== Dracut ===== 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 ===== fstab ===== **** sudo -e '/etc/fstab' && sudo restorecon -F -I '/etc/fstab' ==== XFS ==== * ''/ type xfs'' ,nodiscard,noatime ====== Automatic Updates ====== ===== Service ===== 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 ===== Timer ===== * ''00:00'' Oak sudo -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 ====== Notable Folders and Commands ====== * See [[linux:notes:misc]] ===== Firewalld ===== * See [[linux:notes:firewalld|Firewalld notes]]