Install on Desktop or Laptop

Do this on a separate machine, not the laptop which will become your Freedombone server

1. Install the dat command

2. Make sure you have the xz command installed

3. Download the image

dat clone dat://b1f714cdd60eb8cbedf9112ce37f8a5e9601fc0d3e1734af8901002adfe0ed74/
cd b1f714cdd60eb8cbedf9112ce37f8a5e9601fc0d3e1734af8901002adfe0ed74
unxz freedombone-amd64.img.xz

Or there is a version which only uses onion addresses, which means that you don't need to buy a domain name or set up dynamic DNS. The onion-only version may be obtained with:

dat clone dat://86c5ad0c75022c459908348c44604e27c961d19fba8ed0395cbc7928f637185c/
cd 86c5ad0c75022c459908348c44604e27c961d19fba8ed0395cbc7928f637185c
unxz freedombone-onion-amd64.img.xz

4. Plug in a USB drive or connect an SSD which you'll use in the server, then find its device name, which usually begins with /dev/sd. One way of doing this is with the command

ls /dev/sd*

Before and after attaching the USB or SSD drive

5. Now copy the extracted image to the USB drive or SSD. This may take quite a while

sudo dd bs=1M if=freedombone-amd64.img of=/dev/sdX conv=fdatasync,sync,noerror

6. You may want to make sure that you use the whole of the available disk space on the USB drive or SSD, using a tool such as gparted to resize the partition

7. Remove the USB drive or SSD and plug it into the laptop which will be your server

8. Plug your server laptop into one of the ethernet sockets on your internet router using a USB patch cable (cat5 or cat6). Also make sure that the server laptop has a mains power supply

9. Power on the laptop and boot from the USB drive or SSD. You may need to change the BIOS settings so that it boots from this drive by default

10. Ensure that mDNS/zeroconf is enabled on your internet router. The router settings are often accessed via 192.168.2.1 or 192.168.10.1 or 192.168.1.254

11. If avahi is not available on your laptop (not the Freedombone server) then make sure you install it

On Debian

apt-get install avahi-utils avahi-dnsconfd

On Arch/Parabola

sudo pacman -S avahi nss-mdns
sudo sed -i 's|hosts:.*|hosts: files mdns_minimal [NOTFOUND=return] dns myhostname|g' /etc/nsswitch.conf

12. Browse the local network with

avahi-browse -at

If eveything is working you should notice that a system called freedombone appears in the list, with a http service

13. Open a web browser which is not a Tor browser and navigate to http://freedombone/admin, or if that doesn't work then try http://freedombone.local/admin. If your new server isn't named "freedombone" on your local network then log into your internet router and see what local name it has been assigned.

Congratulations! You are now ready to begin setting up the server and installing apps. You will need to have purchased a domain name, and have a dynamic DNS account or equivalent arrangement so that the server domain name is resolvable from the wider internet.