VPS

30 May, 2026 VPS

How to add a swap file on a VPS

Rating: (24)

Creating the swap file To begin with, before creating a swap file, it is advisable to check the list of mounted partitions and their size. To do this, execute the df -h command. In this example, a swap file will be created in the /var directory with a size of 4GB. Creating a swap file sudo touch /var/.swap.img sudo chmod 600 /var/.swap.img We fill the file with zeros to the desired size. In this example, the swa...

Read more →
30 May, 2026 VPS

External firewall settings

Rating: (39)

Configuring an external firewall can provide an additional layer of security for your virtual machines and environment Go to the VPS management menu Log in to your personal account using your credentials Go to the "Services - My Services" section Select the required VPS and go to its management page Creating firewall rules Select the "Firewall" tab in the left sidebar Click the "+ Add" button to create a new fir...

Read more →