I’m writing this article following a number of requests, and a bit of a follow-up to a previous tutorial “Turn your Raspberry Pi 3 into a PHP 7 powered web server“. This tutorial will guide you through steps to install MySQL Server on your Raspberry Pi.
In this tutorial I’m going to go through the steps to install Apache2 and PHP 7.0 on your Raspberry Pi 3, to create the ultimate low-powered, super quick web server.
I’m going to assume that you have Raspbian installed on your Raspberry Pi 3. For the best results, I recommend running Raspbian from a USB Flash drive rather than a MicroSD card. See my tutorial on how to do this.
I’ve been running LAMP setups on Raspberry Pi’s for years, so am excited to use the little pocket-sized powerhouse that is the Raspberry Pi 2 as a web server. This is the first in a series that will see a quad core Raspberry Pi 2 run this WordPress site.
This is the first in a three part tutorial series on how to install and run NGINX on a Raspberry Pi. The first concentrates on installing and configuring Nginx web server and PHP on Raspbian OS, the second talks about installing MySQL server on Raspberry Pi, the third will walk you through installing WordPress on Nginx.
For many, Apache2 has become too bloated, and uses more resources than it needs to. Nginx is a very light-weight web server, that works great on a Raspberry Pi.
The fundamental services required to turn your Raspberry Pi into a web server consist of Apache (the web server itself), PHP (scripting language) and MySQL (database server). When installed on a Linux based system, the collective term for these is LAMP.
There are other secondary services which aren’t quite as important at this stage to provide FTP and outbound mail, but that’ll be covered in a separate tutorial.