Why I can't create droplet for wordpress on 5$/month plan

July 6, 2015 12.7k views
One-Click Install Apps WordPress

Hi,
I'd like to create a droplet (wordpress on ubuntu) but I can not select it, if I choose the cheapest plan. I have already a wordpress droplet working on this plan. So what is the reason. I dont understand. Please solve this problem

1 comment
  • You can set it up on the $5 droplet, but you have to manually install the necessary components. I rooted around for ppas for PHP 7.1, MySQL 5.7 deb from Oracle, and Apache 2.4. While Nginx has a lighter memory footprint I'm less experienced with it but I have it running.

    It's running perfectly for me and I even got Let's Encrypt's certbot-auto installed and have SSL set up with the SSL Apache mod which is more memory usage, but seems to run fine. There is an issue though as using Ubuntu 12 LTS 32-bit is the OS you want to go with for the most minimal memory footprint. When you use that version it only takes about 92 megs of memory. Also while I haven't done it yet, I used the MySQL memory calculator and you can get the MySQL footprint down to 52 megs or less.

    Below are 3 links I used to get the newest of PHP, MySQL, and Apache if you like. Later I'm gonna through a tutorial page on my site for this process for anyone that might be interested and don't want to do the footwork. If I get it up very soon and remember I'll come back and link to it.

    Some of these aren't labeled as being for Ubuntu 12 LTS, but they work anyway.
    Note: Do not install LAMP. Install these individually.

    Apache 2.4.x:
    https://ubuntuforums.org/showthread.php?t=2011603

    PHP 7.1:
    https://ayesh.me/Ubuntu-PHP-7.1

    MySQL 5.7:
    http://askubuntu.com/questions/750498/mysql-5-5-update-to-mysql-5-7

7 Answers

I've found a way around this limitation. The first thing you need to understand is that this is a limitation imposed because the install script needs more than 512mb of RAM to install correctly. Therefore, they require a $10 server as it has 1GB of ram.

An easy workaround is to setup and install an ubuntu $5 server (don't worry about which version, you'll be destroying it shortly). Then go into the droplet and do a FLEXIBLE resize to a $10 server (this will upgrade the CPU/RAM but not the HDD size). DO NOT CLICK ON PERMANENT RESIZE!

Once that is completed, go to the "destroy" menu under that droplet and rebuild it using the "Ubuntu Wordpress on 14.04" image. Since the droplet has 1GB of ram, it will allow the installation to progress.

Once that is completed, power off the droplet and do another flexible resize back to a $5 server.

Wordpress should run ok on a $5 server for most applications, so once the installation has been done on a $10 server you should be able to maintain your site on a cheaper server.

@UKn0Me is correct. WordPress and it's LAMP stack had a tendency to crash on 512MB droplets as the MySQL process would exhaust the RAM. While we have disabled the WordPress one-click image for 512MB droplets you can still create a 512MB WordPress droplet it you wish. If you paste this script into the user-data field on the create page, a WordPress site will be created for you. This repository on github also includes many other user-data scripts you can use to launch various configurations.

If you do choose to launch WordPress on a 512MB droplet it would be a good idea to also create a swap file to prevent crashing of the MySQL process.

by Justin Ellingwood
Swap space can be used as an "overflow" area for your system when you run out of RAM. The operating system can store data that would normally be kept in RAM on the hard drive in a specially formatted file. In this guide, we'll demonstrate how to create and use one of these files in Ubuntu 14.04.

Because of the low RAM of the $5/mo plan, the setup crashed when all RAM was exhausted so DO decided to disable Wordpress 1-click installations on it.

为什么我不能出现创建vps的页面呢?

If you want wordpress on a 5$ droplet then you'd need to create a droplet from scratch ubuntu (optional) and install wordpress through there yourself and add SWAP to the droplet also to allow more memory.

Thanks all of you for your good answers and time. And "ryanpq" thank you very much. It worked. Best regards...

Have another answer? Share your knowledge.