distros:fedora_server
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| distros:fedora_server [2023/09/13 05:37] – [Installation Notes] Sean Rhone | distros:fedora_server [2024/08/13 17:03] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Information ====== | ||
| - | |||
| - | * Fedora Server ((https:// | ||
| - | * 38 | ||
| - | |||
| - | ====== Download ====== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ====== Installation Notes ====== | ||
| - | |||
| - | * TODO, keep Fedora Server selected, check Headless Tools, switch to ext4 but keep eyes on XFS development after maintainer ordeal | ||
| - | |||
| - | ====== HOSTS ====== | ||
| - | |||
| - | * https:// | ||
| - | * Unified hosts + fakenews + gambling + porn + social | ||
| - | |||
| - | ===== Initial ===== | ||
| - | |||
| - | * Only run once | ||
| - | |||
| - | ls '/ | ||
| - | |||
| - | ===== Update ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | ls '/ | ||
| - | |||
| - | ===== Restore Backup ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | ls '/ | ||
| - | |||
| - | ====== DNF ====== | ||
| - | |||
| - | * Disables Delta RPMs with '' | ||
| - | |||
| - | echo ' | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | ====== Software ====== | ||
| - | |||
| - | ===== Update ===== | ||
| - | |||
| - | * :!: See [[distros: | ||
| - | |||
| - | sudo dnf autoremove -y && sudo dnf distro-sync -y && sync | ||
| - | |||
| - | ===== Firmware ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose | ||
| - | |||
| - | ===== GNU nano ===== | ||
| - | |||
| - | * Installs '' | ||
| - | * Sets '' | ||
| - | * Sets '' | ||
| - | |||
| - | sudo dnf install ' | ||
| - | |||
| - | ===== General ===== | ||
| - | |||
| - | sudo dnf install irqbalance aria2 binutils hdparm htop kernel-tools lm_sensors openssl1.1 p7zip p7zip-plugins unar wget | ||
| - | |||
| - | policycoreutils-devel | ||
| - | |||
| - | ====== Settings ====== | ||
| - | |||
| - | ===== Laptop Server ===== | ||
| - | |||
| - | * This tells '' | ||
| - | |||
| - | sudo mkdir -p '/ | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | ===== Network ===== | ||
| - | |||
| - | * Use systemd-resolved for DNS as it caches | ||
| - | |||
| - | ==== NetworkManager ==== | ||
| - | |||
| - | * TODO: NetworkManager CLI | ||
| - | |||
| - | < | ||
| - | |||
| - | < | ||
| - | |||
| - | ==== systemd-resolved ==== | ||
| - | |||
| - | sudo mkdir -p '/ | ||
| - | |||
| - | < | ||
| - | [Resolve] | ||
| - | DNS=1.1.1.2# | ||
| - | DNSOverTLS=yes</ | ||
| - | |||
| - | ===== Kernel Options ===== | ||
| - | |||
| - | ==== Magic SysRq key ==== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | echo ' | ||
| - | |||
| - | ==== Swappiness ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | echo ' | ||
| - | |||
| - | ===== Dracut ===== | ||
| - | |||
| - | * System-specific boot optimization | ||
| - | * :!: Be sure to undo this if planning on booting the same disk install on different hardware, notably for servers | ||
| - | * :!: This may become deprecated with '' | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | compress=" | ||
| - | do_strip=" | ||
| - | aggressive_strip=" | ||
| - | hostonly=" | ||
| - | hostonly_mode=" | ||
| - | fileloglvl=" | ||
| - | sysloglvl=" | ||
| - | stdloglvl=" | ||
| - | |||
| - | ==== Undo ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo rm -f '/ | ||
| - | |||
| - | ===== GRUB ===== | ||
| - | |||
| - | ==== Config ==== | ||
| - | |||
| - | * :!: [[notes: | ||
| - | * Add commands within '' | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | ===== Hostname ===== | ||
| - | |||
| - | * Change '' | ||
| - | |||
| - | hostnamectl set-hostname ' | ||
| - | |||
| - | ===== lm_sensors ===== | ||
| - | |||
| - | sudo sensors-detect --auto | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | ===== Secure Shell ===== | ||
| - | |||
| - | * See [[clients: | ||
| - | |||
| - | ===== Drive Maintenance ===== | ||
| - | |||
| - | ==== Trim ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo systemctl enable ' | ||
| - | |||
| - | ===== UTC ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * Set RTC to UTC | ||
| - | * :!: Needed if Windows is installed first | ||
| - | * :!: Windows should also be set to UTC | ||
| - | |||
| - | sudo timedatectl set-local-rtc ' | ||
| - | |||
| - | ==== Verify ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | timedatectl | grep local | ||
| - | |||
| - | ====== Automatic Updates ====== | ||
| - | |||
| - | ===== Service ===== | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | [Service] | ||
| - | Type=oneshot | ||
| - | ExecStartPre='/ | ||
| - | ExecStart='/ | ||
| - | ExecStart='/ | ||
| - | ExecStartPost='/ | ||
| - | ExecStartPost='/ | ||
| - | |||
| - | ===== Timer ===== | ||
| - | |||
| - | * 06:10 Kraityn | ||
| - | * 06:20 Alira | ||
| - | * 06:30 Oak | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | [Unit] | ||
| - | Description=Software Package Maintenance and Updater | ||
| - | After=network-online.target | ||
| - | Wants=network-online.target | ||
| - | |||
| - | [Timer] | ||
| - | OnCalendar=*-*-* 06:30:00 | ||
| - | Persistent=true | ||
| - | |||
| - | [Install] | ||
| - | WantedBy=timers.target</ | ||
| - | |||
| - | ====== Notable Folders and Commands ====== | ||
| - | |||
| - | * See [[notes: | ||
| - | |||
| - | ===== Firewalld ===== | ||
| - | |||
| - | * See [[notes: | ||
/usr/local/www/wiki/data/attic/distros/fedora_server.1694597867.txt.gz · Last modified: (external edit)
