mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 16:47:17 +00:00
Update pivilion manual setup
parent
ff3058f328
commit
bae6e0ee30
@ -270,8 +270,8 @@ 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.
|
||||||
1. "pivilion" will display some info and a brief tutorial. It will also copy some files to proper positions.
|
1. "pivilion" will display some info and a brief tutorial. It will also copy some files to proper positions.
|
||||||
1. "onion" will set your Pi to start in onion mode on next reboot. This is the default mode. In this mode, the Pi acts as a hidden service on Tor and serves your content.
|
1. "onion" will set your Pi to start in onion mode on next reboot. This is the default mode. In this mode, the Pi acts as a hidden service on Tor and serves your content.
|
||||||
1. "hotspot" will set your Pi to start in hotspot mode on next reboot. This mode can be used to connect to the Pi without being connected to a network. The Pi has the IP of 10.1.0.1. That means you can connect to it with
|
1. "hotspot" will set your Pi to start in hotspot mode on next reboot. This mode can be used to connect to the Pi without being connected to a network. The Pi has the IP of 10.1.1.1. That means you can connect to it with
|
||||||
`ssh pi@10.1.0.1`
|
`ssh pi@10.1.1.1`
|
||||||
It will also redirect all non-encrypted traffic to this IP, meaning that all traffic will be redirected to your gallery. You can use this mode to serve a local instance of the gallery.
|
It will also redirect all non-encrypted traffic to this IP, meaning that all traffic will be redirected to your gallery. You can use this mode to serve a local instance of the gallery.
|
||||||
**Please remember to set the mode properly before each reboot or you might have to access your Pi via ethernet cable or screen.**
|
**Please remember to set the mode properly before each reboot or you might have to access your Pi via ethernet cable or screen.**
|
||||||
1. "pikey" is used to setup a WiFi network and password to be used in onion mode.
|
1. "pikey" is used to setup a WiFi network and password to be used in onion mode.
|
||||||
@ -392,7 +392,7 @@ Port: 22
|
|||||||
|
|
||||||
The remote filesystem will open in the right pane, and your local directories / folders will be in the left. You can drag and drop or right click and upload or download files and directories to and from your Pi.
|
The remote filesystem will open in the right pane, and your local directories / folders will be in the left. You can drag and drop or right click and upload or download files and directories to and from your Pi.
|
||||||
|
|
||||||
To back up your gallery navigate to /var/www/html/pivilion/gen in the right pane side and download the contects of the entire directory to a local directory on the left hand side.
|
To back up your gallery navigate to /var/www/html/pivilion/gen in the right pane side and download the contents of the entire directory to a local directory on the left hand side.
|
||||||
|
|
||||||
To restore a backup, simply upload fromt he local directory to the same remote directory, overwriting its contents.
|
To restore a backup, simply upload fromt he local directory to the same remote directory, overwriting its contents.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user