How can I set up a LAMP/LEMP stack on my Linode?
I want to host a website using a web server, PHP, and MySQL but I am not sure where to start. Can anyone help me out?
A great place to start would be in our Docs library -- we've got plenty of guides that will walk you through installing either a LAMP (Apache/PHP/MySQL) or a LEMP (Nginx/PHP/MySQL) stack on your Linode. Here's a few of the most common:
Don't forget to secure your server!
LEMP is mostly recognized as better performance these days and easier to scale, esp. if you have only one website on the server.
I think Linode's LEMP script are decent, but not very optimized. Their LAMP script is okay if you absolutely need Apache. Many people don't realize that Nginx works perfectly without the Apache backend, esp. if you only have a single (high traffic?) website.
See my answer here. Third party (FOSS) scripts like SlickStack, EasyEngine, WordOps, Webinoly, work great for WordPress on Linode. EE is using Docker, SS and Webinoly are Bash-only (very lightweight/secure) and WordOps is a bit heavier and requires Python (also includes a portal software, if you're into that).
For non-WordPress you can go crazy with Centminmod or VPSSIM or check one of the many free Docker playbooks on Github.