From 5fdd71571e41e79b246866830f3d4ec9351f097a Mon Sep 17 00:00:00 2001 From: v3d Date: Mon, 12 Dec 2016 11:28:40 +0000 Subject: [PATCH] Added some stuff --- pivilion-manual-setup.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pivilion-manual-setup.md b/pivilion-manual-setup.md index 236cfa3..2091211 100644 --- a/pivilion-manual-setup.md +++ b/pivilion-manual-setup.md @@ -181,7 +181,21 @@ Git creates everything as root so we have to fix file permissions in Pi's home d We also need to set the permissions to our www directory so that PHP can write / move files around -`sudo chown -R www-data:www-data /var/www/html/pivilion/` +`sudo chown -R www-data:www-data /var/www/` +`sudo chmod -R 775 /var/www` +`sudo usermod -a -G www-data pi` + +Now reboot your RPi and log back in. + +`sudo reboot` + +`ssh your.Pi.IP` + +Now run pivilion to copy some extra files to their proper positions! + +`pivilion` + +And follow the brief tutorial. That's it - everything should be working now!