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.
If like me, you’ve received your new 512mb Raspberry Pi Model B, you’ll be wanting to take advantage of the extra 256mb of onboard RAM. Out the box, the unit does not utilise the full 512mb RAM, so you need to do a firmware update. Here’s a tutorial to get you started.
Pictured: The first revision 256mb Raspberry Pi and the new 512mb 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.