User Tools

Site Tools


linux:distros:server:opensuse_tumbleweed_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:distros:server:opensuse_tumbleweed_server [2024/08/13 16:59] – created Sean Rhonelinux:distros:server:opensuse_tumbleweed_server [2025/09/11 21:40] (current) Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * openSUSE ((https://www.opensuse.org)) +  * openSUSE 
-  * Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed))+  * Tumbleweed
   * Server   * Server
  
-====== Download ======+===== TODOs =====
  
-  * http://download.opensuse.org/tumbleweed/iso/+  * Script for ''~/backups'' to NAS 
 +  * Auto-delete old ''~/backups'' ([[servers:linux:nginx:dokuwiki?rev=1745861772#maintenance|dokuwiki]]) 
 +  * XFS maintenance scripts + ''scrub''
  
-===== DVD + Xfce Live =====+====== Download ======
  
-  * Downloads the latest DVD (with SHA256 compare) and Xfce Live images with ''aria2c'' +  * https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256
- +
-  cd ~/'Downloads' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256' && aria2c 'http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso' && sha256sum ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso' && cat ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso.sha256' && sync +
- +
-===== DVD ===== +
- +
-  * ISO and SHA256 hash+
  
   http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso   http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso
- 
-  https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256 
- 
-===== Xfce ===== 
- 
-  * For LiveUSB 
- 
-  https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso 
  
 ====== Installation Notes ====== ====== Installation Notes ======
Line 33: Line 21:
 ===== Partitioning ===== ===== Partitioning =====
  
-  - ext4+  - XFS ''/''
   - No separate ''/home''   - No separate ''/home''
-  - :!: Separate ''swap'' with suspend resize+  - Separate ''swap'' without suspend resize
  
-====== Software ======+<code> 
 +NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS 
 +sda      8:0    0 465.8G  0 disk  
 +├─sda1   8:   0     8M  0 part  
 +├─sda2   8:   0 463.8G  0 part / 
 +└─sda3   8:   0     2G  0 part [SWAP]</code>
  
-===== List ===== +====== Software ======
- +
-  * http://download.opensuse.org/tumbleweed/repo/+
  
 ===== Disable USB Source ===== ===== Disable USB Source =====
Line 71: Line 62:
 ===== CPU microcode ===== ===== CPU microcode =====
  
-  ucode-amd+****
  
   ucode-intel   ucode-intel
  
 ====== Settings ====== ====== Settings ======
 +
 +===== hostname =====
 +
 +  sudo hostnamectl hostname 'Alira'
 +
 +  sudo hostnamectl hostname 'x'
  
 ===== Laptop Server ===== ===== Laptop Server =====
Line 84: Line 81:
  
   sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf'   sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf'
- 
-===== Dell Fan Profile ===== 
- 
-  * https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager 
- 
-  sudo zypper install -y 'python3-smbios-utils' && sudo smbios-thermal-ctl --set-thermal-mode='performance' && sudo zypper remove --clean-deps -y 'python3-smbios-utils' 
  
 ===== GRUB ===== ===== GRUB =====
Line 95: Line 86:
 ==== Config ==== ==== Config ====
  
-  * :!: [[notes:kernel_parameters|More Kernel Parameters]]+  * [[linux:notes:kernel_parameters|More Kernel Parameters]]
  
   sudo yast2 'bootloader'   sudo yast2 'bootloader'
  
-==== Oak ====+==== Alira ====
  
-  * Last updated: 2024/05/10+  * 2025/09/10
  
-<code>preempt='nonenohz='off' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' pcie_aspm='off' modprobe.blacklist='sp5100_tconowatchdog</code>+<code>preempt='fulliommu='pt' pci='nocrs,pcie_bus_perf,realloc,pcie_scan_all,big_root_window'</code> 
 + 
 +===== Dracut ===== 
 + 
 +  sudo -e '/etc/dracut.conf.d/99-custom.conf&& sudo dracut --force --regenerate-all 
 + 
 +<code> 
 +# Compression 
 +compress="cat" 
 + 
 +# Machine-specific 
 +do_strip="yes" 
 +aggressive_strip="yes" 
 +hostonly="yes" 
 +hostonly_mode="strict" 
 + 
 +# End</code> 
 + 
 +==== Undo ==== 
 + 
 +**** 
 + 
 +  sudo rm -f '/etc/dracut.conf.d/99-custom.conf' && sudo dracut --force --regenerate-all
  
 ===== NetworkManager ===== ===== NetworkManager =====
  
-  * TODOMake a static Ethernet profile with these settings, attach it to a device(?), and activate it to replace whatever gets created by-default ((''Wired connection 1'' appeared after replacing a network card and didn't follow the ''enp0s'' scheme))+  * [[servers:upstream_dns_servers|More DNS Servers]]
  
 <code>nmcli con show</code> <code>nmcli con show</code>
Line 113: Line 126:
 <code>sudo nmcli connection modify 'Wired connection 1' 'ipv4.dns' '192.168.1.1,9.9.9.9,149.112.112.112'</code> <code>sudo nmcli connection modify 'Wired connection 1' 'ipv4.dns' '192.168.1.1,9.9.9.9,149.112.112.112'</code>
  
-<code>sudo nmcli connection modify 'Wired connection 1' 'ipv6.dns' '2620:fe::fe,2620:fe::9,2606:4700:4700::1112'</code>+<code>sudo nmcli connection modify 'Wired connection 1' 'ipv6.dns' '2620:fe::fe,2620:fe::9'</code>
  
 <code>sudo nmcli connection modify 'Wired connection 1' 'ipv4.address' '192.168.1.152/24'</code> <code>sudo nmcli connection modify 'Wired connection 1' 'ipv4.address' '192.168.1.152/24'</code>
Line 129: Line 142:
   sudo -e '/etc/sysconfig/lm_sensors'   sudo -e '/etc/sysconfig/lm_sensors'
  
-===== Secure Shell =====+====== fstab ======
  
-  * See [[clients:secure_shell#generate_ssh_keys|Client - Generate SSH Keys]] notes to generate/restore public key+  * ''swap''
  
-===== Disk Drives =====+  sudo -e '/etc/fstab'
  
-==== Swap ====+  ,discard=once
  
-  * Add ''discard'' after ''defaults'' for the ''swap'' mountpoint ((defaults,discard)) +====== Drive Maintenance ======
-  * According to the ''swapon'' man page, setting this in ''fstab'' is acceptable+
  
-  sudo -e '/etc/fstab'+===== Trim =====
  
-  ,discard=once+  sudo systemctl enable 'fstrim.timer' --now 
 + 
 +  sudo systemctl start 'fstrim' && sudo systemctl status 'fstrim' -l 
 + 
 +  sudo fstrim -v -a
  
-==== Trim ====+===== XFS =====
  
 **** ****
  
-  sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim&& sync && sudo systemctl status 'fstrim' -l+  sudo xfs_fsr -v '/' 
 + 
 +==== Repair ==== 
 + 
 +  sudo umount '/dev/sda2' 
 + 
 +  sudo xfs_repair -v '/dev/sda2' 
 + 
 +=== NAS === 
 + 
 +  * [[servers:linux:vsftpd]] 
 + 
 +  sudo systemctl stop 'vsftpd' 
 + 
 +  sudo umount '/dev/sdb' 
 + 
 +  sudo xfs_repair -v '/dev/sdb' 
 + 
 +  sudo mount '/dev/sdb' 
 + 
 +  sudo xfs_fsr -v '/dev/sdb' 
 + 
 +  sudo systemctl start 'vsftpd'
  
 ===== Time ===== ===== Time =====
  
-  * :?: 2024/05/06: On GNOME, even though ''chrony'' does NTP sync, it doesn't seem to write it to the hardware clock which is usually wrong after a CMOS reset ((starting Firefox quickly after rebooting has a wrong system clock certificate failure error)); it's not known if this affects Server +  * TODO: NTP sync
-  * This sets the hardware clock to the current system/OS clock +
-  * TODO: Figure out ''chrony'' command to do NTP sync+
  
   sudo hwclock --systohc   sudo hwclock --systohc
Line 167: Line 203:
 [Service] [Service]
 Type=oneshot Type=oneshot
 +
 ExecStartPre='/usr/bin/zypper' clean --all ExecStartPre='/usr/bin/zypper' clean --all
 +
 ExecStart='/usr/bin/zypper' --non-interactive refresh --force --services ExecStart='/usr/bin/zypper' --non-interactive refresh --force --services
 ExecStart='/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change ExecStart='/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change
 +
 ExecStartPost='/usr/bin/sync' ExecStartPost='/usr/bin/sync'
-ExecStartPost='/usr/bin/systemctl' reboot</code>+ExecStartPost='/usr/bin/systemctl' reboot 
 + 
 +# End</code>
  
 ===== Timer ===== ===== Timer =====
  
-  * 06:00 Oak +  * ''06:00'' Alira
-  * 06:10 Alira+
  
   sudo -e '/etc/systemd/system/suse-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'suse-up.timer' --now   sudo -e '/etc/systemd/system/suse-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'suse-up.timer' --now
Line 182: Line 222:
 <code> <code>
 [Unit] [Unit]
-Description=Software Package Maintenance and Updater+Description=openSUSE OS Updater
 After=network-online.target After=network-online.target
 Wants=network-online.target Wants=network-online.target
Line 191: Line 231:
  
 [Install] [Install]
-WantedBy=timers.target</code>+WantedBy=timers.target 
 + 
 +# End</code>
  
 ====== Notable Folders and Commands ====== ====== Notable Folders and Commands ======
  
-  * See [[notes:misc_linux]]+  * See [[linux:notes:misc]]
  
/srv/www/wiki/data/attic/linux/distros/server/opensuse_tumbleweed_server.1723582792.txt.gz · Last modified: by Sean Rhone