Browse Source

pump.io dependencies

Bob Mottram 11 years ago
parent
commit
9983681b5c
1 changed files with 2 additions and 5 deletions
  1. 2
    5
      beaglebone.txt

+ 2
- 5
beaglebone.txt View File

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.
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
 
5396
 
5397
 #+BEGIN_SRC: bash
5397
 #+BEGIN_SRC: bash
5398
-apt-get update && apt-get install redis-server nodejs-legacy graphicsmagick git-core screen
5398
+apt-get update && apt-get install redis-server nodejs-legacy imagemagick graphicsmagick git-core screen
5399
 cd /opt
5399
 cd /opt
5400
 git clone https://github.com/e14n/pump.io.git
5400
 git clone https://github.com/e14n/pump.io.git
5401
 cd /opt/pump.io
5401
 cd /opt/pump.io
5538
 INVOCATION="nice -n ${NICELEVEL} ${COMMAND}"
5538
 INVOCATION="nice -n ${NICELEVEL} ${COMMAND}"
5539
 PATH='/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/var/local/pump.io'
5539
 PATH='/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/var/local/pump.io'
5540
 
5540
 
5541
-
5542
 pumpio_start() {
5541
 pumpio_start() {
5543
 echo "Starting $SERVICE..."
5542
 echo "Starting $SERVICE..."
5544
 su --command "screen -h ${HISTORY} -dmS ${SERVICE} ${INVOCATION}" $USERNAME
5543
 su --command "screen -h ${HISTORY} -dmS ${SERVICE} ${INVOCATION}" $USERNAME
5545
 }
5544
 }
5546
 
5545
 
5547
-
5548
 pumpio_stop() {
5546
 pumpio_stop() {
5549
 echo "Stopping $SERVICE"
5547
 echo "Stopping $SERVICE"
5550
 su --command "screen -p 0 -S ${SERVICE} -X stuff "'^C'"" $USERNAME
5548
 su --command "screen -p 0 -S ${SERVICE} -X stuff "'^C'"" $USERNAME
5551
 }
5549
 }
5552
 
5550
 
5553
-
5554
 #Start-Stop here
5551
 #Start-Stop here
5555
 case "$1" in
5552
 case "$1" in
5556
   start)
5553
   start)
5585
 
5582
 
5586
 https://mypumpiodomainname.com
5583
 https://mypumpiodomainname.com
5587
 
5584
 
5588
-and adding a new user.  If you wish this to be a single user node not open to the general public (including spammers and sockpuppets) then edit */etc/pump.io.json* and set *disableRegistration* to *true*.  After making that change restart with the command *service pumpio restart*.
5585
+and add a new user.  If you wish this to be a single user node not open to the general public (including spammers and sockpuppets) then edit */etc/pump.io.json* and set *disableRegistration* to *true*.  After making that change restart with the command *service pumpio restart*.
5589
 
5586
 
5590
 ** Install Tripwire
5587
 ** Install Tripwire
5591
 
5588