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

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:distros:server:opensuse_tumbleweed_server [2025/04/25 01:41] Sean Rhonelinux:distros:server:opensuse_tumbleweed_server [2025/12/09 22:09] (current) Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * openSUSE ((https://www.opensuse.org/)) +  * openSUSE 
-  * Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed)) +  * Tumbleweed 
-  * Server ((https://get.opensuse.org/server/))+  * Server
  
-  * ''20250423''+  * Alira = Dell Precision M6500 ((Legacy/MBR)) 
 + 
 +  openSUSE Tumbleweed 
 + 
 +===== TODOs ===== 
 + 
 +  * Script for ''~/backups'' to NAS 
 +  * Auto-delete old ''~/backups'' ([[servers:linux:nginx:dokuwiki?rev=1745861772#maintenance|dokuwiki]])
  
 ====== Download ====== ====== Download ======
  
-  * http://download.opensuse.org/tumbleweed/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
  
   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+  openSUSE-Tumbleweed-DVD-x86_64-Snapshot20251106-Media.iso
  
 ====== Installation Notes ====== ====== Installation Notes ======
Line 19: Line 27:
 ===== Partitioning ===== ===== Partitioning =====
  
-  - ext4 ''/''+  - ext2 ''/''
   - No separate ''/home''   - No separate ''/home''
   - Separate ''swap'' without suspend resize   - Separate ''swap'' without suspend resize
Line 29: Line 37:
 ├─sda2   8:   0 463.8G  0 part / ├─sda2   8:   0 463.8G  0 part /
 └─sda3   8:   0     2G  0 part [SWAP]</code> └─sda3   8:   0     2G  0 part [SWAP]</code>
 +
 +===== Boot Loader =====
 +
 +  * GRUB2
  
 ====== Software ====== ====== Software ======
Line 39: Line 51:
  
 ===== Update ===== ===== Update =====
 +
 +==== System ====
  
 **** ****
Line 51: Line 65:
  
   sudo zypper install 'nano' && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc'   sudo zypper install 'nano' && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc'
 +
 +===== Remove =====
 +
 +  sudo zypper remove --clean-deps 'plymouth'
 +
 +  sudo zypper addlock 'plymouth'
  
 ===== General ===== ===== General =====
Line 56: Line 76:
 **** ****
  
-  sudo zypper install aria2 binutils chrony htop 7zip sensors unar +  sudo zypper install aria2 htop 7zip sensors unar 
  
 ===== CPU microcode ===== ===== CPU microcode =====
Line 74: Line 94:
   sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf'   sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf'
  
-===== GRUB ===== +===== NetworkManager =====
- +
-==== Config ==== +
- +
-  * :!: [[notes:kernel_parameters|More Kernel Parameters]] +
- +
-  sudo yast2 'bootloader' +
- +
-==== Oak ====+
  
-  * Last updated2024/05/10 +  * [[servers:upstream_dns_servers|More DNS Servers]]
- +
-<code>preempt='none' nohz='off' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' pcie_aspm='off' modprobe.blacklist='sp5100_tco' nowatchdog</code> +
- +
-===== NetworkManager =====+
  
 <code>nmcli con show</code> <code>nmcli con show</code>
  
-<code>sudo nmcli connection modify 'Wired connection 1' 'ipv4.dns' '192.168.1.1,1.1.1.2,1.0.0.2'</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' '2606:4700:4700::1112,2606:4700:4700::1002'</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 110: Line 118:
   sudo -e '/etc/sysconfig/lm_sensors'   sudo -e '/etc/sysconfig/lm_sensors'
  
-===== Secure Shell =====+====== Boot Loader ======
  
-  * See [[clients:secure_shell#generate_ssh_keys|Client Generate SSH Keys]] notes to generate/restore public key+  * Boot Code Options -> Boot Loader''GRUB2'' 
 +  * Kernel Parameters -> CPU Mitigations: ''Auto'' 
 +  * Kernel Parameters -> '']'' Graphical console 
 +  * Bootloader Options -> Timeout in Seconds: ''0'' 
 +  * Bootloader Options -> '']'' Probe Foreign OS
  
-===== Disk Drives =====+  sudo yast2 'bootloader'
  
-==== Swap ====+===== Alira =====
  
-  * Add ''discard'' after ''defaults'' for the ''swap'' mountpoint ((defaults,discard))+  * [[linux:notes:kernel_parameters|More Kernel Parameters]] 
 +  * Last updated: 2025/12/09
  
-  sudo -e '/etc/fstab'+  acpi_osi='Linux' reboot='pci' hibernate='no' preempt='full' iommu='pt' pci='pcie_bus_perf' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0' hostname='localhost' nomodeset module_blacklist='amdgpu'
  
-  ,discard=once+==== modprobe.d ====
  
-  swap  defaults,discard=once+  * [[linux;notes;modprobe.d_tweaks#alira|Notes]]
  
-==== Trim ====+==== Dracut ====
  
-****+  sudo -e '/etc/dracut.conf.d/99-alira.conf' && sudo dracut --force --regenerate-all
  
-  sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l+<code> 
 +kernel_cmdline="rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0" 
 + 
 +omit_drivers+=" radeon " 
 +omit_dracutmodules+=" i18n resume " 
 + 
 +# End</code> 
 + 
 +==== systemd-analyze ==== 
 + 
 +  * 2025/12/09 
 + 
 +<code> 
 +Startup finished in 1.314s (kernel) + 2.195s (initrd) + 6.832s (userspace) = 10.342s  
 +multi-user.target reached after 6.831s in userspace.</code> 
 + 
 +  systemd-analyze 
 + 
 +==== lsinitrd ==== 
 + 
 +  * 2025/12/09 
 + 
 +  Image: /boot/initrd-6.18.0-1-default: 37M 
 + 
 +  lsinitrd 
 + 
 +====== Drive Maintenance ====== 
 + 
 +===== Trim ===== 
 + 
 +  sudo systemctl enable 'fstrim.timer' --now 
 + 
 +  sudo systemctl start 'fstrim' && sudo systemctl status 'fstrim' -l 
 + 
 +  sudo fstrim -v -a
  
 ===== 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 +****
-  This sets the hardware clock to the current system/OS clock +
-  TODO: Figure out ''chrony'' command to do NTP sync+
  
-  sudo hwclock --systohc+  sudo timedatectl 'set-ntp' 'true' && sudo hwclock --systohc && timedatectl status
  
 ====== Automatic Updates ====== ====== Automatic Updates ======
Line 149: Line 194:
 [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 164: Line 213:
 <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 173: Line 222:
  
 [Install] [Install]
-WantedBy=timers.target</code>+WantedBy=timers.target 
 + 
 +# End</code> 
 + 
 +====== Tweaks ====== 
 + 
 +===== 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 -fv '/etc/dracut.conf.d/99-custom.conf' && sudo dracut --force --regenerate-all
  
 ====== 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.1745559672.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki