Bläddra i källkod

pump.io preamble

Bob Mottram 11 år sedan
förälder
incheckning
d742d55edf
1 ändrade filer med 15 tillägg och 0 borttagningar
  1. 15
    0
      beaglebone.txt

+ 15
- 0
beaglebone.txt Visa fil

@@ -5391,6 +5391,7 @@ So, you're now microblogging on the open web, with no companies in the middle.
5391 5391
 When following other GNU Social users enter the URL of your profile.  For example, https://mygnusocialdomain/myusername
5392 5392
 
5393 5393
 *** pump.io
5394
+pump.io is the successor to GNU Social.  It takes fewer system resources to run and so is better suited to low power servers such as the BBB, but is more complicated to install.  Currently when using self-signed certificates it seems very hard to federate with other pump.io servers so it may be that although GNU Social is an older system it may still be more practical.  For the instructions which follow it will be possible to run your own pump.io site for your family and friends, as a kind of /data silo/, but federating with anyone else could turn out to be difficult or impossible.
5394 5395
 
5395 5396
 For a pump.io site you will need a separate domain/subdomain, so see [[Setting up a web site]] for details of how to create an Apache configuration for your site.  If you're using freedns then you will need to create a new subdomain.
5396 5397
 
@@ -5426,6 +5427,7 @@ Add the following, replacing /mypumpiodomainname.com/ with your domain name.
5426 5427
     "address":  "localhost",
5427 5428
     "nologger":  false,
5428 5429
     "serverUser":  "pumpio",
5430
+	"rejectUnauthorized": false,
5429 5431
     "key":  "/var/local/pump.io/keys/mypumpiodomainname.com.key",
5430 5432
     "cert":  "/var/local/pump.io/keys/mypumpiodomainname.com.crt",
5431 5433
     "uploaddir": "/var/local/pump.io/uploads",
@@ -5473,6 +5475,19 @@ Within the section of your Apache site configuration:
5473 5475
 emacs /etc/apache2/sites-available/mypumpiodomainname.com
5474 5476
 #+END_SRC
5475 5477
 
5478
+The initial section which begins with *<VirtualHost *:80>* should be replaced by the following, replacing /mypumpiodomainname.com/ with your pump.io domain name and /myusername@mydomainname.com/ with your email address.
5479
+
5480
+#+BEGIN_SRC: bash
5481
+<VirtualHost *:80>
5482
+	ServerAdmin myusername@mydomainname.com
5483
+	ServerName mypumpiodomainname.com
5484
+
5485
+    RewriteEngine On
5486
+    RewriteCond %{HTTPS} off
5487
+    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
5488
+</VirtualHost>
5489
+#+END_SRC
5490
+
5476 5491
 Add the following in the section which begins with *<VirtualHost *:443>*.
5477 5492
 
5478 5493
 #+BEGIN_SRC: bash