How to Optimize the Performance of VPS 512 MB RAM

As you may know that an awful lot of the VPS service provider offering prices are pretty cheap, even more, expensive than shared hosting. However, you should always carefully before deciding to buy a VPS. Please check the specification of VPS offered, particularly the problem of RAM. VPS RAM or memory is very important to note. Lest you created annoyed because RAM VPS which is too small, causing some critical applications cannot be run or sudden death frequently.

This thing I had ever experienced in some VPS with 512 MB of RAM or below which I rent from the VPS Provider such as Digitalocean, Vultr, Ramnode and so on. Indeed, I can only upgrade to a larger RAM, but its main problems existed in cost should I remove it. Quite frankly I currently enable 7 VPS, VPS and if all I upgraded, then the total costs that must be incurred is 70 USD, if one of those cherished 10 USD a VPS with 1024 MB of ram. Big enough taste, considering I haven't been earning the world of online business.

Well, here's my auto-summary some point that can optimize the performance of a cheap VPS with 512 MB ram:

Enable Swap

This trick is a trick that is the nicest I have ever tried. This swap method is a method which allocates space (hard drive) for use as a RAM. This method is the easiest method and proven success to improve the performance of the VPS. Just before doing this method, please make sure to first the rest of the hard drive in your VPS and make sure the type of Harddisk on the VPS is not the type of hard disk SSD because of SSD for fear of adverse repercussions against your own VPS.

Here's how to enable the swap in Ubuntu VPS:

dd if=/dev/zero of=/swapfile bs=1M count=1024
mkswap /swapfile
swapon /swapfile

Open file /etc/fstab

nano /etc/fstab

Add this command:

/swapfile  swap      swap    defaults         0 0

Use Nginx Webserver

The webserver nginx is believed to have lighter than other webserver such as apache. That's why, if you want to install the webserver in cheap VPS festive with 512 MB ram or less, we recommend that you use only the web server nginx.

Berlangganan update artikel terbaru via email:

0 Response to "How to Optimize the Performance of VPS 512 MB RAM"

Posting Komentar

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel