distros:opensuse_tumbleweed_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
distros:opensuse_tumbleweed_server [2022/05/14 00:39] – [General] Sean Rhone | distros:opensuse_tumbleweed_server [2024/01/02 09:45] (current) – Sean Rhone | ||
---|---|---|---|
Line 30: | Line 30: | ||
====== Installation Notes ====== | ====== Installation Notes ====== | ||
- | |||
- | * '' | ||
===== Partitioning ===== | ===== Partitioning ===== | ||
Line 37: | Line 35: | ||
- XFS | - XFS | ||
- No separate ''/ | - No separate ''/ | ||
- | - Separate | + | - No separate |
- | + | ||
- | ====== Repositories ====== | + | |
- | + | ||
- | ===== ROCm ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | * Repository Priority: 98 | + | |
- | * Provides ROCm, notably OpenCL libraries | + | |
- | + | ||
- | sudo rpm --import ' | + | |
====== Software ====== | ====== Software ====== | ||
Line 77: | Line 64: | ||
===== General ===== | ===== General ===== | ||
+ | |||
+ | ****android-tools | ||
+ | |||
+ | sudo zypper install aria2 htop p7zip-full sensors unar | ||
+ | |||
+ | ===== Intel ===== | ||
**** | **** | ||
- | | + | |
- | ===== ROCm ===== | + | ====== Settings ====== |
- | * :!: Run '' | + | ===== Laptop Server ===== |
- | | + | |
- | ===== Keybase ===== | + | sudo mkdir -p '/ |
- | | + | |
- | * :!: 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: | + | |
- | keybase | + | ===== Dell Fan Profile ===== |
- | ====== Settings ====== | + | * https:// |
+ | |||
+ | sudo zypper install -y ' | ||
===== Network ===== | ===== Network ===== | ||
Line 106: | Line 99: | ||
==== Hostname/ | ==== Hostname/ | ||
- | * https://1.1.1.1/dns/ | + | * https://quad9.net/ |
* See [[notes: | * See [[notes: | ||
* Static Hostname: '' | * Static Hostname: '' | ||
* Modify DNS Configuration: | * Modify DNS Configuration: | ||
- | * Name Server 1: '' | + | * Name Server 1: '' |
- | * Name Server 2: '' | + | * Name Server 2: '' |
- | * Name Server 3: '' | + | * Name Server 3: '' |
==== Routing ==== | ==== Routing ==== | ||
Line 120: | Line 113: | ||
* Gateway: '' | * Gateway: '' | ||
* Device: '' | * Device: '' | ||
- | |||
- | ===== Hostname ===== | ||
- | |||
- | * Change '' | ||
- | |||
- | sudo hostnamectl set-hostname ' | ||
===== lm_sensors ===== | ===== lm_sensors ===== | ||
- | **** | + | sudo sensors-detect --auto |
- | sudo sensors-detect --auto | + | sudo -e '/ |
===== Secure Shell ===== | ===== Secure Shell ===== | ||
Line 146: | Line 133: | ||
sudo -e '/ | sudo -e '/ | ||
- | ,discard | + | ,discard=once |
==== Trim ==== | ==== Trim ==== | ||
- | | + | **** |
sudo systemctl enable ' | sudo systemctl enable ' | ||
- | |||
- | ==== XFS Scrub ==== | ||
- | |||
- | * [[https:// | ||
- | * :!: Enable in all cases since it's likely both ''/'' | ||
- | |||
- | sudo systemctl enable ' | ||
- | |||
- | ===== UTC ===== | ||
- | |||
- | * [[https:// | ||
- | * Set RTC to UTC | ||
- | |||
- | sudo timedatectl set-local-rtc ' | ||
- | |||
- | ==== Verify ==== | ||
- | |||
- | **** | ||
- | |||
- | timedatectl | grep local | ||
====== Automatic Updates ====== | ====== Automatic Updates ====== | ||
Line 204: | Line 171: | ||
[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 178: | ||
====== 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/ | + | |
/var/www/wiki/data/attic/distros/opensuse_tumbleweed_server.1652503181.txt.gz · Last modified: 2022/05/14 00:39 by Sean Rhone