From 3070bb3514bbb6ee37394df68199e6f7896cd801 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 16 Jun 2018 13:15:21 +0100 Subject: [PATCH] Move social instance to dat download --- doc/EN/socialinstance.org | 8 +- website/EN/socialinstance.html | 225 +++++++++++---------------------- 2 files changed, 77 insertions(+), 156 deletions(-) diff --git a/doc/EN/socialinstance.org b/doc/EN/socialinstance.org index b248b6cc..a5d6ce28 100644 --- a/doc/EN/socialinstance.org +++ b/doc/EN/socialinstance.org @@ -18,6 +18,7 @@ A social instance image allows you to easily set up a fediverse server, which fe * An ethernet patch cable * A domain name of your own * A dynamic DNS account + * Ability to alter settings on your internet router The installation process is the same as usual, with the only difference being that on initial setup it will go straight to the domain setup details for your instance. In summary: @@ -26,9 +27,10 @@ The installation process is the same as usual, with the only difference being th Substitute *sdX* with the device name for your USB drive. #+begin_src bash -sudo apt-get install xz-utils wget -wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz -wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz.sig +sudo apt-get install xz-utils nodejs +npm install -g dat +dat clone dat://231b24dbeef3c3f7b115b9c7cd02e416b382df0a1050ef66f94b988fc8dae92e/ +cd 231b24dbeef3c3f7b115b9c7cd02e416b382df0a1050ef66f94b988fc8dae92e gpg --verify freedombone-pleroma-amd64.img.xz.sig unxz freedombone-pleroma-amd64.img.xz sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8 diff --git a/website/EN/socialinstance.html b/website/EN/socialinstance.html index 354ab09c..65693aa3 100644 --- a/website/EN/socialinstance.html +++ b/website/EN/socialinstance.html @@ -3,33 +3,26 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - - - - - - - + + + + + - + @@ -189,7 +97,7 @@ @licstart The following is the entire license notice for the JavaScript code in this tag. -Copyright (C) 2012-2017 Free Software Foundation, Inc. +Copyright (C) 2012-2013 Free Software Foundation, Inc. The JavaScript code in this tag is free software: you can redistribute it and/or modify it under the terms of the GNU @@ -236,25 +144,33 @@ for the JavaScript code in this tag.
+

logo.png

-
-

Social Instance

-
+
+

Social Instance

+

A social instance image allows you to easily set up a fediverse server, which federates using the OStatus or ActivityPub protocol. You will need:

    -
  • An old laptop, capable of booting from USB
  • -
  • A USB drive, preferably Sandisk and 16GB or larger
  • -
  • An ethernet patch cable
  • -
  • A domain name of your own
  • -
  • A dynamic DNS account
  • +
  • An old laptop, capable of booting from USB +
  • +
  • A USB drive, preferably Sandisk and 16GB or larger +
  • +
  • An ethernet patch cable +
  • +
  • A domain name of your own +
  • +
  • A dynamic DNS account +
  • +
  • Ability to alter settings on your internet router +

@@ -263,21 +179,23 @@ The installation process is the same as usual, with the only difference being th

-
-

Copy the image to the USB drive

-
+
+

Copy the image to the USB drive

+

Substitute sdX with the device name for your USB drive.

-
sudo apt-get install xz-utils wget
-wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz
-wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz.sig
+
+
sudo apt-get install xz-utils nodejs
+npm install -g dat
+dat clone dat://231b24dbeef3c3f7b115b9c7cd02e416b382df0a1050ef66f94b988fc8dae92e/
+cd 231b24dbeef3c3f7b115b9c7cd02e416b382df0a1050ef66f94b988fc8dae92e
 gpg --verify freedombone-pleroma-amd64.img.xz.sig
 unxz freedombone-pleroma-amd64.img.xz
-sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
-sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync,sync,noerror
+sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
+sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync,sync,noerror
 
@@ -287,9 +205,9 @@ Also note that if the laptop has a removable SSD drive it's possible to copy the
-
-

Connect the laptop to your internet router

-
+
+

Connect the laptop to your internet router

+

Plug the USB drive into the laptop and connect it to your internet router with the ethernet cable.

@@ -302,9 +220,9 @@ Plug the USB drive into the laptop and connect it to your internet router with t
-
-

Boot the laptop from the USB drive

-
+
+

Boot the laptop from the USB drive

+

You may need to alter the BIOS settings to get this to work reliably.

@@ -317,9 +235,9 @@ You may need to alter the BIOS settings to get this to work reliably.
-
-

Forward ports 80 (HTTP) and 443 (HTTPS) from your internet router to the laptop

-
+
+

Forward ports 80 (HTTP) and 443 (HTTPS) from your internet router to the laptop

+

Log into your internet router using a non-Tor browser (usually it's on an address like 192.168.1.1 or 192.168.1.254). Often port forwarding settings are together with firewall settings.

@@ -332,10 +250,11 @@ Log into your internet router using a non-Tor browser (usually it's on an addres
-
-

From another machine ssh into the laptop

-
+
+

From another machine ssh into the laptop

+
+
ssh fbone@freedombone.local -p 2222
 
@@ -346,18 +265,18 @@ Or alternatively you can log in directly on the laptop. The initial username is
-
-

Follow the setup procedure

-
+
+

Follow the setup procedure

+

Enter your user details, domain name and dynamic DNS settings.

-
-

When installation is complete

-
+
+

When installation is complete

+

Navigate to your domain and register a new user.