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 [2019/02/13 18:44] – Sean Rhone | distros:fedora_server [2024/02/05 15:40] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Information ====== | ||
+ | |||
+ | * Fedora Server ((https:// | ||
+ | * 39 | ||
+ | |||
+ | ====== Installation Notes ====== | ||
+ | |||
+ | * Do not create a separate '' | ||
+ | |||
+ | ====== Download ====== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ====== PackageKit ====== | ||
+ | |||
+ | * :!: PackageKit was caught using hundreds of MB of RAM while not actively using it ((PackageKit was using 600MB idle on a 8GB server '' | ||
+ | * Apparently it only provides the package name for commands not found | ||
+ | * :!: TODO: Figure out how to prevent it from being reinstalled | ||
+ | |||
+ | sudo dnf remove PackageKit* | ||
+ | |||
+ | ====== 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 ===== | ||
+ | |||
+ | * TODO: Figure out '' | ||
+ | |||
+ | sudo dnf install 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 ===== | ||
+ | |||
+ | ==== Anaconda ==== | ||
+ | |||
+ | * [[notes: | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | ==== systemd-resolved ==== | ||
+ | |||
+ | * systemd-resolved caches DNS | ||
+ | * [[notes: | ||
+ | |||
+ | sudo mkdir -p '/ | ||
+ | |||
+ | < | ||
+ | [Resolve] | ||
+ | DNS=9.9.9.9# | ||
+ | DNSOverTLS=yes</ | ||
+ | |||
+ | === NetworkManager === | ||
+ | |||
+ | * Change '' | ||
+ | |||
+ | nmcli connection show | ||
+ | |||
+ | sudo nmcli connection modify ' | ||
+ | |||
+ | sudo nmcli connection modify ' | ||
+ | |||
+ | ===== Hostname ===== | ||
+ | |||
+ | * Change '' | ||
+ | * Likely not needed if set through Anaconda | ||
+ | |||
+ | 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 | ||
+ | |||
+ | sudo timedatectl set-local-rtc ' | ||
+ | |||
+ | ==== Verify ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | timedatectl | grep local | ||
+ | |||
+ | ====== Automatic Updates ====== | ||
+ | |||
+ | ===== Service ===== | ||
+ | |||
+ | sudo -e '/ | ||
+ | |||
+ | < | ||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStartPre='/ | ||
+ | ExecStart='/ | ||
+ | ExecStart='/ | ||
+ | ExecStartPost='/ | ||
+ | ExecStartPost='/ | ||
+ | |||
+ | ===== Timer ===== | ||
+ | |||
+ | * '' | ||
+ | |||
+ | sudo -e '/ | ||
+ | |||
+ | < | ||
+ | [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 [[notes: | ||
+ | |||
+ | ===== Firewalld ===== | ||
+ | |||
+ | * See [[notes: | ||