From CLI just copy and paste below code, it will create 5 swapfile which is 4G each, and auto start at boot also
sudo fallocate -l 4G /swapfile06 sudo fallocate -l 4G /swapfile07 sudo fallocate -l 4G /swapfile08 sudo fallocate -l 4G /swapfile09 sudo fallocate -l 4G /swapfile10 sudo chmod 600 /swapfile06 sudo chmod 600 /swapfile07 sudo chmod 600 /swapfile08 sudo chmod 600 /swapfile09 sudo chmod 600 /swapfile10 sudo mkswap /swapfile06 sudo mkswap /swapfile07 sudo mkswap /swapfile08 sudo mkswap /swapfile09 sudo mkswap /swapfile10 sudo swapon /swapfile06 sudo swapon /swapfile07 sudo swapon /swapfile08 sudo swapon /swapfile09 sudo swapon /swapfile10 echo '/swapfile06 none swap sw 0 0' | sudo tee -a /etc/fstab echo '/swapfile07 none swap sw 0 0' | sudo tee -a /etc/fstab echo '/swapfile08 none swap sw 0 0' | sudo tee -a /etc/fstab echo '/swapfile09 none swap sw 0 0' | sudo tee -a /etc/fstab echo '/swapfile10 none swap sw 0 0' | sudo tee -a /etc/fstab