In this guide, we’ll explore the essential things to do after installing OpenSUSE.
In OpenSUSE, the following command is used to update the system:
sudo zypper ref && sudo zypper up
if you are running OpenSUSE Tumbleweed, make sure to run the following command to make sure that your distro version is up to date:
sudo zypper dup
Decrease Swapiness
Check the current swappiness value by executing:
cat /proc/sys/vm/swappiness # 60 (default)
Open /etc/sysctl.conf for editing:
sudo nano /etc/sysctl.conf
Add vm.swappiness=10 at the end and save the file. Then press CTRL + O to write the changes, and CTRL + X to exit nano.
Reboot your system and check the swappiness value:
cat /proc/sys/vm/swappiness # 10
