diff --git a/pivilon-manual-setup.md b/pivilon-manual-setup.md index 1d14dc0..a6507a2 100644 --- a/pivilon-manual-setup.md +++ b/pivilon-manual-setup.md @@ -40,7 +40,9 @@ Check used and available storage with df -h -Install Lighttpd. Kighttpd (pronounced "lighty") is an open-source web server optimized for speed-critical environments while remaining standards-compliant, secure and flexible. +### Install Lighttpd + +Lighttpd (pronounced "lighty") is an open-source web server optimized for speed-critical environments while remaining standards-compliant, secure and flexible. sudo apt-get install lighttpd @@ -48,7 +50,7 @@ You can now navigate to your Rpi's IP (or hostname - raspberry) using a browser. You will see lighttpd's placeholder page. -Install php and modules. +### Install PHP and modules. sudo apt-get install php5-cgi php5-gd @@ -60,26 +62,30 @@ php5-cgi is a PHP to CGI interpreter. CGI (Common Gateway Interface ) offers a s Apt will install all required dependencies. -Install Tor. - -sudo apt-get install tor - -Next, we install Git. Git is needed so we can clone the scripts and settings we need to run Pivilion. - -Install hostapd. Hostapd (Host access point daemon) is a user space software access point capable of turning normal network interface cards into access points and authentication servers. We use it, in conjuction with dnsmaq, to turn the Rpi into an access point. +### Install Hostapd. sudo apt-get install hostapd -Install dnsmasq. Dnsmasq is a Domain Name System (DNS) forwarder and Dynamic Host Configuration Protocol (DHCP) server for small computer networks. We use it to provide the clients connected to our access point with IP addresses. +Hostapd (Host access point daemon) is a user space software access point capable of turning normal network interface cards into access points and authentication servers. We use it, in conjuction with dnsmaq, to turn the Rpi into an access point. + +### Install Dnsmasq sudo apt-get install dnsmaq -Install git +Dnsmasq is a Domain Name System (DNS) forwarder and Dynamic Host Configuration Protocol (DHCP) server for small computer networks. We use it to provide the clients connected to our access point with IP addresses. -sudo apt-get install git. Git (/ɡɪt/) is a version control system (VCS) that is used for software development and other version control tasks. We use it synchronise +### Install git + +sudo apt-get install git. Git (/ɡɪt/) is a version control system (VCS) that is used for software development and other version control tasks. We use it download settings and scripts from our Gitlab repository. + +### Install Tor. + +sudo apt-get install tor You can now chose to either pull the Pivilion scripts and Tor / Rpi configuration (if so skip to here) from our Gitlab or make the next step manually and make your own Tor hidden service without Pivilion. +### Configure Tor + Uncomment RunAsDeamon 1 In the section intended for hidden services only, uncomment the two lines @@ -110,3 +116,12 @@ You should see the same lighttpd placeholder page as before. Cloning Pivilion settings and scripts via Git Our script assumes that your user is named pi. It will create direcotries in pi's home dir (/home/pi) and use scripts that reference that directory. + +Make sure you are root before doing these steps. The root account is disabled on Raspbian + +### Pull config and settings from Gitlab +cd / (DO NOT TO SKIP THIS STEP) +git init +git remote add origin https://gitlab.com/hacklab01/pivilion.git +git fetch origin +git checkout -f --track origin/master \ No newline at end of file