Skip to content

Install Apache Webserver

ReefSpy edited this page Mar 29, 2024 · 3 revisions

(refer to https://pimylifeup.com/raspberry-pi-apache/)

Install Apache Webserver

sudo apt install apache2 -y

Give privileges to user pi:

sudo usermod -a -G www-data pi
sudo chown -R -f www-data:www-data /var/www/html

Reboot System and Verify

sudo reboot 

Test apache is running by going to the url below. You should see the Apache welcome page:

http://<servername>
Clone this wiki locally