Browse Source

Require XMPP encryption server-to-server and client-to-server #2

Bob Mottram 11 years ago
parent
commit
4f61a29c28
1 changed files with 90 additions and 0 deletions
  1. 90
    0
      beaglebone.txt

+ 90
- 0
beaglebone.txt View File

@@ -1815,7 +1815,11 @@ And also append the following:
1815 1815
 #+BEGIN_SRC: bash
1816 1816
 modules_enabled = {
1817 1817
   "bosh"; -- Enable mod_bosh
1818
+  "tls"; -- Enable mod_tls
1818 1819
 }
1820
+
1821
+c2s_require_encryption = true
1822
+s2s_require_encryption = true
1819 1823
 #+END_SRC
1820 1824
 
1821 1825
 Save and exit.  Create a symbolic link.
@@ -2141,6 +2145,92 @@ If you are using a self-signed certificate then at the login screen scroll down
2141 2145
 More information about the Friendica app can be found on http://friendica-for-android.wiki-lab.net/
2142 2146
 ***** Mobile Theme
2143 2147
 Another way to access Friendica from a mobile device is to just use the web browser.  If you have selected a mobile theme within your settings then when viewing from an Android system the mobile theme will be displayed.
2148
+*** Kune
2149
+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).
2150
+
2151
+#+BEGIN_SRC: bash
2152
+apt-get install openjdk-6-jdk openjdk-7-jre mysql-server adduser dbconfig-common libjmagick6-jni
2153
+#+END_SRC
2154
+
2155
+Add the Kune repository:
2156
+
2157
+#+BEGIN_SRC: bash
2158
+emacs /etc/apt/sources.list
2159
+#+END_SRC
2160
+
2161
+Append the following:
2162
+
2163
+#+BEGIN_SRC: bash
2164
+deb ftp://ftp.kune.ourproject.org/pub/kune/debian/ stable/
2165
+#+END_SRC
2166
+
2167
+Save and exit, then install the Kune package.
2168
+
2169
+#+BEGIN_SRC: bash
2170
+gpg --keyserver pgp.mit.edu --recv-keys 9E358A05
2171
+gpg --armor --export 9E358A05 | apt-key add -
2172
+apt-get update
2173
+apt-get install kune
2174
+#+END_SRC
2175
+
2176
+You will be asked for the MySql root password and another password to be used with the Kune database.
2177
+
2178
+Allow the system to start automatically at boot.
2179
+
2180
+#+BEGIN_SRC: bash
2181
+emacs /etc/default/kune
2182
+#+END_SRC
2183
+
2184
+Set /START=yes/, then save and exit.
2185
+
2186
+#+BEGIN_SRC: bash
2187
+service kune start
2188
+#+END_SRC
2189
+
2190
+Now configure Apache.
2191
+
2192
+#+BEGIN_SRC: bash
2193
+a2enmod expires
2194
+a2enmod proxy
2195
+a2enmod proxy_connect
2196
+a2enmod proxy_http
2197
+#+END_SRC
2198
+
2199
+mysql -p kune_prod < /usr/share/dbconfig-common/data/kune/upgrade/mysql/0.2.0+b25
2200
+
2201
+emacs /etc/apache2/sites-available/$HOSTNAME
2202
+
2203
+<VirtualHost *:80>
2204
+    ServerName YOURSERVERNAME
2205
+
2206
+    ProxyRequests Off
2207
+    <Proxy *>
2208
+        Order deny,allow
2209
+        Allow from all
2210
+    </Proxy>
2211
+
2212
+    <Files *.cache.*>
2213
+        ExpiresActive On
2214
+        ExpiresDefault "modification plus 2 years"
2215
+    </Files>
2216
+
2217
+    <Files *.nocache.*>
2218
+        ExpiresActive Off
2219
+    </Files>
2220
+
2221
+    ProxyPass /kune/ http://localhost:8888/
2222
+    ProxyPassReverse /kune/ http://localhost:8888/
2223
+    <Location /var/www/mydomainname.com/htdocs/kune/>
2224
+        Order allow,deny
2225
+        Allow from all
2226
+    </Location>
2227
+</VirtualHost>
2228
+
2229
+
2230
+Within a browser open https://mydomainname.com:8888
2231
+
2232
+See documentation in /usr/share/doc/kune/INSTALL.gz
2233
+
2144 2234
 *** Movim
2145 2235
 
2146 2236
 #+BEGIN_VERSE