Installing Multiple Versions of Node.js on Ubuntu Using NVM
Let's look at the nvm tool for ubuntu and its basic commands for switching between node versions.
If there is still a lot of free RAM, but some operations begin to use Swap in Ubuntu, you should edit the swappiness parameter.
The swappiness parameter controls how actively the kernel moves processes from RAM to the swap disk. Because disk operations take much longer than memory operations, moving processes from memory to disk too aggressively can reduce system and application responsiveness.
This parameter can take values from 0 to 100:
swappiness=0 tells the kernel to avoid swapping processes from RAM for as long as possible. In kernel version 3.5 and later, it completely disables swapping.
swappiness=100 tells the kernel to aggressively move processes from RAM to the swap disk.
The default value in Ubuntu is swappiness=60.
Value check:
cat /proc/sys/vm/swappiness
Changing a parameter for this session (after a reboot the old one will return):
sudo sysctl vm.swappiness=20
Change parameter permanently, in file:
sudo gedit /etc/sysctl.conf
find string:
vm.swappiness=20
If it is not found, add it to the end of the file.
After these steps, restart your computer or:
sudo sysctl --load=/etc/sysctl.conf
Let's look at the nvm tool for ubuntu and its basic commands for switching between node versions.
Let's consider the possibility of changing the parameters of the configuration file (php.ini) on a hosting that does not have the ability to configure the Cron scheduler (cli) from the panel.
Configuring Apache for high volume Cookies. Let's analyze the error "Bad Request. Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit." and options to configure the server.
Let's try to cure the black screen when booting Ubuntu after installing proprietary nvidia-340 driver on Nvidia 630M laptop.
When USB 2.0-3.0 stopped working after updating Ubuntu on a laptop.