Install Apache web server on a Raspberry PI

Apache is one of the most popular, if not the most popular server. There a multitude of options and tutorials out there – you can read about it at https://httpd.apache.org/

In a Raspberry Pi its easy to install and get this up and running, open a console window

Use apt-get update to download any package updates

sudo apt-get update

Install Apache – the package name is apache2.

sudo apt-get install apache2

Reply Y when prompted and then wait for the process to complete – this may take a couple of minutes. The process installs the software, sets up the default configuration file and starts the Apache processes.

Now navigate to your Raspberry PI IP address and you should see something like this