|
@@ -4,7 +4,7 @@
|
4
|
4
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
5
|
5
|
<head>
|
6
|
6
|
<title></title>
|
7
|
|
-<!-- 2014-10-26 Sun 22:02 -->
|
|
7
|
+<!-- 2014-12-20 Sat 11:04 -->
|
8
|
8
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
9
|
9
|
<meta name="generator" content="Org-mode" />
|
10
|
10
|
<meta name="author" content="Bob Mottram" />
|
|
@@ -174,7 +174,7 @@ for the JavaScript code in this tag.
|
174
|
174
|
<td class="left"><a href="index.html">Home</a></td>
|
175
|
175
|
<td class="left"><a href="#unnumbered-1">Download the code</a></td>
|
176
|
176
|
<td class="left"><a href="#unnumbered-2">On a Beaglebone Black</a></td>
|
177
|
|
-<td class="left"><a href="#unnumbered-3">On other hardware</a></td>
|
|
177
|
+<td class="left"><a href="#unnumbered-3">On a laptop/PC/netbook</a></td>
|
178
|
178
|
<td class="left"><a href="#unnumbered-4">Internet Router</a></td>
|
179
|
179
|
</tr>
|
180
|
180
|
</tbody>
|
|
@@ -318,13 +318,86 @@ Any manual post-installation setup instructions or passwords can be found in <b>
|
318
|
318
|
</div>
|
319
|
319
|
|
320
|
320
|
<div id="outline-container-unnumbered-3" class="outline-2">
|
321
|
|
-<h2 id="unnumbered-3">On other hardware</h2>
|
|
321
|
+<h2 id="unnumbered-3">On a laptop/PC/netbook</h2>
|
322
|
322
|
<div class="outline-text-2" id="text-unnumbered-3">
|
323
|
323
|
<p>
|
324
|
|
-It's also possible to install Freedombone onto other hardware, such as an old laptop or other type of single board computer. Any system with a fresh installation of Debian Jessie will do. Just make sure that you change the variable INSTALLING_ON_BBB to "no" within <b>freedombone.cfg</b> or the <b>install-freedombone.sh</b> script. Obviously, you don't need to run the <b>initial_setup.sh</b> script on non-Beaglebone systems.
|
|
324
|
+It's also possible to install Freedombone onto other hardware, including other types of single board computer. Any system with a fresh installation of Debian Jessie will do. Just make sure that you change the variable INSTALLING_ON_BBB to "no" within <b>freedombone.cfg</b> or the <b>install-freedombone.sh</b> script. Obviously, you don't need to run the <b>initial_setup.sh</b> script on non-Beaglebone systems.
|
325
|
325
|
</p>
|
|
326
|
+
|
|
327
|
+<ul class="org-ul">
|
|
328
|
+<li>Download the <a href="https://www.debian.org/devel/debian-installer">Debian Jessie "netinst" installer</a>
|
|
329
|
+</li>
|
|
330
|
+<li>Use <a href="https://apps.ubuntu.com/cat/applications/usb-creator-gtk/">Startup Disk Creator</a> or <a href="https://en.wikipedia.org/wiki/UNetbootin">Unetbootin</a> to copy the netinst image to a USB thumb drive
|
|
331
|
+</li>
|
|
332
|
+<li>On the target machine boot from the USB drive and go through the installation. It's a good idea to use LVM and disk encryption together with a long passphrase which will be hard to crack by brute force methods. Keep a note of the passphrase in your password manager.
|
|
333
|
+</li>
|
|
334
|
+<li>Within the installer unselect the <b>print server</b> and select the <b>ssh server</b>
|
|
335
|
+</li>
|
|
336
|
+<li>After installation use ssh to access the machine and become the root user
|
|
337
|
+</li>
|
|
338
|
+</ul>
|
|
339
|
+<div class="org-src-container">
|
|
340
|
+
|
|
341
|
+<pre class="src src-bash">ssh username@192.168.1.60
|
|
342
|
+su
|
|
343
|
+</pre>
|
326
|
344
|
</div>
|
|
345
|
+<ul class="org-ul">
|
|
346
|
+<li>If you have GPG keys you may wish to transfer them to the <b>/home/usernname</b> directory. If the machine has a second USB socket or an SD card slot then that may be the most secure way to do it.
|
|
347
|
+</li>
|
|
348
|
+<li>Run the following commands:
|
|
349
|
+</li>
|
|
350
|
+</ul>
|
|
351
|
+<div class="org-src-container">
|
|
352
|
+
|
|
353
|
+<pre class="src src-bash"><span class="org-builtin">cd</span> /home/<username>
|
|
354
|
+apt-get install git
|
|
355
|
+git clone https://github.com/bashrc/freedombone
|
|
356
|
+<span class="org-builtin">cd</span> freedombone
|
|
357
|
+nano freedombone.cfg
|
|
358
|
+</pre>
|
327
|
359
|
</div>
|
|
360
|
+
|
|
361
|
+<ul class="org-ul">
|
|
362
|
+<li>Now create a configuration file, such as the following, filling in the details for your <a href="https://freedns.afraid.org/">FreeDNS domains</a>.
|
|
363
|
+</li>
|
|
364
|
+</ul>
|
|
365
|
+<div class="org-src-container">
|
|
366
|
+
|
|
367
|
+<pre class="src src-bash"><span class="org-variable-name">INSTALLING_ON_BBB</span>=no
|
|
368
|
+<span class="org-variable-name">MY_EMAIL_ADDRESS</span>=<your email>
|
|
369
|
+<span class="org-variable-name">MY_NAME</span>=<your name>
|
|
370
|
+<span class="org-variable-name">MY_BLOG_TITLE</span>=<your blog title>
|
|
371
|
+<span class="org-variable-name">MY_BLOG_SUBTITLE</span>=<your blog subtitle>
|
|
372
|
+<span class="org-variable-name">SSH_PORT</span>=2222
|
|
373
|
+<span class="org-variable-name">FULLBLOG_DOMAIN_NAME</span>=<your blog domain name
|
|
374
|
+<span class="org-variable-name">FULLBLOG_FREEDNS_SUBDOMAIN_CODE</span>=<your blog FreeDNS code>
|
|
375
|
+<span class="org-variable-name">MICROBLOG_DOMAIN_NAME</span>=<your GNU Social domain name>
|
|
376
|
+<span class="org-variable-name">MICROBLOG_FREEDNS_SUBDOMAIN_CODE</span>=<your GNU social FreeDNS domain code>
|
|
377
|
+<span class="org-variable-name">REDMATRIX_DOMAIN_NAME</span>=<your Red Matrix domain name>
|
|
378
|
+<span class="org-variable-name">REDMATRIX_FREEDNS_SUBDOMAIN_CODE</span>=1234
|
|
379
|
+<span class="org-variable-name">OWNCLOUD_DOMAIN_NAME</span>=<your Owncloud domain name>
|
|
380
|
+<span class="org-variable-name">OWNCLOUD_FREEDNS_SUBDOMAIN_CODE</span>=<your Owncloud FreeDNS domain code>
|
|
381
|
+<span class="org-variable-name">WIKI_DOMAIN_NAME</span>=<your wiki domain name>
|
|
382
|
+<span class="org-variable-name">WIKI_FREEDNS_SUBDOMAIN_CODE</span>=<your wiki FreeDNS domain code>
|
|
383
|
+<span class="org-variable-name">WIKI_TITLE</span>=<your wiki title>
|
|
384
|
+<span class="org-variable-name">ROUTE_THROUGH_TOR</span>=no
|
|
385
|
+<span class="org-variable-name">LOCAL_NETWORK_STATIC_IP_ADDRESS</span>=192.168.1.60
|
|
386
|
+</pre>
|
|
387
|
+</div>
|
|
388
|
+
|
|
389
|
+<ul class="org-ul">
|
|
390
|
+<li>Save and exit, then run:
|
|
391
|
+</li>
|
|
392
|
+</ul>
|
|
393
|
+<div class="org-src-container">
|
|
394
|
+
|
|
395
|
+<pre class="src src-bash">./install-freedombone.sh <your wiki domain name> <your username> <your wiki FreeDNS domain code>
|
|
396
|
+</pre>
|
|
397
|
+</div>
|
|
398
|
+</div>
|
|
399
|
+</div>
|
|
400
|
+
|
328
|
401
|
<div id="outline-container-unnumbered-4" class="outline-2">
|
329
|
402
|
<h2 id="unnumbered-4">Internet Router</h2>
|
330
|
403
|
<div class="outline-text-2" id="text-unnumbered-4">
|