distros:opensuse_tumbleweed_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
distros:opensuse_tumbleweed_server [2019/05/28 08:42] – Sean Rhone | distros:opensuse_tumbleweed_server [2019/05/28 08:46] – Sean Rhone | ||
---|---|---|---|
Line 278: | Line 278: | ||
====== Notable Folders and Commands ====== | ====== Notable Folders and Commands ====== | ||
- | ===== Zypper | + | ===== Zypper ===== |
+ | |||
+ | ==== Find Orphans ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | zypper packages --orphaned | ||
+ | |||
+ | ==== Remove Package and Deps ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo zypper remove --clean-deps ' | ||
+ | |||
+ | ==== Show Installed Patterns ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo zypper patterns --installed-only | ||
==== Folder ==== | ==== Folder ==== | ||
Line 290: | Line 308: | ||
**** | **** | ||
- | zypper | + | zypper |
===== GPG Keys ===== | ===== GPG Keys ===== | ||
Line 318: | Line 336: | ||
watch -n 0.1 grep \'cpu MHz\' '/ | watch -n 0.1 grep \'cpu MHz\' '/ | ||
- | ===== Partition Information | + | ===== OpenSSL Supported Ciphers |
**** | **** | ||
+ | |||
+ | openssl ciphers -v | awk ' | ||
+ | |||
+ | ===== Partition Information ===== | ||
+ | |||
+ | * Both commands do the same things | ||
df -hT | df -hT | ||
+ | |||
+ | df --human-readable --print-type | ||
===== Encryption Information ===== | ===== Encryption Information ===== | ||
Line 329: | Line 355: | ||
sudo cryptsetup -v status '/ | sudo cryptsetup -v status '/ | ||
+ | |||
+ | ===== ATA Secure Erase ===== | ||
+ | |||
+ | * :!: All '' | ||
+ | |||
+ | ==== Preparation ==== | ||
+ | |||
+ | sudo zypper install ' | ||
+ | |||
+ | sudo hdparm -I '/ | ||
+ | |||
+ | systemctl suspend | ||
+ | |||
+ | ==== ATA Secure Erase ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== NVMe Erase ===== | ||
+ | |||
+ | * NVMe Erase from the start page lands here and I usually use a Ubuntu LiveUSB to do this, hence the '' | ||
+ | |||
+ | sudo apt install ' | ||
+ | |||
+ | sudo zypper install ' | ||
+ | |||
+ | sudo nvme format '/ | ||
+ | |||
+ | ===== Clean EFI Variables ===== | ||
+ | |||
+ | * :!: Could potentially cause a firmware brick or other issues with improper EFI implementations, | ||
+ | * Safer way is to use '' | ||
+ | |||
+ | sudo rm -f '/ | ||
+ | |||
+ | ===== RAID ===== | ||
+ | |||
+ | ==== Controller Details ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo mdadm --detail-platform | ||
+ | |||
+ | ==== Create Software RAID ==== | ||
+ | |||
+ | * :?: Came from old notes; I **assume** this worked at some point, but in any case, the syntax looks nice :p | ||
+ | |||
+ | sudo mdadm --create '/ | ||
===== Hyper-threading Information ===== | ===== Hyper-threading Information ===== | ||
Line 341: | Line 418: | ||
gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 | perl -pe 's/ -mno-\S+// | 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-service | ||
+ | |||
+ | ==== 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/ | ||
====== Privacy ====== | ====== Privacy ====== | ||
Line 352: | Line 466: | ||
===== Create 7z Password Archive ===== | ===== Create 7z Password Archive ===== | ||
- | * Change '' | + | * Change '' |
- | * Change '' | + | * Change '' |
+ | * Change '' | ||
+ | |||
+ | 7za a ' | ||
- | 7za a ' | + | 7za a ' |
/var/www/wiki/data/pages/distros/opensuse_tumbleweed_server.txt · Last modified: 2024/01/02 09:45 by Sean Rhone