A swap file allows Linux to simulate the disk space as RAM. When your system starts running out of RAM, it uses the swap space to and swaps some content of the RAM on to the disk space. This frees up the RAM to serve more important processes. When the RAM is free again, it swaps back the data from the disk.
For web developer like us, we eventually has many projects sitting on our applications directory. Sometimes it turns out that different projects require different dependencies and even different versions of the same libraries. By changing the environment for one project globally, we change the configuration for all other projects, which later could introduce compatibility issues. This is extremely burdensome when we often switch between them and therefore difficult to maintain all running projects.
As a full-time web developer, my daily task is to develop a website. Well, that's kinda obvious. But there are some skills required to support my main task:
Ubuntu 18.04 Bionic Beaver actually comes with MariaDB, but the default version on upstream repositories are still using version 10.1. How if we want to use the latest version (10.4 at the time of this writing)?