Bob Mottram 10 年之前
父節點
當前提交
127527297c
共有 1 個文件被更改,包括 46 次插入14 次删除
  1. 46
    14
      README.md

+ 46
- 14
README.md 查看文件

@@ -1,26 +1,58 @@
1
-<img src="https://github.com/fuzzgun/freedombone/blob/master/images/logo120.png?raw=true"/>
1
+Freedombone
2
+===========
3
+The Freedombone system can be installed onto a Beaglebone Black, or any system capable of running Debian Jessie, and allows you to host your own email and web services. With Freedombone you can enjoy true freedom and independence in the cloud. It comes in a variety of flavours.
2 4
 
3
-**Note: for information on fixing the "heartbleed" vulnerability see the section called "Regenerating SSL certificates"**
5
+  Full install - Installs eveything
6
+  Mailbox - An email server with GPG encryption enabled by default
7
+  Cloud - Share files, maintain a calendar and collaborate on document editing
8
+  Social - Social networking with Red Matrix and GNU Social
9
+  Media - Runs media services such as DLNA to play music or videos on your devices
10
+  Writer - Host your blog and wiki
11
+  Chat - Encrypted IRC and XMPP services for one-to-one and many-to-many chat
4 12
 
5
-FreedomBone is a personal home communications server based upon the BeagleBone Black hardware. It's small and cheap and will allow you to use email, have your own web site and do social networking in a federated way without needing to rely upon any intermediary companies other than your ISP.
13
+Unlike certain other self-hosting projects Freedombone has more emphasis on security and privacy. When installed on a Beaglebone Black it uses the built-in hardware random number generator as an entropy source and all communications with the box are encrypted by default using the recommendations from https://bettercrypto.org. The firewall is configured to only allow communications on the necessary ports and to drop all other packets, icmp is disabled by default and time synchronisation occurs via TLS only.  Backups are also encrypted.
6 14
 
7
-beaglebone.txt is in Emacs org-mode format.
15
+Installation
16
+============
17
+To get started you will need:
8 18
 
9
-* [Main site](http://freedombone.uk.to)
10
-* [Initial project announcement](http://computationalist.uk.to/?x=entry:entry140101-121418)
19
+ - A Beaglebone Black
20
+ - A MicroSD card
21
+ - Ethernet cable
22
+ - Optionally a 5V 2A power supply for the Beaglebone Black
23
+ - Access to the internet via a router with ethernet sockets
24
+ - USB thumb drive (for backups or storing media)
25
+ - A subdomain created on https://freedns.afraid.org
26
+ - A purchased domain name and SSL certificate (only needed for Red Matrix)
11 27
 
12
-If anyone wants to help on the project:
28
+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).
13 29
 
14
-1. Suggest some quotations.  The idea of the quotations is to provide some extra inspiration in what otherwise would be a long boring process of typing in instructions.
30
+Plug the microSD card into your laptop/desktop and then run the initial_setup.sh script. For example:
15 31
 
16
-2. Promote the idea of hosting your own internet services and resisting mass surveillance and censorship.  Encourage other people to set up their own Freedombone or similar home servers.  If you are a member of a club or organisation then set up a Freedombone for use by members.
32
+    ./initial_setup.sh /dev/sdX
17 33
 
18
-3. If you know anything about computer security, encryption or filewalls then check the instructions and report any mistakes or improvements if you find them. That can be done via the Github issues. https://github.com/fuzzgun/freedombone/issues
34
+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.
19 35
 
20
-4. If you think any of the systems are too vulnerable to security failings and shouldn't be recommended then flag that.
36
+When the initial setup is done follow the instructions on screen to run the main Freedombone script. Edit the install-freedombone.sh script and change the following as needed. If you don't want those services then just leave them as they are.
21 37
 
22
-5. There are some deprecated instructions for systems which I havn't yet been able to get running. If you can improve those instructions to the extent that a working system is obtainable on Debian 7 then either submit a pull request or add the instructions as an issue.
38
+    MICROBLOG_DOMAIN_NAME
39
+    MICROBLOG_FREEDNS_SUBDOMAIN_CODE
40
+	OWNCLOUD_DOMAIN_NAME
41
+	OWNCLOUD_FREEDNS_SUBDOMAIN_CODE
42
+	WIKI_DOMAIN_NAME
43
+	WIKI_FREEDNS_SUBDOMAIN_CODE
44
+	REDMATRIX_DOMAIN_NAME
23 45
 
24
-6. I would like to include a liquid voting system for community or civic organisation. This goes beyond personal communications into the area of organising and developing a community (voting on things, making plans, delegating resources and people), and I think something like a Freedombox/Freedombone would be a good infrastructure for that. I havn't done much research on it but there are systems such as Liquid Feedback and Agora which would be good to include if possible. https://github.com/agoraciudadana/agora-ciudadana
46
+The FreeDNS 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.
25 47
 
26
-5. It would also be nice to turn instructions into scripts, with the ultimate aim of being able to just type "apt-get install freedombone" and then enter some domain names and passwords. I think that's also a stated aim of the Freedombox project.
48
+Installation is not quick, and depends upon which variant you choose and your internet bandwidth. Allow at least a couple of hours for it to finish.
49
+
50
+When done you can ssh into the Freedombone with:
51
+
52
+    ssh username@domain -p 2222
53
+
54
+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.
55
+
56
+Non-Beaglebone hardware
57
+=======================
58
+It's also possible to install Freedombone onto other hardware. 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 the install-freedombone.sh script. Obviously, you don't need to run the initial_setup.sh script on non-Beaglebone systems.