LAMP server is an excellent introduction to web servers we are going to install a lamp server on to a Raspberry Pi.
In this blog I want to give an overview on what we will be doing, linking out to resources to hopefully give you a background to a LAMP server from the ground up.
Raspberry Pi’s are excellent pieces of kit for any budding computer nerd, they’re cheap, easy to use, easy to learn and very versatile, you can literally compute anything on them small scale.
I have run simple streaming software on them such as Kodi to running a load balanced web server utilising them as the front end web application servers which I will go into on another tutorial.
So, why would you want to use a Raspberry Pi as a web server, well its a great way for you to learn the back end server architecture of a website, if you are getting in to website development, then this is a great way to host your progressing website.
After this tutorial you will be able to host a simple html document, or be a little more adventurous and install WordPress CMS on to it.
What is a LAMP server?
A LAMP server is a combination of the following:
- Linux Operating System
- Apache HTTP Server (web server)
- MySql Database
- PHP Backend web language
For a simple HTML document we really only need the first two being Linux and Apache, but it’s just as easy to install all four, this process is basically the standard of a web server.
They’re many styles of web server architecture but I find this one the easiest to set up and go, once you get your head around it, it can take literally minutes to do once the main operating system is installed.
What will be involved?
Install Apache HTTP Server on the Raspberry Pi to give us the ability to host web pages.
Install MySql Database this gives us database functionality for either your personal backend storage or simply to use with PHP based open source content management systems such as the ever popular WordPress.
And finally install PHP modules on the Apache HTTP Server to give us the ability to use the PHP language, again this can be for your own development or to host PHP CMS systems.
If you’re an absolute beginner, this may sound daunting, I do hope to write these tutorials as simply as possible to enable everyone to follow with ease.
If you have experience with Raspberry Pi Lamp Server installations and you feel I have missed anything feel free to comment below.
Thank you for following, if you like this blog, please like, share and subscribe for more tutorials.
Here is a collection of places you can buy bitcoin online right now.