Update pivilion manual setup

v3d 2019-01-23 13:42:41 +00:00
parent 4aa67c05c2
commit f704c92a43

@ -77,6 +77,8 @@ Select finish and reboot.
SSH back into your RPi 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
### Upgrade your system ### Upgrade your system
`sudo apt update && sudo apt upgrade -y` `sudo apt update && sudo apt upgrade -y`
@ -237,6 +239,15 @@ This should show the same lighttpd placeholder page as before.
That's it - everything should be working now! That's it - everything should be working now!
### Lazy mode
If you don't feel like learning about the various components used to build a Tor hidden service, you can just use lazy mode to skip everything.
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! :)
While logged in to the Pi via SSH there are four commands at your disposal. 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. All these commands are bash scripts located in the /usr/local/bin directory.