We will be using Apache for the Web Server. These install instructions were taken from the Raspberry Pi Foundation website. Their guide can be found at www.raspberrypi.org/documentation/remote-access/web-server/apache.md
We will start with installing apache using the following command in terminal. This will take about 5 minutes to install.
sudo apt-get install apache2 -y
Next we will navigate to where this was just installed.
Currently we do not have permissions to the folder html. We will need permissions so we can change the index page and add our files. To do this we will enter this in.
sudo chown pi: html
To test that Apache installed correctly we will open a web browser and go to
We now want to leave this folder and go back to the main directory. We will have issues later in the guide if we stay in /var/www, to exit just enter