Selaa lähdekoodia

Remove deprecated items which are unlikely to be installed

Bob Mottram 11 vuotta sitten
vanhempi
commit
8fc0e4a02c
1 muutettua tiedostoa jossa 0 lisäystä ja 473 poistoa
  1. 0
    473
      beaglebone.txt

+ 0
- 473
beaglebone.txt Näytä tiedosto

@@ -6900,480 +6900,6 @@ Now visit your web site at https://mydomainname.com and you should notice that t
6900 6900
 
6901 6901
 The following items have been deprecated until such time as a successful installation is achieved.
6902 6902
 
6903
-** Install a VoIP server
6904
-
6905
-#+BEGIN_VERSE
6906
-/Our core principles, whether in software or sovereignty, have always been about freedom and dignity, for all people, on an equal basis/
6907
-
6908
-#+END_VERSE
6909
-
6910
-*** The server
6911
-Sipwitch is like an introduction service or phone book for SIP VoIP clients.  Once introduced the clients can then talk directly, and this means that sipwitch is very lightweight and can run on low power systems such as the BBB.
6912
-
6913
-Edit your package sources:
6914
-
6915
-#+BEGIN_SRC: bash
6916
-editor /etc/apt/sources.list
6917
-#+END_SRC
6918
-
6919
-Append the following line:
6920
-
6921
-#+BEGIN_SRC: bash
6922
-deb http://dev.gnutelephony.org/archive/ wheezy/
6923
-#+END_SRC
6924
-
6925
-Save and exit.
6926
-
6927
-To load the repository the first time after adding it to the sources.list, since you do not have the verification keys already installed yet. Then do
6928
-
6929
-#+BEGIN_SRC: bash
6930
-apt-get install gnutelephony-keyring
6931
-#+END_SRC
6932
-
6933
-After that it will be happy to accept it as a signed repository. The verification keys can also be directly fetched with
6934
-
6935
-#+BEGIN_SRC: bash
6936
-cd /tmp
6937
-wget http://dev.gnutelephony.org/archive/wheezy/public.key
6938
-#+END_SRC
6939
-
6940
-and manually added instead with
6941
-
6942
-#+BEGIN_SRC: bash
6943
-apt-key add public.key
6944
-#+END_SRC
6945
-
6946
-To make sure you have all dependencies, do
6947
-
6948
-#+BEGIN_SRC: bash
6949
-apt-get update;apt-get dist-upgrade
6950
-#+END_SRC
6951
-
6952
-Before we install anything, let's inspect what is available to us by using
6953
-
6954
-#+BEGIN_SRC: bash
6955
-dpkg -l sipwitch
6956
-#+END_SRC
6957
-
6958
-To see the main application. The columns will indicate if the package is installed, which version and a description of the package. Then do
6959
-
6960
-#+BEGIN_SRC: bash
6961
-dpkg -l sipwitch-*
6962
-#+END_SRC
6963
-
6964
-to see available supporting applications and plugins. Again, the columns will indicate if the package is installed, which version and a description of each of these.
6965
-
6966
-To install only the main application, do
6967
-
6968
-#+BEGIN_SRC: bash
6969
-apt-get install sipwitch
6970
-#+END_SRC
6971
-
6972
-and to install all supporting plugins:
6973
-
6974
-#+BEGIN_SRC: bash
6975
-apt-get install sipwitch-plugin-scripting sipwitch-plugin-subscriber sipwitch-plugin-forward sipwitch-plugin-zeroconf
6976
-#+END_SRC
6977
-
6978
-Add your user into the sipwitch group
6979
-
6980
-#+BEGIN_SRC: bash
6981
-groupadd sipwitch
6982
-groupadd sipusers
6983
-usermod -aG sipwitch myusername
6984
-usermod -aG sipusers myusername
6985
-#+END_SRC
6986
-
6987
-Then edit the configuration
6988
-
6989
-#+BEGIN_SRC: bash
6990
-editor /etc/sipwitch.conf
6991
-#+END_SRC
6992
-
6993
-Change the *mapped* value from 200 to 20, since we don't want to be serving huge numbers of calls.
6994
-
6995
-Alter the *range* value to 10, since we don't need a large number of extensions.  This will mean that exension numbers 200 to 209 are available.
6996
-
6997
-Do not set the *realm* value, as doing so seems to prevent the server from working.
6998
-
6999
-Save and exit.
7000
-
7001
-Create a digest string for your username:
7002
-
7003
-#+BEGIN_SRC: bash
7004
-sipwitch digest myusername
7005
-#+END_SRC
7006
-
7007
-Make a note of the resulting string because you're going to use it in the users file you'll now create.
7008
-
7009
-#+BEGIN_SRC: bash
7010
-export HOSTNAME=mydomainname.com
7011
-touch /etc/sipwitch.d/$HOSTNAME.xml
7012
-chmod 600 /etc/sipwitch.d/$HOSTNAME.xml
7013
-editor /etc/sipwitch.d/$HOSTNAME.xml
7014
-#+END_SRC
7015
-
7016
-It should look something like the following:
7017
-
7018
-#+BEGIN_SRC: bash
7019
-<provision>
7020
-    <user id="myusername">
7021
-        <digest>yourdigeststring</digest>
7022
-		<extension>201</extension>
7023
-		<display>Your full name</display>
7024
-    </user>
7025
-</provision>
7026
-#+END_SRC
7027
-
7028
-Save and exit.  Now edit the configuration.
7029
-
7030
-#+BEGIN_SRC: bash
7031
-editor /etc/default/sipwitch
7032
-#+END_SRC
7033
-
7034
-Change "desktop" to "server", then save and exit.
7035
-
7036
-Update the IP settings:
7037
-
7038
-#+BEGIN_SRC: bash
7039
-iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
7040
-iptables -A INPUT -p udp --dport 5060 -j ACCEPT
7041
-iptables -A INPUT -p tcp --dport 5061 -j ACCEPT
7042
-iptables -A INPUT -p udp --dport 5061 -j ACCEPT
7043
-iptables-save
7044
-#+END_SRC
7045
-
7046
-Test that it's working:
7047
-
7048
-#+BEGIN_SRC: bash
7049
-pkill -9 sipw
7050
-sipw -x9 -f
7051
-#+END_SRC
7052
-
7053
-Then try to register with the server using a SIP client (such as Jitsi). If everything worked then use CTRL-C to exit.  Then start the service.
7054
-
7055
-#+BEGIN_SRC: bash
7056
-service sipwitch start
7057
-#+END_SRC
7058
-
7059
-*** Clients
7060
-**** Jitsi
7061
-Download the latst version from https://jitsi.org/index.php/Main/Download
7062
-
7063
-TODO
7064
-**** Twinkle client
7065
-
7066
-The client should have a user profile as following:
7067
-
7068
-The "user name" is the xxx id used in the <user id="xxx"> entry of /etc/sipwitch.conf
7069
-
7070
-The "domain" is the yyy domain in the main config <stack><domain>yyy entry of /etc/sipwitch.conf
7071
-
7072
-The SIP Authentication should have:
7073
-
7074
-realm = realm as set in <registry><realm> of /etc/sipwitch.conf
7075
-
7076
-authentication name = <user id="xx"> entry, same as "User Name" field.
7077
-
7078
-password = value of <secret>zzz in <user> entry of /etc/sipwitch.conf
7079
-
7080
-Under security tab, set "Enable ZRTP/SRTP encryption"
7081
-**** Android
7082
-TODO
7083
-
7084
-CSipSimple?
7085
-** Kune
7086
-Kune is a collaboration tool aimed at not just socialising but also getting stuff done within a community.  It's based upon Apache Wave (formerly Google Wave).
7087
-
7088
-#+BEGIN_SRC: bash
7089
-apt-get install openjdk-6-jdk openjdk-7-jre mysql-server adduser dbconfig-common libjmagick6-jni
7090
-#+END_SRC
7091
-
7092
-Add the Kune repository:
7093
-
7094
-#+BEGIN_SRC: bash
7095
-editor /etc/apt/sources.list
7096
-#+END_SRC
7097
-
7098
-Append the following:
7099
-
7100
-#+BEGIN_SRC: bash
7101
-deb ftp://ftp.kune.ourproject.org/pub/kune/debian/ stable/
7102
-#+END_SRC
7103
-
7104
-Save and exit, then install the Kune package.
7105
-
7106
-#+BEGIN_SRC: bash
7107
-gpg --keyserver pgp.mit.edu --recv-keys 9E358A05
7108
-gpg --armor --export 9E358A05 | apt-key add -
7109
-apt-get update
7110
-apt-get install kune
7111
-#+END_SRC
7112
-
7113
-You will be asked for the MySql root password and another password to be used with the Kune database.
7114
-
7115
-Allow the system to start automatically at boot.
7116
-
7117
-#+BEGIN_SRC: bash
7118
-editor /etc/default/kune
7119
-#+END_SRC
7120
-
7121
-Set /START=yes/, then save and exit.
7122
-
7123
-#+BEGIN_SRC: bash
7124
-service kune start
7125
-#+END_SRC
7126
-
7127
-Now configure Apache.
7128
-
7129
-#+BEGIN_SRC: bash
7130
-a2enmod expires
7131
-a2enmod proxy
7132
-a2enmod proxy_connect
7133
-a2enmod proxy_http
7134
-#+END_SRC
7135
-
7136
-Upgrade the database.
7137
-
7138
-#+BEGIN_SRC: bash
7139
-mysql -p kune_prod < /usr/share/dbconfig-common/data/kune/upgrade/mysql/0.1.0+b5
7140
-mysql -p kune_prod < /usr/share/dbconfig-common/data/kune/upgrade/mysql/0.1.0+b6
7141
-mysql -p kune_prod < /usr/share/dbconfig-common/data/kune/upgrade/mysql/0.2.0+b12
7142
-mysql -p kune_prod < /usr/share/dbconfig-common/data/kune/upgrade/mysql/0.2.0+b23
7143
-mysql -p kune_prod < /usr/share/dbconfig-common/data/kune/upgrade/mysql/0.2.0+b25
7144
-#+END_SRC
7145
-
7146
-Edit the Apache configuration.
7147
-
7148
-#+BEGIN_SRC: bash
7149
-editor /etc/apache2/sites-available/$HOSTNAME
7150
-#+END_SRC
7151
-
7152
-<VirtualHost *:80>
7153
-    ServerName YOURSERVERNAME
7154
-
7155
-    ProxyRequests Off
7156
-    <Proxy *>
7157
-        Order deny,allow
7158
-        Allow from all
7159
-    </Proxy>
7160
-
7161
-    <Files *.cache.*>
7162
-        ExpiresActive On
7163
-        ExpiresDefault "modification plus 2 years"
7164
-    </Files>
7165
-
7166
-    <Files *.nocache.*>
7167
-        ExpiresActive Off
7168
-    </Files>
7169
-
7170
-    ProxyPass /kune/ http://localhost:8888/
7171
-    ProxyPassReverse /kune/ http://localhost:8888/
7172
-    <Location /var/www/mydomainname.com/htdocs/kune/>
7173
-        Order allow,deny
7174
-        Allow from all
7175
-    </Location>
7176
-</VirtualHost>
7177
-
7178
-
7179
-Within a browser open https://mydomainname.com:8888
7180
-
7181
-See documentation in /usr/share/doc/kune/INSTALL.gz
7182
-
7183
-** Loomio
7184
-
7185
-#+BEGIN_SRC: bash
7186
-apt-get install imagemagick libmagickcore-dev postgresql libmagickwand-dev
7187
-#+END_SRC
7188
-
7189
-psql -d postgres
7190
-postgres=# create role postgres login createdb;
7191
-postgres=# \q
7192
-
7193
-
7194
-#+BEGIN_SRC: bash
7195
-cd /srv
7196
-git clone https://github.com/loomio/loomio.git
7197
-cd /srv/loomio
7198
-bundle install
7199
-cp config/database.example.yml config/database.yml
7200
-cp .example-env .env
7201
-bundle exec rake db:create
7202
-bundle exec rake db:schema:load
7203
-bundle exec rake db:schema:load RAILS_ENV=test
7204
-bundle exec rake db:seed
7205
-#+END_SRC
7206
-
7207
-foreman start
7208
-
7209
-Edit the Apache configuration for your mediagoblin site.
7210
-
7211
-#+BEGIN_SRC: bash
7212
-editor /etc/apache2/sites-available/myloomiodomain
7213
-#+END_SRC
7214
-
7215
-Delete the existing configuration (in Emacs it's CTRL-x h then CTRL-w) and paste the following, replacing /myloomiodomain/ with your mediagoblin domain name and /myusername@mydomainname.com/ with your email address.
7216
-
7217
-#+BEGIN_SRC: bash
7218
-<VirtualHost *:80>
7219
-    ServerAdmin myusername@mydomainname.com
7220
-
7221
-    DocumentRoot /srv/myloomiodomain
7222
-    ServerName myloomiodomain
7223
-
7224
-    <Directory />
7225
-        Options FollowSymLinks
7226
-        AllowOverride None
7227
-    </Directory>
7228
-    <Directory /srv/myloomiodomain/>
7229
-        Options Indexes FollowSymLinks MultiViews
7230
-        AllowOverride All
7231
-        Order allow,deny
7232
-        allow from all
7233
-    </Directory>
7234
-
7235
-    LogLevel warn
7236
-
7237
-    ProxyVia On
7238
-
7239
-    ProxyRequests off
7240
-    ProxyPreserveHost on
7241
-
7242
-    ProxyPass / http://localhost:3000/
7243
-
7244
-    ErrorLog "/var/log/apache2/error.log"
7245
-    CustomLog "/var/log/apache2/access.log" combined
7246
-
7247
-    RewriteEngine On
7248
-    RewriteOptions Inherit
7249
-</VirtualHost>
7250
-#+END_SRC
7251
-
7252
-Save and exit.
7253
-
7254
-Now in a browser visit http://myloomiodomain and create a user.
7255
-
7256
-** Connect Bitmessage to Email
7257
-
7258
-TODO: how to connect Bitmessage to an email client.
7259
-
7260
-#+BEGIN_SRC: bash
7261
-cd /tmp
7262
-wget http://freedombone.uk.to/notbit.tar.gz
7263
-#+END_SRC
7264
-
7265
-Verify it.
7266
-
7267
-#+BEGIN_SRC: bash
7268
-sha256sum notbit.tar.gz
7269
-972fdc9cbb8034141282337dcd5e557bce57969ff6bd1d607da89bd93cc7bb68
7270
-#+END_SRC
7271
-
7272
-Extract and install it.
7273
-
7274
-#+BEGIN_SRC: bash
7275
-tar -xzvf notbit.tar.gz
7276
-cd notbit
7277
-apt-get install dh-autoreconf
7278
-./autogen.sh --prefix=/home/myusername
7279
-make
7280
-make install
7281
-#+END_SRC
7282
-
7283
-** Add a Convergenge notary
7284
-Convergence is a secure replacement for the Certificate Authority System. Rather than employing a traditionally hard-coded list of immutable and largely untrusted CAs, Convergence allows you to configure a dynamic set of Notaries which use network perspective to validate your communication.  For more details see [[http://convergence.io][convergence.io]] or [[http://www.youtube.com/watch?v=Z7Wl2FW2TcA][this talk which explains the concepts]].
7285
-
7286
-*** Installation
7287
-
7288
-#+BEGIN_SRC: bash
7289
-apt-get install python python-twisted-web python-twisted-names python-m2crypto python-openssl
7290
-cd /tmp
7291
-git clone https://github.com/fuzzgun/convergence
7292
-cd convergence/server
7293
-python ./setup.py install
7294
-#+END_SRC
7295
-
7296
-Generate a key pair:
7297
-
7298
-#+BEGIN_SRC: bash
7299
-convergence gencert
7300
-#+END_SRC
7301
-
7302
-When asked for a challenge password just hit *Enter* a couple of times. Then move the key pair to the appropriate directories as follows.
7303
-
7304
-#+BEGIN_SRC: bash
7305
-mv mynotary.key /etc/ssl/private
7306
-chmod 400 /etc/ssl/private/mynotary.key
7307
-mv mynotary.pem /etc/ssl/certs
7308
-#+END_SRC
7309
-
7310
-Now create the database:
7311
-
7312
-#+BEGIN_SRC: bash
7313
-rm /var/lib/convergence/convergence.db
7314
-convergence createdb
7315
-#+END_SRC
7316
-
7317
-Create an initialisation script:
7318
-
7319
-#+BEGIN_SRC: bash
7320
-editor /etc/init.d/convergence
7321
-#+END_SRC
7322
-
7323
-Add the following:
7324
-
7325
-#+BEGIN_SRC: bash
7326
-#+END_SRC
7327
-
7328
-Save and exit.
7329
-
7330
-#+BEGIN_SRC: bash
7331
-adduser converg
7332
-#+END_SRC
7333
-
7334
-The details for the user don't especially matter, but give them a long random password.
7335
-
7336
-#+BEGIN_SRC: bash
7337
-chown -R converg:converg /home/converg
7338
-chmod +x /etc/init.d/convergence
7339
-update-rc.d convergence defaults
7340
-service convergence start
7341
-#+END_SRC
7342
-
7343
-Generate a notary bundle:
7344
-
7345
-#+BEGIN_SRC: bash
7346
-convergence bundle
7347
-#+END_SRC
7348
-
7349
-Enter your name, nickname, handle or whatever.
7350
-
7351
-For the bundle location enter https://mydomainname.com/convergence.notary
7352
-
7353
-For the Hostname enter your domain name
7354
-
7355
-For SSL port enter *8433* and for HTTP port nter *8432*
7356
-
7357
-For the pem file enter */etc/ssl/certs/mynotary.pem*
7358
-
7359
-#+BEGIN_SRC: bash
7360
-export HOSTNAME=mydomainname.com
7361
-mv mynotarybundle.notary /var/www/$HOSTNAME/htdocs/convergence.notary
7362
-chown www-data:www-data /var/www/$HOSTNAME/htdocs/convergence.notary
7363
-#+END_SRC
7364
-
7365
-Now open ports 8432 and 8433 on your internet router or firewall and direct it to the BBB.
7366
-
7367
-*** Using Convergence
7368
-On a computer which is not the BBB (your laptop, etc):
7369
-
7370
-Install the browser plugin by navigating to https://addons.mozilla.org/en-us/firefox/addon/convergence-extra/
7371
-
7372
-After installation restart your browser.
7373
-
7374
-You will notice that an icon appears in the top right corner of the browser, which resembles a lock and two plus signs.  Click on the down arrow to the right of it and select *options*.
7375
-
7376 6903
 ** Gitlab
7377 6904
 
7378 6905
 Install some dependencies: