distros:opensuse_tumbleweed_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
distros:opensuse_tumbleweed_server [2022/05/14 00:37] – Sean Rhone | distros:opensuse_tumbleweed_server [2024/05/10 21:24] – Sean Rhone | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== DVD + Xfce Live ===== | ===== DVD + Xfce Live ===== | ||
- | * Downloads the latest DVD and Xfce Live images | + | * Downloads the latest DVD (with SHA256 compare) |
- | cd ~/' | + | cd ~/' |
===== DVD ===== | ===== DVD ===== | ||
Line 30: | Line 30: | ||
====== Installation Notes ====== | ====== Installation Notes ====== | ||
- | |||
- | * '' | ||
===== Partitioning ===== | ===== Partitioning ===== | ||
- | - XFS | + | - ext4 |
- No separate ''/ | - No separate ''/ | ||
- | - Separate '' | + | - :!: Separate '' |
- | + | ||
- | ====== Repositories ====== | + | |
- | + | ||
- | ===== ROCm ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | * Repository Priority: 98 | + | |
- | * Provides ROCm, notably OpenCL libraries | + | |
- | + | ||
- | sudo rpm --import ' | + | |
====== Software ====== | ====== Software ====== | ||
Line 66: | Line 53: | ||
**** | **** | ||
- | | + | |
===== GNU nano ===== | ===== GNU nano ===== | ||
Line 80: | Line 67: | ||
**** | **** | ||
- | sudo zypper install aria2 flashrom hdparm | + | sudo zypper install aria2 binutils chrony |
- | ===== ROCm ===== | + | ===== CPU microcode |
- | | + | |
- | | + | |
- | ===== Keybase | + | ====== Settings ====== |
- | * https:// | + | ===== Laptop Server ===== |
- | * :!: TODO: Figure out how to do automated bcakups to KBFS | + | |
- | * :!: This page shows up on Google search; for desktop openSUSE and the GUI Keybase client, add the repo shown on [[distros: | + | |
- | | + | |
- | ====== Settings ====== | + | sudo mkdir -p '/ |
- | ===== Network ===== | + | sudo -e '/ |
- | **** | + | ===== Dell Fan Profile ===== |
- | | + | |
- | ==== Hostname/ | + | sudo zypper install -y ' |
- | * https:// | + | ===== GRUB ===== |
- | * See [[notes: | + | |
- | * Static Hostname: '' | + | ==== Config ==== |
- | * Modify DNS Configuration: | + | |
- | * Name Server 1: '' | + | |
- | * Name Server 2: '' | + | |
- | * Name Server 3: '' | + | |
- | ==== Routing ==== | + | * :!: [[notes: |
- | | + | |
- | * Gateway: '' | + | |
- | * Device: '' | + | |
- | ===== Hostname ===== | + | ==== Oak ==== |
- | * Change '' | + | * Last updated: 2024/05/10 |
- | | + | < |
+ | |||
+ | ===== NetworkManager ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
===== lm_sensors ===== | ===== lm_sensors ===== | ||
- | **** | + | sudo sensors-detect --auto |
- | sudo sensors-detect --auto | + | sudo -e '/ |
===== Secure Shell ===== | ===== Secure Shell ===== | ||
Line 137: | Line 131: | ||
* See [[clients: | * See [[clients: | ||
- | ===== Drive Maintenance | + | ===== Disk Drives |
==== Swap ==== | ==== Swap ==== | ||
Line 146: | Line 140: | ||
sudo -e '/ | sudo -e '/ | ||
- | ,discard | + | ,discard=once |
==== Trim ==== | ==== Trim ==== | ||
- | | + | **** |
sudo systemctl enable ' | sudo systemctl enable ' | ||
- | ==== XFS Scrub ==== | + | ===== Time ===== |
- | | + | * :!: 2024/05/06: Even though |
- | | + | * This sets the hardware clock to the current system/OS clock |
- | + | * TODO: Figure out '' | |
- | sudo systemctl enable | + | |
- | + | ||
- | ===== UTC ===== | + | |
- | + | ||
- | * [[https:// | + | |
- | * Set RTC to UTC | + | |
- | + | ||
- | sudo timedatectl set-local-rtc | + | |
- | + | ||
- | ==== Verify ==== | + | |
- | + | ||
- | **** | + | |
- | | + | |
====== Automatic Updates ====== | ====== Automatic Updates ====== | ||
Line 204: | Line 186: | ||
[Timer] | [Timer] | ||
OnCalendar=*-*-* 06:00:00 | OnCalendar=*-*-* 06:00:00 | ||
- | Persistent=true | ||
- | |||
- | [Install] | ||
- | WantedBy=timers.target</ | ||
- | |||
- | ====== External Backup ====== | ||
- | |||
- | ===== fstab ===== | ||
- | |||
- | * Expects a drive of some kind with a XFS partition at ''/ | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | < | ||
- | # USB | ||
- | /dev/sdb1 /mnt/USB xfs rw, | ||
- | |||
- | sudo mount '/ | ||
- | |||
- | ===== Service ===== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [Service] | ||
- | Type=oneshot | ||
- | ExecStartPre='/ | ||
- | ExecStart='/ | ||
- | ExecStartPost='/ | ||
- | |||
- | ===== Timer ===== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [Unit] | ||
- | Description=Backup Backups to External Device | ||
- | |||
- | [Timer] | ||
- | OnCalendar=*-*-* 07:00:00 | ||
Persistent=true | Persistent=true | ||
Line 251: | Line 193: | ||
====== Notable Folders and Commands ====== | ====== Notable Folders and Commands ====== | ||
- | ===== Zypper ===== | + | |
- | + | ||
- | ==== Find Orphans ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | zypper packages --orphaned | + | |
- | + | ||
- | ==== Remove Package and Deps ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo zypper remove --clean-deps ' | + | |
- | + | ||
- | ==== Show Installed Patterns ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo zypper patterns --installed-only | + | |
- | + | ||
- | ==== Folder ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | ls '/ | + | |
- | + | ||
- | ==== List ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | zypper repos --priority | + | |
- | + | ||
- | ===== GPG Keys ===== | + | |
- | + | ||
- | ==== Check Keys ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | rpm -q gpg-pubkey --qf ' | + | |
- | + | ||
- | ==== Remove Keys ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo rpm -e x | + | |
- | + | ||
- | ===== fstrim ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo fstrim --verbose --all | + | |
- | + | ||
- | ===== Show Sensors ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo zypper install -y ' | + | |
- | + | ||
- | ===== Show CPU Frequency ===== | + | |
- | + | ||
- | grep ' | + | |
- | + | ||
- | watch -n 0.1 grep \'cpu MHz\' '/ | + | |
- | + | ||
- | ===== OpenSSL Supported Ciphers ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | openssl ciphers -v | awk ' | + | |
- | + | ||
- | ===== Partition Information ===== | + | |
- | + | ||
- | * Both commands present the same information | + | |
- | + | ||
- | df -hT | + | |
- | + | ||
- | df --human-readable --print-type | + | |
- | + | ||
- | ===== Encryption Information ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo cryptsetup -v status '/ | + | |
- | + | ||
- | ===== HT/SMT Information ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | grep -e " | + | |
- | + | ||
- | ===== Optimal GCC compiler flags ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 | perl -pe 's/ -mno-\S+// | + | |
- | + | ||
- | ===== firewalld ===== | + | |
- | + | ||
- | ==== List Active Rules ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo firewall-cmd --list-all | + | |
- | + | ||
- | ==== List Available Services ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo firewall-cmd --get-services | + | |
- | + | ||
- | ==== Show Service Info ==== | + | |
- | + | ||
- | * Change '' | + | |
- | * This shows what ports and protocols a service covers | + | |
- | + | ||
- | sudo firewall-cmd --info-service=x | + | |
- | + | ||
- | ==== Reload ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo firewall-cmd --reload | + | |
- | + | ||
- | ==== Add/Remove Service ==== | + | |
- | + | ||
- | * Add '' | + | |
- | + | ||
- | sudo firewall-cmd --add-service=x | + | |
- | + | ||
- | sudo firewall-cmd --remove-service=x | + | |
- | + | ||
- | ==== Add/Remove Port ==== | + | |
- | + | ||
- | * Add '' | + | |
- | * Change '' | + | |
- | + | ||
- | sudo firewall-cmd --add-port=x/ | + | |
- | + | ||
- | sudo firewall-cmd --remove-port=x/ | + | |
C:/www/wiki/data/pages/distros/opensuse_tumbleweed_server.txt · Last modified: 2024/06/02 12:33 by Sean Rhone