Linux VPS adds SWAP (swap partition)

In addition to sharing, all articles on the blog are also records: sharing VPS product and discount information, recording problems encountered during use, and solutions found on the Internet. When playing with Alibaba Cloud, I found that it did not have SWAP, so I wanted to add SWAP (swap partition) to it, so I have this recorded text.

LOCVPS: 54 yuan/month Hong Kong XEN-1GB/20G SSD/2M unlimited

LOCVPS is an old Chinese VPS service provider. It also has the HostKVM brand based on the KVM architecture. LOCVPS provides VPS products based on the XEN architecture. The data centers include Los Angeles MC, Los Angeles Peer1, and Phoenix City IO, San Jose HE, and Hong Kong pangnet, Hong Kong Shatin Telecom, etc.

Subscribe to VPS Offers