linux:distros:server:opensuse_tumbleweed_server
This is an old revision of the document!
Table of Contents
Information
- openSUSE
- Tumbleweed
- Server
openSUSE Tumbleweed
TODOs
- Script for
~/backupsto NAS - Auto-delete old
~/backups(dokuwiki)
Download
http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso
openSUSE-Tumbleweed-DVD-x86_64-Snapshot20251106-Media.iso
Installation Notes
Partitioning
- ext2
/ - No separate
/home - Separate
swapwithout suspend resize
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 8M 0 part ├─sda2 8:2 0 463.8G 0 part / └─sda3 8:3 0 2G 0 part [SWAP]
Boot Loader
- GRUB2
Software
Disable USB Source
sudo zypper modifyrepo --disable --medium-type 'hd'
Update
System
sudo zypper clean --all && sudo zypper refresh --force --services && sudo zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync
GNU nano
- Installs
nano - Sets
VISUALandEDITORtonanovia environment variable - Sets
nowrapfor current user
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
sudo zypper install aria2 htop 7zip sensors unar
CPU microcode
ucode-intel
Settings
Laptop Server
- This tells
systemdto ignore Lid close events and prevents system suspend
sudo mkdir -p '/etc/systemd/logind.conf.d' && echo -e "[Login]\nHandleLidSwitch=ignore" | sudo tee '/etc/systemd/logind.conf.d/99-laptop-server.conf' > '/dev/null'
sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf'
NetworkManager
nmcli con show
sudo nmcli connection modify 'Wired connection 1' 'ipv4.dns' '192.168.1.1,9.9.9.9,149.112.112.112'
sudo nmcli connection modify 'Wired connection 1' 'ipv6.dns' '2620:fe::fe,2620:fe::9'
sudo nmcli connection modify 'Wired connection 1' 'ipv4.address' '192.168.1.152/24'
sudo nmcli connection modify 'Wired connection 1' 'ipv4.gateway' '192.168.1.1'
sudo nmcli connection modify 'Wired connection 1' 'ipv4.method' 'manual'
sudo nmcli connection up 'Wired connection 1'
lm_sensors
sudo sensors-detect --auto
sudo -e '/etc/sysconfig/lm_sensors'
Boot Loader
- Boot Code Options → Boot Loader:
GRUB2 - Boot Code Options →
[ ]Secure Boot Support - Kernel Parameters → CPU Mitigations:
Off - Kernel Parameters →
[ ]Graphical console - Bootloader Options → Timeout in Seconds:
0 - Bootloader Options →
[ ]Probe Foreign OS
sudo yast2 'bootloader'
Alira
- Last updated: 2025/12/06
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
modprobe.d
Dracut
sudo -e '/etc/dracut.conf.d/99-alira.conf' && sudo dracut --force --regenerate-all
kernel_cmdline="rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0" omit_drivers+=" radeon " omit_dracutmodules+=" i18n resume " # End
systemd-analyze
- 2025/12/09
Startup finished in 1.254s (kernel) + 6.690s (initrd) + 6.857s (userspace) = 14.802s multi-user.target reached after 6.857s in userspace.
systemd-analyze
lsinitrd
- 2025/12/09
Image: /boot/initrd-6.18.0-1-default: 36M
lsinitrd
Drive Maintenance
Trim
sudo systemctl enable 'fstrim.timer' --now
sudo systemctl start 'fstrim' && sudo systemctl status 'fstrim' -l
sudo fstrim -v -a
Time
sudo timedatectl 'set-ntp' 'true' && sudo hwclock --systohc && timedatectl status
Automatic Updates
Service
sudo -e '/etc/systemd/system/suse-up.service'
[Service] Type=oneshot ExecStartPre='/usr/bin/zypper' clean --all 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 ExecStartPost='/usr/bin/sync' ExecStartPost='/usr/bin/systemctl' reboot # End
Timer
06:00Alira
sudo -e '/etc/systemd/system/suse-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'suse-up.timer' --now
[Unit] Description=openSUSE OS Updater After=network-online.target Wants=network-online.target [Timer] OnCalendar=*-*-* 06:00:00 Persistent=true [Install] WantedBy=timers.target # End
Tweaks
Dracut
sudo -e '/etc/dracut.conf.d/99-custom.conf' && sudo dracut --force --regenerate-all
# Compression compress="cat" # Machine-specific do_strip="yes" aggressive_strip="yes" hostonly="yes" hostonly_mode="strict" # End
Undo
sudo rm -fv '/etc/dracut.conf.d/99-custom.conf' && sudo dracut --force --regenerate-all
Notable Folders and Commands
- See misc
/srv/www/wiki/data/attic/linux/distros/server/opensuse_tumbleweed_server.1765335321.txt.gz · Last modified: by Sean Rhone
