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.
Tagged: Raspberry Pi web server
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.
Since first reading about the Raspberry Pi, I instantly started thinking of the endless possibilities for this tiny little handy PC. I went down the predictable (slightly boring and a bit geeky) route of running one as a web server, others have been a bit more imaginative then I have been. I’ve had some good results so far, this site is indeed hosted from my own Raspberry Pi computer.
The next part of my project is to install an IMAP capable mail server, but here’s some of the other uses and projects I’ve found whilst clicking on the old ‘tinterweb!
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.
In this tutorial, you’ll learn how to squeeze as much performance as possible out of your Raspberry Pi, and prepare it ready to become a live functioning web server. Be sure to follow Installing Apache, PHP and MySQL on your Raspberry Pi once you’re done.
I’m assuming you know your way around Terminal, and you’ve got Raspian installed.