Project – Pi WebServer

This creates a web server using Apache with PHP and MySQL database. Apache is a well known and popular web server with extensive documentation. The other web server that you may consider is Nginx, which operates in a different way to Apache in that Nginx is event driven and for systems that have low resources such as a RaspberryPi, it could give better results.

However, I have used Nginx on my previous Raspberry Pi web server and although it worked well I have found I can understand Apache better than Nginx particularly when it comes to configuration. The latest Raspberry Pi is much more powerful than the first version and providing you do not receive too much traffic there should not be an issue.

The Raspberry Pi is an interesting project to create a web server which may be used for a small web site or for testing purposes. It enables you to become familiar in working with the Debian Operating System, the command line interface and aspects of installing packages. It also enables you to work with a Firewall and then connect it to your own router so that it can be viewed from the outside world.

1) Hardware required for Raspberry Pi Web Server

2) The Operating system

3) Set Up Remote Desktop Connection from your PC or Mac

4) Configure the Raspberry Pi

5) Connect the Raspberry Pi to your network and router

6) Create a new user and delete the Pi user

7) Set up a Firewall

8) Set up a USB Drive

9) Modify Host file

10) Remote into the Raspberry Pi using SSH

11) Install Apache2 with PHP

12) Configure Apache to use the USB Drive

13) Install PHP

14) Optimize PHP

15) Setup fail2ban

16) Installing MySQL on your Raspberry Pi

17) Install phpMyAdmin

18) No Permissions, no Privileges for login to phpmyadmin MySQL on Raspberry Pi

19) Use FileZilla to transfer files from Windows

20) Connecting to your router and a domain

21) How to Install No-IP on Raspberry Pi

22) Setup a Raspberry Pi Static IP address

23) Installing WordPress

24) Creating a WordPress database on your Raspberry Pi

25) Configuring WordPress

26) Install Free SSL Certificate on Raspberry Pi Apache Web Server

27) Setting up email on the Raspberry Pi

28) Installing AWStats

29) Installing phpSysInfo

30) Monitoring Resources on Raspberry Pi

31) Optimizing Raspberry Pi to run on Apache with limited resources

32) Optimizing MySQL to run on Apache with limited resources