Browse Source

Improving convergence

Bob Mottram 11 years ago
parent
commit
d43f0eaf8e
1 changed files with 17 additions and 4 deletions
  1. 17
    4
      beaglebone.txt

+ 17
- 4
beaglebone.txt View File

5720
 convergence-createdb
5720
 convergence-createdb
5721
 #+END_SRC
5721
 #+END_SRC
5722
 
5722
 
5723
-Start the server: (TODO turn this into a daemon)
5723
+Create an initialisation script:
5724
 
5724
 
5725
 #+BEGIN_SRC: bash
5725
 #+BEGIN_SRC: bash
5726
-convergence-notary -p 80 -s 443 -c /etc/ssl/certs/mynotary.pem -k /etc/ssl/private/mynotary.key
5726
+convergence-notary -p 8432 -s 8433 -c /etc/ssl/certs/mynotary.pem -k /etc/ssl/private/mynotary.key
5727
 #+END_SRC
5727
 #+END_SRC
5728
 
5728
 
5729
-TODO: those ports are already used.  Use others?
5729
+An initialisation script will be created automatically within /etc/init.d.
5730
 
5730
 
5731
 Generate a notary bundle:
5731
 Generate a notary bundle:
5732
 
5732
 
5733
 #+BEGIN_SRC: bash
5733
 #+BEGIN_SRC: bash
5734
 convergence-bundle
5734
 convergence-bundle
5735
-mv *.notary /var/www/mydomainname.com/htdocs
5736
 #+END_SRC
5735
 #+END_SRC
5737
 
5736
 
5737
+Enter your name, nickname, handle or whatever.
5738
+
5739
+For the bundle location enter https://mydomainname.com/convergence.notary
5740
+
5741
+For the Hostname press Enter.
5742
+
5743
+#+BEGIN_SRC: bash
5744
+export HOSTNAME=mydomainname.com
5745
+mv mynotarybundle.notary /var/www/$HOSTNAME/htdocs/convergence.notary
5746
+chown www-data:www-data /var/www/$HOSTNAME/htdocs/convergence.notary
5747
+#+END_SRC
5748
+
5749
+Now open ports 8432 and 8433 on your internet router or firewall and direct it to the BBB.
5750
+
5738
 * Related projects
5751
 * Related projects
5739
 
5752
 
5740
   * [[https://freedomboxfoundation.org/][Freedombox]]
5753
   * [[https://freedomboxfoundation.org/][Freedombox]]