After a fresh installation of Ubuntu Server, I usually install and configure several popular software packages and tools.
Adding Swap Space
If swap space is not already configured, I recommend adding it based on the server’s available memory and workload requirements. The appropriate swap size can vary depending on the system’s needs.
For example, if the server has 2 GB of RAM, you could allocate 2 GB of swap space as well.