From f704c92a43e4b9014a9dd63908b09515ae07c9b0 Mon Sep 17 00:00:00 2001 From: v3d Date: Wed, 23 Jan 2019 13:42:41 +0000 Subject: [PATCH] Update pivilion manual setup --- pivilion-manual-setup.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pivilion-manual-setup.md b/pivilion-manual-setup.md index cf9302e..4223b84 100644 --- a/pivilion-manual-setup.md +++ b/pivilion-manual-setup.md @@ -77,6 +77,8 @@ 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 ### Upgrade your system `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! +### 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. All these commands are bash scripts located in the /usr/local/bin directory.