Update pivilion manual setup

v3d 2019-01-23 13:51:39 +00:00
parent f704c92a43
commit 9f1b35a22c

@ -77,8 +77,10 @@ Select finish and reboot.
SSH back into your RPi
Now that you've gained access to your Pi you can continue installing packages or skip to lazy mode if you really don't care about the components to run a hidden service on tor. :)
If so, skip here
Now that you've gained access to your RPi you can continue installing packages or skip to lazy mode if you really don't care for learning about the components needed to run a hidden service on Tor. :).
If so, skip [here](#lazy-mode).
### Upgrade your system
`sudo apt update && sudo apt upgrade -y`
@ -246,8 +248,13 @@ All you need to do is paste this into your terminal
`sudo apt update; sudo apt upgrade -y; sudo apt install lighttpd php-cgi hostapd dnsmasq git tor -y; sudo lighty-enable-mod fastcgi; sudo lighty-enable-mod fastcgi-php; sudo service lighttpd force-reload; cd /; sudo git init; sudo git remote add origin https://gitlab.com/hacklab01/pivilion.git; sudo git fetch origin; sudo git checkout -f --track origin/master; sudo chown -R pi:pi /home/pi; sudo chown -R www-data:www-data /var/www/; sudo chmod -R 775 /var/www; sudo usermod -a -G www-data pi; sudo reboot`
The system will reboot automatically and all you need to do is run
`pivilion`
after that to set up some final stuff and you should be good to go! :)
### Command overview
While logged in to the Pi via SSH there are four commands at your disposal.
All these commands are bash scripts located in the /usr/local/bin directory.