Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
distros:opensuse_tumbleweed_server [2023/09/12 15:10] – Sean Rhone | distros:opensuse_tumbleweed_server [2024/05/10 23:18] – [Time] Sean Rhone |
---|
===== DVD + Xfce Live ===== | ===== DVD + Xfce Live ===== |
| |
* Downloads the latest DVD and Xfce Live images | * Downloads the latest DVD (with SHA256 compare) and Xfce Live images with ''aria2c'' |
| |
cd ~/'Downloads' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso' && aria2c 'http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256' && sha256sum ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso' && cat ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso.sha256' && sync | 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 ===== | ===== DVD ===== |
| |
====== Installation Notes ====== | ====== Installation Notes ====== |
| |
* ''EFI/opensuse/grubx64.efi'' ((EFI file to boot and in the case of Acer laptops, add to SecureBoot trust; doesn't matter if SecureBoot is enabled or not)) | |
| |
===== Partitioning ===== | ===== Partitioning ===== |
- ext4 | - ext4 |
- No separate ''/home'' | - No separate ''/home'' |
- Separate ''swap'' | - :!: Separate ''swap'' with suspend resize |
| |
====== Software ====== | ====== Software ====== |
**** | **** |
| |
sudo zypper install android-tools aria2 binutils flashrom hdparm htop irqbalance nano openssl-1_1 p7zip-full sensors python3-smbios-utils unar wget | sudo zypper install aria2 binutils chrony htop 7zip sensors unar |
| |
===== Intel ===== | ===== CPU microcode ===== |
| |
**** | ucode-amd |
| |
ucode-intel intel-media-driver | ucode-intel |
| |
====== Settings ====== | ====== Settings ====== |
* https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager | * https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager |
| |
sudo smbios-thermal-ctl --set-thermal-mode='performance' | sudo zypper install -y 'python3-smbios-utils' && sudo smbios-thermal-ctl --set-thermal-mode='performance' && sudo zypper remove --clean-deps -y 'python3-smbios-utils' |
| |
===== Network ===== | ===== GRUB ===== |
| |
**** | ==== Config ==== |
| |
sudo yast2 'lan' | * :!: [[notes:kernel_parameters|More Kernel Parameters]] |
| |
==== Hostname/DNS ==== | sudo yast2 'bootloader' |
| |
* https://quad9.net/ | ==== Oak ==== |
* See [[notes:dns_servers|DNS servers]] for other DNS servers | |
| |
* Static Hostname: ''Computer name'' | * Last updated: 2024/05/10 |
* Modify DNS Configuration: ''Use Custom Policy'' | |
* Name Server 1: ''9.9.9.9'' | |
* Name Server 2: ''149.112.112.112'' | |
* Name Server 3: ''1.1.1.2'' | |
| |
==== Routing ==== | <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> |
| |
* Destination: ''default'' | ===== NetworkManager ===== |
* Gateway: ''192.168.1.1'' | |
* Device: ''-'' | <code>nmcli con show</code> |
| |
| <code>sudo nmcli connection modify 'enp2s0' 'ipv4.dns' '9.9.9.9,149.112.112.112,1.1.1.2'</code> |
| |
| <code>sudo nmcli connection modify 'enp2s0' 'ipv6.dns' '2620:fe::fe,2620:fe::9,2606:4700:4700::1112'</code> |
| |
| <code>sudo nmcli connection modify 'enp2s0' 'ipv4.address' '192.168.1.152/24'</code> |
| |
| <code>sudo nmcli connection modify 'enp2s0' 'ipv4.gateway' '192.168.1.1'</code> |
| |
| <code>sudo nmcli connection modify 'enp2s0' 'ipv4.method' 'manual'</code> |
| |
| <code>sudo nmcli connection up 'enp2s0'</code> |
| |
===== lm_sensors ===== | ===== lm_sensors ===== |
* See [[clients:secure_shell#generate_ssh_keys|Client - Generate SSH Keys]] notes to generate/restore public key | * See [[clients:secure_shell#generate_ssh_keys|Client - Generate SSH Keys]] notes to generate/restore public key |
| |
===== Drive Maintenance ===== | ===== Disk Drives ===== |
| |
==== Swap ==== | ==== Swap ==== |
sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l | sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l |
| |
==== XFS Scrub ==== | ===== Time ===== |
| |
* [[https://wiki.archlinux.org/title/XFS#Online_Metadata_Checking_(scrub)|XFS - ArchWiki]] | * :?: 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 |
sudo systemctl enable 'xfs_scrub_all.timer' --now && sudo systemctl start 'xfs_scrub_all' && sync && sudo systemctl status 'xfs_scrub_all' -l | * TODO: Figure out ''chrony'' command to do NTP sync |
| |
===== UTC ===== | |
| |
* [[https://wiki.archlinux.org/index.php/System_time#Time_standard|ArchWiki]] | |
* Set RTC to UTC | |
| |
sudo timedatectl set-local-rtc '0' | |
| |
==== Verify ==== | |
| |
**** | |
| |
timedatectl | grep local | sudo hwclock --systohc |
| |
====== Automatic Updates ====== | ====== Automatic Updates ====== |