Quickest way to get a LEMP stack running....
Or am I better off just using the LEMP Guide from the Library, which I've done before? That isn't quite as easy as "pointy-clicky-done".
3 Replies
I found that the linode guide is out of date, nginx has changed a bit since then and ubuntu's repos are WAY out of date for nginx.
It has the option of installing the latest stable version of nginx, however it doesn't automatically configure nginx to talk to php since everyones configuration will be different you're expected to do that bit yourself.
Have a browse of
8 years old but this question is still top of "LEMP" search results…
These days APC is dead, even Memcached is much less popular because now Redis is mainstream (and/or Nginx FastCGI Cache for page caching). If you are using a PHP-based CMS like Wordpress, the Redis can be used for object caching only, and FastCGI cache for page cache.
Also PHP 7+ has OPcache enabled by default.
Best LEMP stack these days is:
Ubuntu LTS + Nginx + MySQL (or MariaDB) + PHP-FPM + Redis (+ Memcached optional)
SlickStack (Bash) or EasyEngine (Docker) does this for WordPress:
https://github.com/littlebizzy/slickstack
https://github.com/EasyEngine/easyengine
Or manual steps:
https://www.linode.com/docs/web-servers/lemp/