Bob Mottram пре 11 година
родитељ
комит
d742d55edf
1 измењених фајлова са 15 додато и 0 уклоњено
  1. 15
    0
      beaglebone.txt

+ 15
- 0
beaglebone.txt Прегледај датотеку

5391
 When following other GNU Social users enter the URL of your profile.  For example, https://mygnusocialdomain/myusername
5391
 When following other GNU Social users enter the URL of your profile.  For example, https://mygnusocialdomain/myusername
5392
 
5392
 
5393
 *** pump.io
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
 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
 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
     "address":  "localhost",
5427
     "address":  "localhost",
5427
     "nologger":  false,
5428
     "nologger":  false,
5428
     "serverUser":  "pumpio",
5429
     "serverUser":  "pumpio",
5430
+	"rejectUnauthorized": false,
5429
     "key":  "/var/local/pump.io/keys/mypumpiodomainname.com.key",
5431
     "key":  "/var/local/pump.io/keys/mypumpiodomainname.com.key",
5430
     "cert":  "/var/local/pump.io/keys/mypumpiodomainname.com.crt",
5432
     "cert":  "/var/local/pump.io/keys/mypumpiodomainname.com.crt",
5431
     "uploaddir": "/var/local/pump.io/uploads",
5433
     "uploaddir": "/var/local/pump.io/uploads",
5473
 emacs /etc/apache2/sites-available/mypumpiodomainname.com
5475
 emacs /etc/apache2/sites-available/mypumpiodomainname.com
5474
 #+END_SRC
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
 Add the following in the section which begins with *<VirtualHost *:443>*.
5491
 Add the following in the section which begins with *<VirtualHost *:443>*.
5477
 
5492
 
5478
 #+BEGIN_SRC: bash
5493
 #+BEGIN_SRC: bash