sp234sp
By:
sp234sp

Which is best LEMP+WORDPRESS one click install or Manually install one after another?

July 10, 2017 825 views
LEMP WordPress One-Click Install Apps MariaDB Ubuntu 16.04

which is the best for my website?

One click apps LEMP with ubuntu 16.04 or manually install LEMP? are they same or there is any advantage one over another.

One click app Wordpress or Manually install wordpress which describe here for security purpose which is best?

If I choose $5 droplet with LEMP and then install Wordpress 4.8 then use cloudflare and w3 total cache plugin, is there any problem for handling traffic ? or is there any good method?

After Installing LEMP, can I remove MySql and then install MariaDB? (Before install wordpress)

2 Answers

Hi @sp234sp

The One-Click App is meant to try something quickly, it's not really configured to run in production, but it can be used for that in small scale.

I would always recommend that you install your own stack (in your case LEMP), because then you know what you are running and how it's setup.
And if you install the LEMP stack yourself, then you simply install MariaDB instead of MySQL, when following that tutorial.

But unless you have experience in tuning Linux, Nginx, MariaDB and PHP, then I would recommend that you get a $10 droplet, since you would most likely run out of memory on $5, which would crash MariaDB.
This is the most common problem here in the forum, when people are having issues with their WordPress installations.

  • using Server pilot is good choice ?

    • @sp234sp
      It really depends on how much of a control freak you are :)
      ServerPilot seems like a good choice for people who don't want to maintain their own server constantly, but I prefer to have much more control.
      But I actually think they push Nginx reverse proxying Apache, then PHP, then MySQL, so you would definitely need at least 1GB RAM.

@sp234sp

The one-click for WordPress that we offer is a LAMP stack (Apache, PHP, MySQL).

Currently, we do not offer a one-click WordPress LEMP stack, though I'm hoping that'll change soon as I've put in a request for one and I'm hoping to be as involved in it as possible :-).

If they'll allow me to pass it along, then the one click I have in mind would be production ready in terms of being set up to handle light or heavier traffic (though as with any production setup, resources play a factor -- the 1GB Droplet would still be a requirement as it is now, though heavier traffic sites would need more).

In the mean time, ServerPilot is an option, though theirs is a reverse proxy setup. NGINX is in front of Apache, so you're running two web servers.

In either case though, you'd still need to know how to manage and troubleshoot all aspects of the stack, so the task of learning how to set up a working LEMP stack is a good idea in general :-).

..

This should get you started off on the right foot -- it's a very basic guide that's perfect for someone who's just getting started:

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-16-04

WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing. WordPress has seen incredible adoption and is a great choice for getting a website up and...
  • @sp234sp

    As a general note, the one-click WordPress LAMP stack requires a 1GB Droplet. The 512MB is not an option any more. The reason for this is due to MySQL almost entirely :-).

    MySQL requires a decent chunk of RAM and running a stack with only 512MB RAM is not the easiest thing to do unless you're comfortable managing the entire stack, troubleshooting, and optimizing configuration settings across all bits and pieces.

    When MySQL isn't able to acquire the RAM it needs, it'll crash and you'll see the dreaded database connection error. In some cases, MySQL crashing can also damage tables and data, which would then need to be repaired. There's various ways to go about it depending on the type (InnoDB or MyISAM), though it's hands-on.

    ...

    If you're going to deploy a full stack manually (as per the guide I linked to), 1GB would be the minimum I'd recommend, otherwise with the one-click applications, 1GB would be the only option (when it comes to WordPress).

  • It's been a long time coming. The one reason why certain hosting services appeal to a lot of people is the ease with which they can deploy their sites with Cpanel. LEMP is the newest underling craze and rightly so. Its 2017 afterall.

Have another answer? Share your knowledge.