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 [2024/02/01 06:35] – Sean Rhone | distros:fedora_server [2024/08/13 17:03] (current) – removed Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Information ====== | ||
- | |||
- | * Fedora Server ((https:// | ||
- | * 39 | ||
- | * :!: TODO: Note about not doing separate swap partition | ||
- | |||
- | ====== Download ====== | ||
- | |||
- | * https:// | ||
- | |||
- | ====== PackageKit ====== | ||
- | |||
- | * :!: PackageKit uses 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 | ||
- | |||
- | 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: '' | ||
- | |||
- | 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 === | ||
- | |||
- | 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: | ||
/srv/www/wiki/data/attic/distros/fedora_server.1706787356.txt.gz · Last modified: (external edit)