Bob Mottram пре 7 година
родитељ
комит
0d36c9c4fe
2 измењених фајлова са 0 додато и 489 уклоњено
  1. 0
    92
      doc/EN/usage.org
  2. 0
    397
      website/EN/usage.html

+ 0
- 92
doc/EN/usage.org Прегледај датотеку

@@ -1,92 +0,0 @@
1
-#+TITLE:
2
-#+AUTHOR: Bob Mottram
3
-#+EMAIL: bob@freedombone.net
4
-#+KEYWORDS: freedombone
5
-#+DESCRIPTION: How to use the Freedombone system
6
-#+OPTIONS: ^:nil toc:nil
7
-#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="freedombone.css" />
8
-
9
-#+attr_html: :width 80% :height 10% :align center
10
-[[file:images/logo.png]]
11
-
12
-* Usage
13
-
14
-| [[Improving security]]                                   |
15
-| [[Administrating the system via an onion address (Tor)]] |
16
-| [[./mobile.html][Mobile advice]]                                        |
17
-| [[./usage_email.html][Using Email]]                                          |
18
-| [[./app_syncthing.html][Syncing to the Cloud]]                                 |
19
-| [[./app_dlna.html][Play Music]]                                           |
20
-| [[./app_gnusocial.html][Microblogging (GNU Social)]]                           |
21
-| [[./app_postactiv.html][Microblogging (PostActiv)]]                            |
22
-| [[./app_ghost.html][Blogging with Ghost]]                                  |
23
-| [[./app_htmly.html][Blogging with HTMLy]]                                  |
24
-| [[./app_hubzilla.html][Social Network]]                                       |
25
-| [[./app_lychee.html][Photo albums]]                                         |
26
-| [[./app_mediagoblin.html][Hosting video and audio content]]                      |
27
-| [[./app_dokuwiki.html][Wiki]]                                                 |
28
-| [[./app_etherpad.html][Collaborative document editing]]                       |
29
-| [[./app_irc.html][Multi-user chat with IRC]]                             |
30
-| [[./app_xmpp.html][XMPP/Jabber]]                                          |
31
-| [[./app_tox.html][Tox]]                                                  |
32
-| [[./app_mumble.html][Mumble]]                                               |
33
-| [[./app_mailpile.jtml][Mailpile]]                                             |
34
-| [[./app_rss.html][RSS Reader]]                                           |
35
-| [[./app_radicale.html][CalDAV calendar server]]                               |
36
-| [[./app_gogs.html][Git Projects]]                                         |
37
-| [[Adding or removing users]]                             |
38
-| [[./app_pihole.html][Blocking Ads]]                                         |
39
-| [[./app_turtl.html][Making and sharing notes and images]]                  |
40
-
41
-* Improving security
42
-It's a lot more secure to log in to the Freedombone system using ssh keys rather than with a password. You can set that up by first running:
43
-
44
-#+begin_src bash
45
-freedombone-client
46
-#+end_src
47
-
48
-On your local system (i.e. whatever you're logging in to the Freedombone system from, typically a laptop). Then:
49
-
50
-#+begin_src
51
-ssh myusername@freedombone.local -p 2222
52
-#+end_src
53
-
54
-Select *Administrator controls* and re-enter your password, then *Manage Users* and *Change user ssh public key*. Copy and paste the ssh public keys which appeared after the *freedombone-client* command was run. Then go to *Security settings* and select *Allow ssh login with passwords* followed by *no*.
55
-
56
-You'll need to make sure that you have a copy of the ~/.ssh directory on your local system. You could just copy that directory to a USB drive and then keep that somewhere safe so that you can restore the keys if you need to.
57
-* Administrating the system via an onion address (Tor)
58
-You can also access your system via the Tor system using an onion address. To find out what the onion address for ssh access is you can do the following:
59
-
60
-#+BEGIN_SRC bash
61
-ssh username@freedombone.local -p 2222
62
-#+END_SRC
63
-
64
-Select /Administrator controls/ then select "About this system" and look for the onion address for ssh. You can then close the terminal and open another, then do the following on your local system:
65
-
66
-#+BEGIN_SRC bash
67
-freedombone-client
68
-#+END_SRC
69
-
70
-This will set up your ssh environment to be able to handle onion addresses. Then you can test ssh with:
71
-
72
-#+BEGIN_SRC bash
73
-ssh username@address.onion -p 2222
74
-#+END_SRC
75
-
76
-Subsequently even if dynamic DNS isn't working you may still be able to administer your system. Using the onion address also gives you some degree of protection against corporate or government metadata analysis, since it becomes more difficult to passively detect which systems are communicating.
77
-* Adding or removing users
78
-Log into the system with:
79
-
80
-#+BEGIN_SRC bash
81
-ssh username@domainname -p 2222
82
-#+END_SRC
83
-
84
-Select *Administrator controls* then *User Management*. Depending upon the type of installation after selecting administrator controls you might need to enter:
85
-
86
-#+BEGIN_SRC bash
87
-sudo su
88
-control
89
-#+END_SRC
90
-
91
-#+attr_html: :width 80% :align center
92
-[[file:images/controlpanel/control_panel_manage_users.jpg]]

+ 0
- 397
website/EN/usage.html Прегледај датотеку

@@ -1,397 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
-<head>
6
-<title></title>
7
-<!-- 2018-04-12 Thu 13:31 -->
8
-<meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
9
-<meta  name="generator" content="Org-mode" />
10
-<meta  name="author" content="Bob Mottram" />
11
-<meta  name="description" content="How to use the Freedombone system"
12
- />
13
-<meta  name="keywords" content="freedombone" />
14
-<style type="text/css">
15
- <!--/*--><![CDATA[/*><!--*/
16
-  .title  { text-align: center; }
17
-  .todo   { font-family: monospace; color: red; }
18
-  .done   { color: green; }
19
-  .tag    { background-color: #eee; font-family: monospace;
20
-            padding: 2px; font-size: 80%; font-weight: normal; }
21
-  .timestamp { color: #bebebe; }
22
-  .timestamp-kwd { color: #5f9ea0; }
23
-  .right  { margin-left: auto; margin-right: 0px;  text-align: right; }
24
-  .left   { margin-left: 0px;  margin-right: auto; text-align: left; }
25
-  .center { margin-left: auto; margin-right: auto; text-align: center; }
26
-  .underline { text-decoration: underline; }
27
-  #postamble p, #preamble p { font-size: 90%; margin: .2em; }
28
-  p.verse { margin-left: 3%; }
29
-  pre {
30
-    border: 1px solid #ccc;
31
-    box-shadow: 3px 3px 3px #eee;
32
-    padding: 8pt;
33
-    font-family: monospace;
34
-    overflow: auto;
35
-    margin: 1.2em;
36
-  }
37
-  pre.src {
38
-    position: relative;
39
-    overflow: visible;
40
-    padding-top: 1.2em;
41
-  }
42
-  pre.src:before {
43
-    display: none;
44
-    position: absolute;
45
-    background-color: white;
46
-    top: -10px;
47
-    right: 10px;
48
-    padding: 3px;
49
-    border: 1px solid black;
50
-  }
51
-  pre.src:hover:before { display: inline;}
52
-  pre.src-sh:before    { content: 'sh'; }
53
-  pre.src-bash:before  { content: 'sh'; }
54
-  pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
55
-  pre.src-R:before     { content: 'R'; }
56
-  pre.src-perl:before  { content: 'Perl'; }
57
-  pre.src-java:before  { content: 'Java'; }
58
-  pre.src-sql:before   { content: 'SQL'; }
59
-
60
-  table { border-collapse:collapse; }
61
-  caption.t-above { caption-side: top; }
62
-  caption.t-bottom { caption-side: bottom; }
63
-  td, th { vertical-align:top;  }
64
-  th.right  { text-align: center;  }
65
-  th.left   { text-align: center;   }
66
-  th.center { text-align: center; }
67
-  td.right  { text-align: right;  }
68
-  td.left   { text-align: left;   }
69
-  td.center { text-align: center; }
70
-  dt { font-weight: bold; }
71
-  .footpara:nth-child(2) { display: inline; }
72
-  .footpara { display: block; }
73
-  .footdef  { margin-bottom: 1em; }
74
-  .figure { padding: 1em; }
75
-  .figure p { text-align: center; }
76
-  .inlinetask {
77
-    padding: 10px;
78
-    border: 2px solid gray;
79
-    margin: 10px;
80
-    background: #ffffcc;
81
-  }
82
-  #org-div-home-and-up
83
-   { text-align: right; font-size: 70%; white-space: nowrap; }
84
-  textarea { overflow-x: auto; }
85
-  .linenr { font-size: smaller }
86
-  .code-highlighted { background-color: #ffff00; }
87
-  .org-info-js_info-navigation { border-style: none; }
88
-  #org-info-js_console-label
89
-    { font-size: 10px; font-weight: bold; white-space: nowrap; }
90
-  .org-info-js_search-highlight
91
-    { background-color: #ffff00; color: #000000; font-weight: bold; }
92
-  /*]]>*/-->
93
-</style>
94
-<link rel="stylesheet" type="text/css" href="freedombone.css" />
95
-<script type="text/javascript">
96
-/*
97
-@licstart  The following is the entire license notice for the
98
-JavaScript code in this tag.
99
-
100
-Copyright (C) 2012-2013 Free Software Foundation, Inc.
101
-
102
-The JavaScript code in this tag is free software: you can
103
-redistribute it and/or modify it under the terms of the GNU
104
-General Public License (GNU GPL) as published by the Free Software
105
-Foundation, either version 3 of the License, or (at your option)
106
-any later version.  The code is distributed WITHOUT ANY WARRANTY;
107
-without even the implied warranty of MERCHANTABILITY or FITNESS
108
-FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.
109
-
110
-As additional permission under GNU GPL version 3 section 7, you
111
-may distribute non-source (e.g., minimized or compacted) forms of
112
-that code without the copy of the GNU GPL normally required by
113
-section 4, provided you include this license notice and a URL
114
-through which recipients can access the Corresponding Source.
115
-
116
-
117
-@licend  The above is the entire license notice
118
-for the JavaScript code in this tag.
119
-*/
120
-<!--/*--><![CDATA[/*><!--*/
121
- function CodeHighlightOn(elem, id)
122
- {
123
-   var target = document.getElementById(id);
124
-   if(null != target) {
125
-     elem.cacheClassElem = elem.className;
126
-     elem.cacheClassTarget = target.className;
127
-     target.className = "code-highlighted";
128
-     elem.className   = "code-highlighted";
129
-   }
130
- }
131
- function CodeHighlightOff(elem, id)
132
- {
133
-   var target = document.getElementById(id);
134
-   if(elem.cacheClassElem)
135
-     elem.className = elem.cacheClassElem;
136
-   if(elem.cacheClassTarget)
137
-     target.className = elem.cacheClassTarget;
138
- }
139
-/*]]>*///-->
140
-</script>
141
-</head>
142
-<body>
143
-<div id="preamble" class="status">
144
-<a name="top" id="top"></a>
145
-</div>
146
-<div id="content">
147
-<h1 class="title"></h1>
148
-
149
-<div class="figure">
150
-<p><img src="images/logo.png" alt="logo.png" width="80%" height="10%" align="center" />
151
-</p>
152
-</div>
153
-
154
-<div id="outline-container-sec-1" class="outline-2">
155
-<h2 id="sec-1">Usage</h2>
156
-<div class="outline-text-2" id="text-1">
157
-<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
158
-
159
-
160
-<colgroup>
161
-<col  class="left" />
162
-</colgroup>
163
-<tbody>
164
-<tr>
165
-<td class="left"><a href="#sec-2">Improving security</a></td>
166
-</tr>
167
-
168
-<tr>
169
-<td class="left"><a href="#sec-3">Administrating the system via an onion address (Tor)</a></td>
170
-</tr>
171
-
172
-<tr>
173
-<td class="left"><a href="./mobile.html">Mobile advice</a></td>
174
-</tr>
175
-
176
-<tr>
177
-<td class="left"><a href="./usage_email.html">Using Email</a></td>
178
-</tr>
179
-
180
-<tr>
181
-<td class="left"><a href="./app_syncthing.html">Syncing to the Cloud</a></td>
182
-</tr>
183
-
184
-<tr>
185
-<td class="left"><a href="./app_dlna.html">Play Music</a></td>
186
-</tr>
187
-
188
-<tr>
189
-<td class="left"><a href="./app_gnusocial.html">Microblogging (GNU Social)</a></td>
190
-</tr>
191
-
192
-<tr>
193
-<td class="left"><a href="./app_postactiv.html">Microblogging (PostActiv)</a></td>
194
-</tr>
195
-
196
-<tr>
197
-<td class="left"><a href="./app_ghost.html">Blogging with Ghost</a></td>
198
-</tr>
199
-
200
-<tr>
201
-<td class="left"><a href="./app_htmly.html">Blogging with HTMLy</a></td>
202
-</tr>
203
-
204
-<tr>
205
-<td class="left"><a href="./app_hubzilla.html">Social Network</a></td>
206
-</tr>
207
-
208
-<tr>
209
-<td class="left"><a href="./app_lychee.html">Photo albums</a></td>
210
-</tr>
211
-
212
-<tr>
213
-<td class="left"><a href="./app_mediagoblin.html">Hosting video and audio content</a></td>
214
-</tr>
215
-
216
-<tr>
217
-<td class="left"><a href="./app_dokuwiki.html">Wiki</a></td>
218
-</tr>
219
-
220
-<tr>
221
-<td class="left"><a href="./app_etherpad.html">Collaborative document editing</a></td>
222
-</tr>
223
-
224
-<tr>
225
-<td class="left"><a href="./app_irc.html">Multi-user chat with IRC</a></td>
226
-</tr>
227
-
228
-<tr>
229
-<td class="left"><a href="./app_xmpp.html">XMPP/Jabber</a></td>
230
-</tr>
231
-
232
-<tr>
233
-<td class="left"><a href="./app_tox.html">Tox</a></td>
234
-</tr>
235
-
236
-<tr>
237
-<td class="left"><a href="./app_mumble.html">Mumble</a></td>
238
-</tr>
239
-
240
-<tr>
241
-<td class="left"><a href="./app_mailpile.jtml">Mailpile</a></td>
242
-</tr>
243
-
244
-<tr>
245
-<td class="left"><a href="./app_rss.html">RSS Reader</a></td>
246
-</tr>
247
-
248
-<tr>
249
-<td class="left"><a href="./app_radicale.html">CalDAV calendar server</a></td>
250
-</tr>
251
-
252
-<tr>
253
-<td class="left"><a href="./app_gogs.html">Git Projects</a></td>
254
-</tr>
255
-
256
-<tr>
257
-<td class="left"><a href="#sec-4">Adding or removing users</a></td>
258
-</tr>
259
-
260
-<tr>
261
-<td class="left"><a href="./app_pihole.html">Blocking Ads</a></td>
262
-</tr>
263
-
264
-<tr>
265
-<td class="left"><a href="./app_turtl.html">Making and sharing notes and images</a></td>
266
-</tr>
267
-</tbody>
268
-</table>
269
-</div>
270
-</div>
271
-
272
-<div id="outline-container-sec-2" class="outline-2">
273
-<h2 id="sec-2">Improving security</h2>
274
-<div class="outline-text-2" id="text-2">
275
-<p>
276
-It's a lot more secure to log in to the Freedombone system using ssh keys rather than with a password. You can set that up by first running:
277
-</p>
278
-
279
-<div class="org-src-container">
280
-
281
-<pre class="src src-bash">freedombone-client
282
-</pre>
283
-</div>
284
-
285
-<p>
286
-On your local system (i.e. whatever you're logging in to the Freedombone system from, typically a laptop). Then:
287
-</p>
288
-
289
-<pre class="example">
290
-ssh myusername@freedombone.local -p 2222
291
-</pre>
292
-
293
-<p>
294
-Select <b>Administrator controls</b> and re-enter your password, then <b>Manage Users</b> and <b>Change user ssh public key</b>. Copy and paste the ssh public keys which appeared after the <b>freedombone-client</b> command was run. Then go to <b>Security settings</b> and select <b>Allow ssh login with passwords</b> followed by <b>no</b>.
295
-</p>
296
-
297
-<p>
298
-You'll need to make sure that you have a copy of the ~/.ssh directory on your local system. You could just copy that directory to a USB drive and then keep that somewhere safe so that you can restore the keys if you need to.
299
-</p>
300
-</div>
301
-</div>
302
-<div id="outline-container-sec-3" class="outline-2">
303
-<h2 id="sec-3">Administrating the system via an onion address (Tor)</h2>
304
-<div class="outline-text-2" id="text-3">
305
-<p>
306
-You can also access your system via the Tor system using an onion address. To find out what the onion address for ssh access is you can do the following:
307
-</p>
308
-
309
-<div class="org-src-container">
310
-
311
-<pre class="src src-bash">ssh username@freedombone.local -p 2222
312
-</pre>
313
-</div>
314
-
315
-<p>
316
-Select <i>Administrator controls</i> then select "About this system" and look for the onion address for ssh. You can then close the terminal and open another, then do the following on your local system:
317
-</p>
318
-
319
-<div class="org-src-container">
320
-
321
-<pre class="src src-bash">freedombone-client
322
-</pre>
323
-</div>
324
-
325
-<p>
326
-This will set up your ssh environment to be able to handle onion addresses. Then you can test ssh with:
327
-</p>
328
-
329
-<div class="org-src-container">
330
-
331
-<pre class="src src-bash">ssh username@address.onion -p 2222
332
-</pre>
333
-</div>
334
-
335
-<p>
336
-Subsequently even if dynamic DNS isn't working you may still be able to administer your system. Using the onion address also gives you some degree of protection against corporate or government metadata analysis, since it becomes more difficult to passively detect which systems are communicating.
337
-</p>
338
-</div>
339
-</div>
340
-<div id="outline-container-sec-4" class="outline-2">
341
-<h2 id="sec-4">Adding or removing users</h2>
342
-<div class="outline-text-2" id="text-4">
343
-<p>
344
-Log into the system with:
345
-</p>
346
-
347
-<div class="org-src-container">
348
-
349
-<pre class="src src-bash">ssh username@domainname -p 2222
350
-</pre>
351
-</div>
352
-
353
-<p>
354
-Select <b>Administrator controls</b> then <b>User Management</b>. Depending upon the type of installation after selecting administrator controls you might need to enter:
355
-</p>
356
-
357
-<div class="org-src-container">
358
-
359
-<pre class="src src-bash">sudo su
360
-control
361
-</pre>
362
-</div>
363
-
364
-
365
-<div class="figure">
366
-<p><img src="images/controlpanel/control_panel_manage_users.jpg" alt="control_panel_manage_users.jpg" width="80%" align="center" />
367
-</p>
368
-</div>
369
-</div>
370
-</div>
371
-</div>
372
-<div id="postamble" class="status">
373
-
374
-<style type="text/css">
375
-.back-to-top {
376
-    position: fixed;
377
-    bottom: 2em;
378
-    right: 0px;
379
-    text-decoration: none;
380
-    color: #000000;
381
-    background-color: rgba(235, 235, 235, 0.80);
382
-    font-size: 12px;
383
-    padding: 1em;
384
-    display: none;
385
-}
386
-
387
-.back-to-top:hover {
388
-    background-color: rgba(135, 135, 135, 0.50);
389
-}
390
-</style>
391
-
392
-<div class="back-to-top">
393
-<a href="#top">Back to top</a> | <a href="mailto:bob@freedombone.net">E-mail me</a>
394
-</div>
395
-</div>
396
-</body>
397
-</html>