Part 11 - Configuring HTTPS (SSL)
Generate SSL keys via CAcert.org
Great website for doing this is right here – https://samhobbs.co.uk/2014/04/ssl-certificate-signing-cacert-raspberry-pi-ubuntu-debian
.csr for the certificate signing request (CSR)
.crt for the signed certificate file
.key for the key file
cd … Continue reading
Part 10 - Configuring Tor
Stop the Tor service from running while we tinker.
sudo service tor stop
Remove the default configuration file.
sudo rm /etc/tor/torrc
Fire up Nano and make a new configuration file.
sudo nano /etc/tor/torrc
Enter the … Continue reading
Part 9 - Configuring Apache
First up, here’s a cool add-on to limit speed and amount of connections of the people visiting your website. Great if you have finite bandwidth on the upstream. It’s specific settings can be found in … Continue reading
Part 8 - Installing Tor
To get Tor up and running we need to install it with the following.
sudo apt-get install tor -y
And just like that Tor is installed and establishing Tor circuits.
sudo service tor stop
Let’s … Continue reading
Part 7 - Hardening Apache and Secure Shell
Next up we harden Apache and OpenSSH for the glass is always half empty. Start off by editing the security configuration file for Apache2.
sudo nano /etc/apache2/conf-available/security.conf
ServerTokens … Continue reading
Part 6 - Installing Samba Server
We need a way to gain access to the files on the Raspberry Pi so we can update your new website. Samba allows sharing across Windows, OS X and Linux. Very useful. An alternative … Continue reading
Part 5 - Installing Apache 2.4 HTTP Server
If you are hosting a clearnet website, you will want to make sure ports 80 (http) and 443 (https) are forwarded on your router. One of the wonderful things about the darknet … Continue reading
Part 4 - Hardening Your Pi
Hardening, important for the sake of reducing attack vectors! First off we’ll create a new user and then delete the “pi” user that comes preinstalled.
Log back in via SSH / Terminal / … Continue reading
Part 3 - Setting a Static IP Address
As we are using Raspbian Jessie, both sudo and Nano are installed by default. Nano is a simple text editor, think notepad for the command line. Easier to navigate than Vim. … Continue reading
Part 2 - Image Raspbian, Basic Settings and Updates
First off we need to get an operating system onto the MicroSD card. We will be using the official image from RaspberryPi.org. At the time of writing the most recent version … Continue reading