|
@@ -3,33 +3,26 @@
|
3
|
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
4
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
5
|
5
|
<head>
|
6
|
|
-<!-- 2018-05-10 Thu 11:49 -->
|
7
|
|
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
8
|
|
-<meta name="viewport" content="width=device-width, initial-scale=1" />
|
9
|
|
-<title>‎</title>
|
10
|
|
-<meta name="generator" content="Org mode" />
|
11
|
|
-<meta name="author" content="Bob Mottram" />
|
12
|
|
-<meta name="description" content="Social Instance"
|
|
6
|
+<title></title>
|
|
7
|
+<!-- 2018-06-16 Sat 13:14 -->
|
|
8
|
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
9
|
+<meta name="generator" content="Org-mode" />
|
|
10
|
+<meta name="author" content="Bob Mottram" />
|
|
11
|
+<meta name="description" content="Social Instance"
|
13
|
12
|
/>
|
14
|
|
-<meta name="keywords" content="freedombone, debian, social, fediverse, instance, pleroma, gnusocial, postactiv" />
|
|
13
|
+<meta name="keywords" content="freedombone, debian, social, fediverse, instance, pleroma, gnusocial, postactiv" />
|
15
|
14
|
<style type="text/css">
|
16
|
15
|
<!--/*--><![CDATA[/*><!--*/
|
17
|
|
- .title { text-align: center;
|
18
|
|
- margin-bottom: .2em; }
|
19
|
|
- .subtitle { text-align: center;
|
20
|
|
- font-size: medium;
|
21
|
|
- font-weight: bold;
|
22
|
|
- margin-top:0; }
|
|
16
|
+ .title { text-align: center; }
|
23
|
17
|
.todo { font-family: monospace; color: red; }
|
24
|
|
- .done { font-family: monospace; color: green; }
|
25
|
|
- .priority { font-family: monospace; color: orange; }
|
|
18
|
+ .done { color: green; }
|
26
|
19
|
.tag { background-color: #eee; font-family: monospace;
|
27
|
20
|
padding: 2px; font-size: 80%; font-weight: normal; }
|
28
|
21
|
.timestamp { color: #bebebe; }
|
29
|
22
|
.timestamp-kwd { color: #5f9ea0; }
|
30
|
|
- .org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
31
|
|
- .org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
32
|
|
- .org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
|
23
|
+ .right { margin-left: auto; margin-right: 0px; text-align: right; }
|
|
24
|
+ .left { margin-left: 0px; margin-right: auto; text-align: left; }
|
|
25
|
+ .center { margin-left: auto; margin-right: auto; text-align: center; }
|
33
|
26
|
.underline { text-decoration: underline; }
|
34
|
27
|
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
35
|
28
|
p.verse { margin-left: 3%; }
|
|
@@ -56,111 +49,27 @@
|
56
|
49
|
border: 1px solid black;
|
57
|
50
|
}
|
58
|
51
|
pre.src:hover:before { display: inline;}
|
59
|
|
- /* Languages per Org manual */
|
60
|
|
- pre.src-asymptote:before { content: 'Asymptote'; }
|
61
|
|
- pre.src-awk:before { content: 'Awk'; }
|
62
|
|
- pre.src-C:before { content: 'C'; }
|
63
|
|
- /* pre.src-C++ doesn't work in CSS */
|
64
|
|
- pre.src-clojure:before { content: 'Clojure'; }
|
65
|
|
- pre.src-css:before { content: 'CSS'; }
|
66
|
|
- pre.src-D:before { content: 'D'; }
|
67
|
|
- pre.src-ditaa:before { content: 'ditaa'; }
|
68
|
|
- pre.src-dot:before { content: 'Graphviz'; }
|
69
|
|
- pre.src-calc:before { content: 'Emacs Calc'; }
|
|
52
|
+ pre.src-sh:before { content: 'sh'; }
|
|
53
|
+ pre.src-bash:before { content: 'sh'; }
|
70
|
54
|
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
71
|
|
- pre.src-fortran:before { content: 'Fortran'; }
|
72
|
|
- pre.src-gnuplot:before { content: 'gnuplot'; }
|
73
|
|
- pre.src-haskell:before { content: 'Haskell'; }
|
74
|
|
- pre.src-hledger:before { content: 'hledger'; }
|
75
|
|
- pre.src-java:before { content: 'Java'; }
|
76
|
|
- pre.src-js:before { content: 'Javascript'; }
|
77
|
|
- pre.src-latex:before { content: 'LaTeX'; }
|
78
|
|
- pre.src-ledger:before { content: 'Ledger'; }
|
79
|
|
- pre.src-lisp:before { content: 'Lisp'; }
|
80
|
|
- pre.src-lilypond:before { content: 'Lilypond'; }
|
81
|
|
- pre.src-lua:before { content: 'Lua'; }
|
82
|
|
- pre.src-matlab:before { content: 'MATLAB'; }
|
83
|
|
- pre.src-mscgen:before { content: 'Mscgen'; }
|
84
|
|
- pre.src-ocaml:before { content: 'Objective Caml'; }
|
85
|
|
- pre.src-octave:before { content: 'Octave'; }
|
86
|
|
- pre.src-org:before { content: 'Org mode'; }
|
87
|
|
- pre.src-oz:before { content: 'OZ'; }
|
88
|
|
- pre.src-plantuml:before { content: 'Plantuml'; }
|
89
|
|
- pre.src-processing:before { content: 'Processing.js'; }
|
90
|
|
- pre.src-python:before { content: 'Python'; }
|
91
|
|
- pre.src-R:before { content: 'R'; }
|
92
|
|
- pre.src-ruby:before { content: 'Ruby'; }
|
93
|
|
- pre.src-sass:before { content: 'Sass'; }
|
94
|
|
- pre.src-scheme:before { content: 'Scheme'; }
|
95
|
|
- pre.src-screen:before { content: 'Gnu Screen'; }
|
96
|
|
- pre.src-sed:before { content: 'Sed'; }
|
97
|
|
- pre.src-sh:before { content: 'shell'; }
|
98
|
|
- pre.src-sql:before { content: 'SQL'; }
|
99
|
|
- pre.src-sqlite:before { content: 'SQLite'; }
|
100
|
|
- /* additional languages in org.el's org-babel-load-languages alist */
|
101
|
|
- pre.src-forth:before { content: 'Forth'; }
|
102
|
|
- pre.src-io:before { content: 'IO'; }
|
103
|
|
- pre.src-J:before { content: 'J'; }
|
104
|
|
- pre.src-makefile:before { content: 'Makefile'; }
|
105
|
|
- pre.src-maxima:before { content: 'Maxima'; }
|
106
|
|
- pre.src-perl:before { content: 'Perl'; }
|
107
|
|
- pre.src-picolisp:before { content: 'Pico Lisp'; }
|
108
|
|
- pre.src-scala:before { content: 'Scala'; }
|
109
|
|
- pre.src-shell:before { content: 'Shell Script'; }
|
110
|
|
- pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
111
|
|
- /* additional language identifiers per "defun org-babel-execute"
|
112
|
|
- in ob-*.el */
|
113
|
|
- pre.src-cpp:before { content: 'C++'; }
|
114
|
|
- pre.src-abc:before { content: 'ABC'; }
|
115
|
|
- pre.src-coq:before { content: 'Coq'; }
|
116
|
|
- pre.src-groovy:before { content: 'Groovy'; }
|
117
|
|
- /* additional language identifiers from org-babel-shell-names in
|
118
|
|
- ob-shell.el: ob-shell is the only babel language using a lambda to put
|
119
|
|
- the execution function name together. */
|
120
|
|
- pre.src-bash:before { content: 'bash'; }
|
121
|
|
- pre.src-csh:before { content: 'csh'; }
|
122
|
|
- pre.src-ash:before { content: 'ash'; }
|
123
|
|
- pre.src-dash:before { content: 'dash'; }
|
124
|
|
- pre.src-ksh:before { content: 'ksh'; }
|
125
|
|
- pre.src-mksh:before { content: 'mksh'; }
|
126
|
|
- pre.src-posh:before { content: 'posh'; }
|
127
|
|
- /* Additional Emacs modes also supported by the LaTeX listings package */
|
128
|
|
- pre.src-ada:before { content: 'Ada'; }
|
129
|
|
- pre.src-asm:before { content: 'Assembler'; }
|
130
|
|
- pre.src-caml:before { content: 'Caml'; }
|
131
|
|
- pre.src-delphi:before { content: 'Delphi'; }
|
132
|
|
- pre.src-html:before { content: 'HTML'; }
|
133
|
|
- pre.src-idl:before { content: 'IDL'; }
|
134
|
|
- pre.src-mercury:before { content: 'Mercury'; }
|
135
|
|
- pre.src-metapost:before { content: 'MetaPost'; }
|
136
|
|
- pre.src-modula-2:before { content: 'Modula-2'; }
|
137
|
|
- pre.src-pascal:before { content: 'Pascal'; }
|
138
|
|
- pre.src-ps:before { content: 'PostScript'; }
|
139
|
|
- pre.src-prolog:before { content: 'Prolog'; }
|
140
|
|
- pre.src-simula:before { content: 'Simula'; }
|
141
|
|
- pre.src-tcl:before { content: 'tcl'; }
|
142
|
|
- pre.src-tex:before { content: 'TeX'; }
|
143
|
|
- pre.src-plain-tex:before { content: 'Plain TeX'; }
|
144
|
|
- pre.src-verilog:before { content: 'Verilog'; }
|
145
|
|
- pre.src-vhdl:before { content: 'VHDL'; }
|
146
|
|
- pre.src-xml:before { content: 'XML'; }
|
147
|
|
- pre.src-nxml:before { content: 'XML'; }
|
148
|
|
- /* add a generic configuration mode; LaTeX export needs an additional
|
149
|
|
- (add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
150
|
|
- pre.src-conf:before { content: 'Configuration File'; }
|
|
55
|
+ pre.src-R:before { content: 'R'; }
|
|
56
|
+ pre.src-perl:before { content: 'Perl'; }
|
|
57
|
+ pre.src-java:before { content: 'Java'; }
|
|
58
|
+ pre.src-sql:before { content: 'SQL'; }
|
151
|
59
|
|
152
|
60
|
table { border-collapse:collapse; }
|
153
|
61
|
caption.t-above { caption-side: top; }
|
154
|
62
|
caption.t-bottom { caption-side: bottom; }
|
155
|
63
|
td, th { vertical-align:top; }
|
156
|
|
- th.org-right { text-align: center; }
|
157
|
|
- th.org-left { text-align: center; }
|
158
|
|
- th.org-center { text-align: center; }
|
159
|
|
- td.org-right { text-align: right; }
|
160
|
|
- td.org-left { text-align: left; }
|
161
|
|
- td.org-center { text-align: center; }
|
|
64
|
+ th.right { text-align: center; }
|
|
65
|
+ th.left { text-align: center; }
|
|
66
|
+ th.center { text-align: center; }
|
|
67
|
+ td.right { text-align: right; }
|
|
68
|
+ td.left { text-align: left; }
|
|
69
|
+ td.center { text-align: center; }
|
162
|
70
|
dt { font-weight: bold; }
|
163
|
|
- .footpara { display: inline; }
|
|
71
|
+ .footpara:nth-child(2) { display: inline; }
|
|
72
|
+ .footpara { display: block; }
|
164
|
73
|
.footdef { margin-bottom: 1em; }
|
165
|
74
|
.figure { padding: 1em; }
|
166
|
75
|
.figure p { text-align: center; }
|
|
@@ -180,7 +89,6 @@
|
180
|
89
|
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
181
|
90
|
.org-info-js_search-highlight
|
182
|
91
|
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
183
|
|
- .org-svg { width: 90%; }
|
184
|
92
|
/*]]>*/-->
|
185
|
93
|
</style>
|
186
|
94
|
<link rel="stylesheet" type="text/css" href="freedombone.css" />
|
|
@@ -189,7 +97,7 @@
|
189
|
97
|
@licstart The following is the entire license notice for the
|
190
|
98
|
JavaScript code in this tag.
|
191
|
99
|
|
192
|
|
-Copyright (C) 2012-2017 Free Software Foundation, Inc.
|
|
100
|
+Copyright (C) 2012-2013 Free Software Foundation, Inc.
|
193
|
101
|
|
194
|
102
|
The JavaScript code in this tag is free software: you can
|
195
|
103
|
redistribute it and/or modify it under the terms of the GNU
|
|
@@ -236,25 +144,33 @@ for the JavaScript code in this tag.
|
236
|
144
|
<a name="top" id="top"></a>
|
237
|
145
|
</div>
|
238
|
146
|
<div id="content">
|
|
147
|
+<h1 class="title"></h1>
|
239
|
148
|
|
240
|
149
|
<div class="figure">
|
241
|
150
|
<p><img src="images/logo.png" alt="logo.png" width="80%" height="10%" align="center" />
|
242
|
151
|
</p>
|
243
|
152
|
</div>
|
244
|
153
|
|
245
|
|
-<div id="outline-container-org1c80367" class="outline-2">
|
246
|
|
-<h2 id="org1c80367">Social Instance</h2>
|
247
|
|
-<div class="outline-text-2" id="text-org1c80367">
|
|
154
|
+<div id="outline-container-sec-1" class="outline-2">
|
|
155
|
+<h2 id="sec-1">Social Instance</h2>
|
|
156
|
+<div class="outline-text-2" id="text-1">
|
248
|
157
|
<p>
|
249
|
158
|
A social instance image allows you to easily set up a fediverse server, which federates using the OStatus or ActivityPub protocol. You will need:
|
250
|
159
|
</p>
|
251
|
160
|
|
252
|
161
|
<ul class="org-ul">
|
253
|
|
-<li>An old laptop, capable of booting from USB</li>
|
254
|
|
-<li>A USB drive, preferably Sandisk and 16GB or larger</li>
|
255
|
|
-<li>An ethernet patch cable</li>
|
256
|
|
-<li>A domain name of your own</li>
|
257
|
|
-<li>A dynamic DNS account</li>
|
|
162
|
+<li>An old laptop, capable of booting from USB
|
|
163
|
+</li>
|
|
164
|
+<li>A USB drive, preferably Sandisk and 16GB or larger
|
|
165
|
+</li>
|
|
166
|
+<li>An ethernet patch cable
|
|
167
|
+</li>
|
|
168
|
+<li>A domain name of your own
|
|
169
|
+</li>
|
|
170
|
+<li>A dynamic DNS account
|
|
171
|
+</li>
|
|
172
|
+<li>Ability to alter settings on your internet router
|
|
173
|
+</li>
|
258
|
174
|
</ul>
|
259
|
175
|
|
260
|
176
|
<p>
|
|
@@ -263,21 +179,23 @@ The installation process is the same as usual, with the only difference being th
|
263
|
179
|
</div>
|
264
|
180
|
</div>
|
265
|
181
|
|
266
|
|
-<div id="outline-container-org2c69e3d" class="outline-2">
|
267
|
|
-<h2 id="org2c69e3d">Copy the image to the USB drive</h2>
|
268
|
|
-<div class="outline-text-2" id="text-org2c69e3d">
|
|
182
|
+<div id="outline-container-sec-2" class="outline-2">
|
|
183
|
+<h2 id="sec-2">Copy the image to the USB drive</h2>
|
|
184
|
+<div class="outline-text-2" id="text-2">
|
269
|
185
|
<p>
|
270
|
186
|
Substitute <b>sdX</b> with the device name for your USB drive.
|
271
|
187
|
</p>
|
272
|
188
|
|
273
|
189
|
<div class="org-src-container">
|
274
|
|
-<pre class="src src-bash">sudo apt-get install xz-utils wget
|
275
|
|
-wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz
|
276
|
|
-wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz.sig
|
|
190
|
+
|
|
191
|
+<pre class="src src-bash">sudo apt-get install xz-utils nodejs
|
|
192
|
+npm install -g dat
|
|
193
|
+dat clone dat://231b24dbeef3c3f7b115b9c7cd02e416b382df0a1050ef66f94b988fc8dae92e/
|
|
194
|
+cd 231b24dbeef3c3f7b115b9c7cd02e416b382df0a1050ef66f94b988fc8dae92e
|
277
|
195
|
gpg --verify freedombone-pleroma-amd64.img.xz.sig
|
278
|
196
|
unxz freedombone-pleroma-amd64.img.xz
|
279
|
|
-sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">count</span>=8
|
280
|
|
-sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=freedombone-pleroma-amd64.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,sync,noerror
|
|
197
|
+sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
|
|
198
|
+sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync,sync,noerror
|
281
|
199
|
</pre>
|
282
|
200
|
</div>
|
283
|
201
|
|
|
@@ -287,9 +205,9 @@ Also note that if the laptop has a removable SSD drive it's possible to copy the
|
287
|
205
|
</div>
|
288
|
206
|
</div>
|
289
|
207
|
|
290
|
|
-<div id="outline-container-org94c2081" class="outline-2">
|
291
|
|
-<h2 id="org94c2081">Connect the laptop to your internet router</h2>
|
292
|
|
-<div class="outline-text-2" id="text-org94c2081">
|
|
208
|
+<div id="outline-container-sec-3" class="outline-2">
|
|
209
|
+<h2 id="sec-3">Connect the laptop to your internet router</h2>
|
|
210
|
+<div class="outline-text-2" id="text-3">
|
293
|
211
|
<p>
|
294
|
212
|
Plug the USB drive into the laptop and connect it to your internet router with the ethernet cable.
|
295
|
213
|
</p>
|
|
@@ -302,9 +220,9 @@ Plug the USB drive into the laptop and connect it to your internet router with t
|
302
|
220
|
</div>
|
303
|
221
|
</div>
|
304
|
222
|
|
305
|
|
-<div id="outline-container-orgfdae149" class="outline-2">
|
306
|
|
-<h2 id="orgfdae149">Boot the laptop from the USB drive</h2>
|
307
|
|
-<div class="outline-text-2" id="text-orgfdae149">
|
|
223
|
+<div id="outline-container-sec-4" class="outline-2">
|
|
224
|
+<h2 id="sec-4">Boot the laptop from the USB drive</h2>
|
|
225
|
+<div class="outline-text-2" id="text-4">
|
308
|
226
|
<p>
|
309
|
227
|
You may need to alter the BIOS settings to get this to work reliably.
|
310
|
228
|
</p>
|
|
@@ -317,9 +235,9 @@ You may need to alter the BIOS settings to get this to work reliably.
|
317
|
235
|
</div>
|
318
|
236
|
</div>
|
319
|
237
|
|
320
|
|
-<div id="outline-container-org6226cc3" class="outline-2">
|
321
|
|
-<h2 id="org6226cc3">Forward ports 80 (HTTP) and 443 (HTTPS) from your internet router to the laptop</h2>
|
322
|
|
-<div class="outline-text-2" id="text-org6226cc3">
|
|
238
|
+<div id="outline-container-sec-5" class="outline-2">
|
|
239
|
+<h2 id="sec-5">Forward ports 80 (HTTP) and 443 (HTTPS) from your internet router to the laptop</h2>
|
|
240
|
+<div class="outline-text-2" id="text-5">
|
323
|
241
|
<p>
|
324
|
242
|
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.
|
325
|
243
|
</p>
|
|
@@ -332,10 +250,11 @@ Log into your internet router using a non-Tor browser (usually it's on an addres
|
332
|
250
|
</div>
|
333
|
251
|
</div>
|
334
|
252
|
|
335
|
|
-<div id="outline-container-org66f3f3c" class="outline-2">
|
336
|
|
-<h2 id="org66f3f3c">From another machine ssh into the laptop</h2>
|
337
|
|
-<div class="outline-text-2" id="text-org66f3f3c">
|
|
253
|
+<div id="outline-container-sec-6" class="outline-2">
|
|
254
|
+<h2 id="sec-6">From another machine ssh into the laptop</h2>
|
|
255
|
+<div class="outline-text-2" id="text-6">
|
338
|
256
|
<div class="org-src-container">
|
|
257
|
+
|
339
|
258
|
<pre class="src src-bash">ssh fbone@freedombone.local -p 2222
|
340
|
259
|
</pre>
|
341
|
260
|
</div>
|
|
@@ -346,18 +265,18 @@ Or alternatively you can log in directly on the laptop. The initial username is
|
346
|
265
|
</div>
|
347
|
266
|
</div>
|
348
|
267
|
|
349
|
|
-<div id="outline-container-org1e1acec" class="outline-2">
|
350
|
|
-<h2 id="org1e1acec">Follow the setup procedure</h2>
|
351
|
|
-<div class="outline-text-2" id="text-org1e1acec">
|
|
268
|
+<div id="outline-container-sec-7" class="outline-2">
|
|
269
|
+<h2 id="sec-7">Follow the setup procedure</h2>
|
|
270
|
+<div class="outline-text-2" id="text-7">
|
352
|
271
|
<p>
|
353
|
272
|
Enter your user details, domain name and dynamic DNS settings.
|
354
|
273
|
</p>
|
355
|
274
|
</div>
|
356
|
275
|
</div>
|
357
|
276
|
|
358
|
|
-<div id="outline-container-org95d2fea" class="outline-2">
|
359
|
|
-<h2 id="org95d2fea">When installation is complete</h2>
|
360
|
|
-<div class="outline-text-2" id="text-org95d2fea">
|
|
277
|
+<div id="outline-container-sec-8" class="outline-2">
|
|
278
|
+<h2 id="sec-8">When installation is complete</h2>
|
|
279
|
+<div class="outline-text-2" id="text-8">
|
361
|
280
|
<p>
|
362
|
281
|
Navigate to your domain and register a new user.
|
363
|
282
|
</p>
|