Stylesheet
This commit is contained in:
parent
a16d3b6327
commit
15818e7a49
|
@ -16,7 +16,7 @@
|
|||
Freedombone is a self-hosted home server configuration which can be installed onto any computer capable of running Debian Jessie. If you have an old laptop or netbook which you can leave turned on then you can use Freedombone to provide your own internet services, such as blogging, wiki, email, chat and social networking and have independence from the well known internet companies.
|
||||
|
||||
#+BEGIN_QUOTE
|
||||
"With the increasing move of our computing to cloud infrastructures, we give up the control of our computing to the managers of our those infrastructures. Our terminals (laptops, desktops) might now be running entirely on Free Software, but this is increasingly irrelevant given that most of what actually matters gets executed on a remote closed system that we don’t control. The Free Software community needs to work to help users keep the control of all their computing, by developing suitable alternatives and facilitating their deployment." -- Lucas Nussbaum
|
||||
"With the increasing move of our computing to cloud infrastructures, we give up the control of our computing to the managers of those infrastructures. Our terminals (laptops, desktops) might now be running entirely on Free Software, but this is increasingly irrelevant given that most of what actually matters gets executed on a remote closed system that we don’t control. The Free Software community needs to work to help users keep the control of all their computing, by developing suitable alternatives and facilitating their deployment." -- Lucas Nussbaum
|
||||
#+END_QUOTE
|
||||
|
||||
Today everyone is concerned about privacy on the internet. At the same time there's a problem with the companies who have traditionally provided most of the web services. The people running those companies may be well-intentioned - as in the famous motto "/don't be evil/" - but the advertising based business model which currently dominates, combined with an increasing level of political pressure to insert backdoors means that it is usually impossible for companies operating within both their own business models and the framework of national laws to provide you with services which don't intentionally leak your private communications to advertisers, insurers or governments.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<!-- 2015-01-23 Fri 21:17 -->
|
||||
<!-- 2015-01-23 Fri 21:20 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="generator" content="Org-mode" />
|
||||
<meta name="author" content="Bob Mottram" />
|
||||
|
@ -91,6 +91,10 @@
|
|||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="http://sachachua.com/blog/wp-content/themes/sacha-v3/foundation/css/foundation.min.css"></link>
|
||||
<link rel="stylesheet" type="text/css" href="http://sachachua.com/org-export.css"></link>
|
||||
<link rel="stylesheet" type="text/css" href="http://sachachua.com/blog/wp-content/themes/sacha-v3/style.css"></link>
|
||||
<script type="text/javascript">
|
||||
/*
|
||||
@licstart The following is the entire license notice for the
|
||||
|
@ -139,6 +143,9 @@ for the JavaScript code in this tag.
|
|||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="preamble" class="status">
|
||||
<a name="top" id="top"></a>
|
||||
</div>
|
||||
<div id="content">
|
||||
<h1 class="title"></h1>
|
||||
<div class="center">
|
||||
|
@ -194,7 +201,7 @@ Freedombone is a self-hosted home server configuration which can be installed on
|
|||
|
||||
<blockquote>
|
||||
<p>
|
||||
"With the increasing move of our computing to cloud infrastructures, we give up the control of our computing to the managers of our those infrastructures. Our terminals (laptops, desktops) might now be running entirely on Free Software, but this is increasingly irrelevant given that most of what actually matters gets executed on a remote closed system that we don’t control. The Free Software community needs to work to help users keep the control of all their computing, by developing suitable alternatives and facilitating their deployment." – Lucas Nussbaum
|
||||
"With the increasing move of our computing to cloud infrastructures, we give up the control of our computing to the managers of those infrastructures. Our terminals (laptops, desktops) might now be running entirely on Free Software, but this is increasingly irrelevant given that most of what actually matters gets executed on a remote closed system that we don’t control. The Free Software community needs to work to help users keep the control of all their computing, by developing suitable alternatives and facilitating their deployment." – Lucas Nussbaum
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
|
@ -219,14 +226,44 @@ You can bypass all of these dilemmas and take back ownership of your internet co
|
|||
</div>
|
||||
|
||||
<p>
|
||||
An emphasis of the Freedombone project is the protection of private communications from indiscriminate mass surveillance, otherwise known as "<i>bulk intercept</i>" or "<i>warrantless wiretapping</i>". With only a few exceptions data entering and leaving the system is encrypted using settings recommended by <a href="https://bettercrypto.org">bettercrypto.org</a>. Stored emails are encrypted such that only someone knowing your GPG password can read them and a GPG key is created automatically if you don't already have one. The system is firewalled with only the necessary ports being opened. Exclusively <a href="http://en.wikipedia.org/wiki/Free_software">free software</a> is used so that all of it can potentially be security audited and proprietary repositaries are disabled by default. There are still numerous security problems with the internet in general and software always contains bugs, but a best attempt has been made to ensure that the Freedombone is at least more secure than average. A limitation is that this system will not protect you from metadata analysis, although it is hoped that new types of email system may be able to do that in future.
|
||||
An emphasis of the Freedombone project is the protection of private communications from indiscriminate mass surveillance, otherwise known as "<i>bulk intercept</i>" or "<i>warrantless wiretapping</i>". With only a few exceptions data entering and leaving the system is encrypted using settings recommended by <a href="https://bettercrypto.org/">bettercrypto.org</a>. Stored emails are encrypted such that only someone knowing your GPG password can read them and a GPG key is created automatically if you don't already have one. The system is firewalled with only the necessary ports being opened. Exclusively <a href="http://en.wikipedia.org/wiki/Free_software">free software</a> is used so that all of it can potentially be security audited and proprietary repositaries are disabled by default. There are still numerous security problems with the internet in general and software always contains bugs, but a best attempt has been made to ensure that the Freedombone is at least more secure than average. A limitation is that this system will not protect you from metadata analysis, although it is hoped that new types of email system may be able to do that in future.
|
||||
</p>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Bob Mottram</p>
|
||||
<p class="date">Created: 2015-01-23 Fri 21:17</p>
|
||||
<p class="creator"><a href="http://www.gnu.org/software/emacs/">Emacs</a> 24.4.1 (<a href="http://orgmode.org">Org</a> mode 8.2.10)</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
|
||||
<style type="text/css">
|
||||
.back-to-top {
|
||||
position: fixed;
|
||||
bottom: 2em;
|
||||
right: 0px;
|
||||
text-decoration: none;
|
||||
color: #000000;
|
||||
background-color: rgba(235, 235, 235, 0.80);
|
||||
font-size: 12px;
|
||||
padding: 1em;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.back-to-top:hover {
|
||||
background-color: rgba(135, 135, 135, 0.50);
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="back-to-top">
|
||||
<a href="#top">Back to top</a> | <a href="mailto:bob@robotics.uk.to">E-mail me</a>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var offset = 220;
|
||||
var duration = 500;
|
||||
jQuery(window).scroll(function() {
|
||||
if (jQuery(this).scrollTop() > offset) {
|
||||
jQuery('.back-to-top').fadeIn(duration);
|
||||
} else {
|
||||
jQuery('.back-to-top').fadeOut(duration);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<!-- 2015-01-21 Wed 20:17 -->
|
||||
<!-- 2015-01-16 Fri 23:51 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="generator" content="Org-mode" />
|
||||
<meta name="author" content="Bob Mottram" />
|
||||
|
@ -167,33 +167,39 @@ for the JavaScript code in this tag.
|
|||
|
||||
<col class="left" />
|
||||
|
||||
<col class="left" />
|
||||
|
||||
<col class="left" />
|
||||
|
||||
<col class="left" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="left"><a href="index.html">Home</a></td>
|
||||
<td class="left"><a href="#unnumbered-1">Preparation for the Beaglebone Black</a></td>
|
||||
<td class="left"><a href="#unnumbered-2">Checklist</a></td>
|
||||
<td class="left"><a href="#unnumbered-3">GPG Keys</a></td>
|
||||
<td class="left"><a href="#unnumbered-4">Interactive Setup</a></td>
|
||||
<td class="left"><a href="#unnumbered-5">Non-Interactive Setup</a></td>
|
||||
<td class="left"><a href="#unnumbered-6">Post-Setup</a></td>
|
||||
<td class="left"><i>Download the code</i></td>
|
||||
<td class="left"><a href="#unnumbered-2">On a Beaglebone Black</a></td>
|
||||
<td class="left"><a href="#unnumbered-3">On a laptop/PC/netbook</a></td>
|
||||
<td class="left"><a href="#unnumbered-4">Internet Router</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<div id="outline-container-unnumbered-1" class="outline-2">
|
||||
<h2 id="unnumbered-1">Preparation for the Beaglebone Black</h2>
|
||||
<h2 id="unnumbered-1">Download and install the code</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-1">
|
||||
<p>
|
||||
This section is specific to the Beaglebone Black hardware. If you're not using that hardware then just skip to the next section.
|
||||
Firstly you'll need to download the code as follows:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install git
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
make install
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-unnumbered-2" class="outline-2">
|
||||
<h2 id="unnumbered-2">On a Beaglebone Black</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-2">
|
||||
<p>
|
||||
To get started you will need:
|
||||
</p>
|
||||
|
@ -211,7 +217,7 @@ To get started you will need:
|
|||
</li>
|
||||
<li>USB thumb drive (for backups or storing media)
|
||||
</li>
|
||||
<li>One or more domains available via a dynamic DNS provider, such as <a href="https://freedns.afraid.org/">https://freedns.afraid.org/</a>
|
||||
<li>One or more subdomains created on <a href="https://freedns.afraid.org/">https://freedns.afraid.org/</a>
|
||||
</li>
|
||||
<li>A purchased domain name and SSL certificate (only needed for Red Matrix)
|
||||
</li>
|
||||
|
@ -223,200 +229,74 @@ To get started you will need:
|
|||
You will also need to know, or find out, the IP address of your internet router and have a suitable static IP address for the Beaglebone on your local network. The router should allow you to forward ports to the Beaglebone (often this is under firewall or "advanced" settings).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You can either install from a debian package or manually as follows:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install git dialog
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
sudo make install
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Plug the microSD card into your laptop/desktop and then run the <b>freedombone-prep</b> command. For example:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-prep -d /dev/sdX --ip freedombone_IP_address --iprouter router_IP_address
|
||||
<pre class="src src-bash">freedombone-prep -d /dev/sdX --ip <static LAN IP> --iprouter <router LAN IP>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
where /dev/sdX is the device name for the microSD card. Often it's /dev/sdb or /dev/sdc, depending upon how many drives there are on your system. The script will download the Debian installer and update the microSD card. It can take a while, so be patient.
|
||||
where <b>/dev/sdX</b> is the device name for the microSD card. Often it's <b>/dev/sdb</b> or <b>/dev/sdc</b>, depending upon how many drives there are on your system. The script will download the Debian installer and update the microSD card. It can take a while, so be patient.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
When the initial setup is done follow the instructions on screen to run the main freedombone command.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-2" class="outline-2">
|
||||
<h2 id="unnumbered-2">Checklist</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-2">
|
||||
<p>
|
||||
Before running the freedombone command you will need a few things.
|
||||
</p>
|
||||
|
||||
<ul class="org-ul">
|
||||
<li>Have some domains, or subdomains, registered with a dynamic DNS service
|
||||
</li>
|
||||
<li>System with a new installation of Debian Jessie
|
||||
</li>
|
||||
<li>Ethernet connection to an internet router
|
||||
</li>
|
||||
<li>It is possible to forward ports from the internet router to the system
|
||||
</li>
|
||||
<li>If you want to set up a social network or microblog then you will need SSL certificates corresponding to those domains
|
||||
</li>
|
||||
<li>Have ssh access to the system
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-3" class="outline-2">
|
||||
<h2 id="unnumbered-3">GPG Keys</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-3">
|
||||
<p>
|
||||
If you have existing GPG keys then copy the .gnupg directory onto the system.
|
||||
When the initial setup is done follow the instructions on screen to run the main Freedombone script. You can create a separate configuration file called <b>freedombone.cfg</b> which contains those variables. Variables which you might want to put into a <b>freedombone.cfg</b> file are:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">scp -r ~/.gnupg username@freedombone_IP_address:/home/username
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-4" class="outline-2">
|
||||
<h2 id="unnumbered-4">Interactive Setup</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-4">
|
||||
<p>
|
||||
The interactive server configuration setup is recommended for most users. On the system where freedombone is to be installed create a configuration file.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh username@freedombone_IP_address
|
||||
su
|
||||
apt-get install git dialog
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
make install
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Now the easiest way to install the system is via the interactive setup.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone menuconfig
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
You can select which variant you wish to install and then enter the details as requested. A video of the install sequence can be <a href="./installer.ogv">seen here</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-5" class="outline-2">
|
||||
<h2 id="unnumbered-5">Non-Interactive Setup</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-5">
|
||||
<p>
|
||||
If you don't want to install interactively then it's possible to manually create a configuration file as follows:
|
||||
</p>
|
||||
|
||||
<p>
|
||||
On the system where freedombone is to be installed create a configuration file.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh username@freedombone_IP_address
|
||||
su
|
||||
apt-get install git
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
make install
|
||||
nano /home/username/freedombone/freedombone.cfg
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Add the following, and set the values as needed.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash"><span class="org-variable-name">MY_EMAIL_ADDRESS</span>=
|
||||
<span class="org-variable-name">MY_NAME</span>=
|
||||
<span class="org-variable-name">MY_BLOG_TITLE</span>=
|
||||
<span class="org-variable-name">MY_BLOG_SUBTITLE</span>=
|
||||
<span class="org-variable-name">FULLBLOG_DOMAIN_NAME</span>=
|
||||
<span class="org-variable-name">MICROBLOG_DOMAIN_NAME</span>=
|
||||
<span class="org-variable-name">REDMATRIX_DOMAIN_NAME</span>=
|
||||
<span class="org-variable-name">OWNCLOUD_DOMAIN_NAME</span>=
|
||||
<span class="org-variable-name">WIKI_DOMAIN_NAME</span>=
|
||||
<span class="org-variable-name">WIKI_TITLE</span>=
|
||||
<pre class="src src-bash"><span class="org-variable-name">MY_EMAIL_ADDRESS</span>=<your email address>
|
||||
<span class="org-variable-name">MY_NAME</span>=<your name/nick/pseudonym>
|
||||
<span class="org-variable-name">MY_BLOG_TITLE</span>=<title of your blog>
|
||||
<span class="org-variable-name">MY_BLOG_SUBTITLE</span>=<subtitle of your blog>
|
||||
<span class="org-variable-name">SSH_PORT</span>=2222
|
||||
<span class="org-variable-name">FULLBLOG_DOMAIN_NAME</span>=<freedns subdomain for your blog>
|
||||
<span class="org-variable-name">FULLBLOG_FREEDNS_SUBDOMAIN_CODE</span>=<freedns subdomain code for your blog>
|
||||
<span class="org-variable-name">MICROBLOG_DOMAIN_NAME</span>=<domain name for your microblog>
|
||||
<span class="org-variable-name">MICROBLOG_FREEDNS_SUBDOMAIN_CODE</span>=1234
|
||||
<span class="org-variable-name">REDMATRIX_DOMAIN_NAME</span>=<domain name for your Red Matrix site>
|
||||
<span class="org-variable-name">OWNCLOUD_DOMAIN_NAME</span>=<freedns subdomain for your Owncloud site>
|
||||
<span class="org-variable-name">OWNCLOUD_FREEDNS_SUBDOMAIN_CODE</span>=<freedns subdomain code for your Owncloud site>
|
||||
<span class="org-variable-name">WIKI_TITLE</span>=<title of your wiki>
|
||||
<span class="org-variable-name">WIKI_DOMAIN_NAME</span>=<freedns subdomain for your wiki>
|
||||
<span class="org-variable-name">WIKI_FREEDNS_SUBDOMAIN_CODE</span>=<freedns subdomain code for your wiki>
|
||||
<span class="org-variable-name">MY_GPG_PUBLIC_KEY</span>=<exported public key filename>
|
||||
<span class="org-variable-name">MY_GPG_PRIVATE_KE</span>=<exported private key filename>
|
||||
<span class="org-variable-name">PUBLIC_MAILING_LIST</span>=<name of your mailing list>
|
||||
<span class="org-variable-name">LOCAL_NETWORK_STATIC_IP_ADDRESS</span>=192.168.1.60
|
||||
<span class="org-variable-name">ROUTER_IP_ADDRESS</span>=192.168.1.254
|
||||
<span class="org-variable-name">ENABLE_CJDNS</span>=no
|
||||
<span class="org-variable-name">LOCAL_NETWORK_STATIC_IP_ADDRESS</span>=
|
||||
<span class="org-variable-name">ROUTER_IP_ADDRESS</span>=
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Both of the IP addresses are local IP addresses, typically of the form 192.168.x.x, with one being for the system and the other being for the internet router.
|
||||
The GPG public/private key variables are for the filenames of exported GPG keys, and if a private key filename is given then it will be automatically shredded after import.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Save the configuration file and exit from your editor.
|
||||
The <a href="https://freedns.afraid.org/">FreeDNS</a> subdomain codes can be found under "Dynamic DNS" and "quick cron example". On the last line it will be the string located between the '?' and the '==' characters.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Now you can begin the installation. If you are doing this on a Beaglebone Black:
|
||||
The syntax of the <b>freedombone</b> command is:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone --bbb -d [default domain name] -u [username] --ddns [dynamic DNS provider domain] --ddnsuser [dynamic DNS username] --ddnspass [dynamic DNS password]
|
||||
<pre class="src src-bash">freedombone --bbb -d [domain name] -u [username] -c [FreeDNS subdomain code] --ddnsuser [FreeDNS username] --ddnspass [FreeDNS password] -s [optional variant type]
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Or on any other system don't include the <b>–bbb</b> option.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone -d [default domain name] -u [username] --ddns [dynamic DNS provider domain] --ddnsuser [dynamic DNS username] --ddnspass [dynamic DNS password]
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
The above command should be run in the same directory in which your configuration file exists. You can use any of your domains as the default one, but typically the default domain is the same as the one for your wiki.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Also see the manpage for additional options which can be used instead of a configuration file. If you don't specify a variant type with the final option then everything will be installed. If you have a <b>freedombone.cfg</b> file then it should be in the same directory from which the <b>freedombone</b> command is run.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-6" class="outline-2">
|
||||
<h2 id="unnumbered-6">Post-Setup</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-6">
|
||||
<p>
|
||||
Setup of the server and installation of all the relevant packages is not quick, and depends upon which variant you choose and your internet bandwidth. Allow about three hours for a full installation on the Beaglebone Black. On the Beaglebone installation is in two parts, since a reboot is needed to enable the hardware random number generator and zram.
|
||||
Installation is not quick, and depends upon which variant you choose and your internet bandwidth. Allow about three hours for a full installation on the Beaglebone Black. On the Beaglebone installation is in two parts, since a reboot is needed to enable the hardware random number generator and zram.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -430,11 +310,103 @@ When done you can ssh into the Freedombone with:
|
|||
</div>
|
||||
|
||||
<p>
|
||||
Any manual post-installation setup instructions or passwords can be found in /home/username/README. You should remove any passwords from that file and store them within a password manager such as KeepassX.
|
||||
Any manual post-installation setup instructions or passwords can be found in <b>/home/username/README</b>. You should remove any passwords from that file and store them within a password manager such as KeepassX.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-3" class="outline-2">
|
||||
<h2 id="unnumbered-3">On a laptop/PC/netbook</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-3">
|
||||
<p>
|
||||
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 do not include the <b>–bbb</b> option within the <b>freedombone</b> command. Obviously, you don't need to run the <b>freedombone-prep</b> command on non-Beaglebone systems.
|
||||
</p>
|
||||
|
||||
<ul class="org-ul">
|
||||
<li>Download the <a href="https://www.debian.org/devel/debian-installer">Debian Jessie "netinst" installer</a>
|
||||
</li>
|
||||
<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
|
||||
</li>
|
||||
<li>Connect the machine to your internet router using an ethernet patch lead. Freedombone is a fully free (as in freedom) system and so wifi drivers may not work. A wired network connection will give better performance anyway.
|
||||
</li>
|
||||
<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.
|
||||
</li>
|
||||
<li>Within the installer unselect the <b>print server</b> and select the <b>ssh server</b>
|
||||
</li>
|
||||
<li>After installation use ssh to access the machine and become the root user
|
||||
</li>
|
||||
</ul>
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh username@192.168.1.60
|
||||
su
|
||||
</pre>
|
||||
</div>
|
||||
<ul class="org-ul">
|
||||
<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.
|
||||
</li>
|
||||
<li>Run the following commands:
|
||||
</li>
|
||||
</ul>
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash"><span class="org-builtin">cd</span> /home/<username>
|
||||
apt-get install git
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
make install
|
||||
nano freedombone.cfg
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<ul class="org-ul">
|
||||
<li>Now create a configuration file, such as the following, filling in the details for your <a href="https://freedns.afraid.org/">FreeDNS subdomains</a>.
|
||||
</li>
|
||||
</ul>
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash"><span class="org-variable-name">INSTALLING_ON_BBB</span>=no
|
||||
<span class="org-variable-name">MY_EMAIL_ADDRESS</span>=<your email address>
|
||||
<span class="org-variable-name">MY_NAME</span>=<your name/nick/pseudonym>
|
||||
<span class="org-variable-name">MY_BLOG_TITLE</span>=<title of your blog>
|
||||
<span class="org-variable-name">MY_BLOG_SUBTITLE</span>=<subtitle of your blog>
|
||||
<span class="org-variable-name">SSH_PORT</span>=2222
|
||||
<span class="org-variable-name">FULLBLOG_DOMAIN_NAME</span>=<freedns subdomain for your blog>
|
||||
<span class="org-variable-name">FULLBLOG_FREEDNS_SUBDOMAIN_CODE</span>=<freedns subdomain code for your blog>
|
||||
<span class="org-variable-name">MICROBLOG_DOMAIN_NAME</span>=<domain name for your microblog>
|
||||
<span class="org-variable-name">MICROBLOG_FREEDNS_SUBDOMAIN_CODE</span>=1234
|
||||
<span class="org-variable-name">REDMATRIX_DOMAIN_NAME</span>=<domain name for your Red Matrix site>
|
||||
<span class="org-variable-name">OWNCLOUD_DOMAIN_NAME</span>=<freedns subdomain for your Owncloud site>
|
||||
<span class="org-variable-name">OWNCLOUD_FREEDNS_SUBDOMAIN_CODE</span>=<freedns subdomain code for your Owncloud site>
|
||||
<span class="org-variable-name">WIKI_TITLE</span>=<title of your wiki>
|
||||
<span class="org-variable-name">WIKI_DOMAIN_NAME</span>=<freedns subdomain for your wiki>
|
||||
<span class="org-variable-name">WIKI_FREEDNS_SUBDOMAIN_CODE</span>=<freedns subdomain code for your wiki>
|
||||
<span class="org-variable-name">MY_GPG_PUBLIC_KEY</span>=<exported public key filename>
|
||||
<span class="org-variable-name">MY_GPG_PRIVATE_KE</span>=<exported private key filename>
|
||||
<span class="org-variable-name">PUBLIC_MAILING_LIST</span>=<name of your mailing list>
|
||||
<span class="org-variable-name">LOCAL_NETWORK_STATIC_IP_ADDRESS</span>=192.168.1.60
|
||||
<span class="org-variable-name">ROUTER_IP_ADDRESS</span>=192.168.1.254
|
||||
<span class="org-variable-name">ENABLE_CJDNS</span>=no
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<ul class="org-ul">
|
||||
<li>Save and exit, then run:
|
||||
</li>
|
||||
</ul>
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone -d [your wiki domain name] -u [your username] -c [your wiki FreeDNS domain code] --ddnsuser [FreeDNS username] --ddnspass [FreeDNS password]
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-4" class="outline-2">
|
||||
<h2 id="unnumbered-4">Internet Router</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-4">
|
||||
<p>
|
||||
On your internet router, typically under firewall settings, open the following ports and forward them to your server.
|
||||
On your internet router, typically under firewall settings, open the following ports and forward them to the Freedombone.
|
||||
</p>
|
||||
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
|
Loading…
Reference in New Issue