Mercurial > hg > nodescore
annotate installer.sh @ 99:9641c2572988
osc modifications for operation integratus performance
author | Rob Canning <rob@foo.net> |
---|---|
date | Mon, 08 Dec 2014 21:30:23 +0000 |
parents | a1eacfae4fcf |
children |
rev | line source |
---|---|
root@51 | 1 #!/bin/sh |
rc-web@71 | 2 |
rc-web@71 | 3 #sudo dpkg-reconfigure dash |
rc-web@71 | 4 # use bash instead of dash on ubuntu systems |
rc-web@71 | 5 |
rc-web@71 | 6 #sudo apt-get install phantomjs supervisor |
rc-web@71 | 7 #npm install sockets.io node-static requirejs |
rc-web@71 | 8 |
root@51 | 9 mkdir -p /usr/local/bin |
root@51 | 10 cp -pa nodescore /usr/local/bin/ |
root@51 | 11 |
root@51 | 12 mkdir /usr/share/nodescore |
root@51 | 13 cp -pa www *.js /usr/share/nodescore/ |
rc-web@58 | 14 chown -R rob:www-data /usr/share/nodescore/ |
root@51 | 15 cp -pa nodescored /etc/init.d/ |
root@51 | 16 chmod 755 /etc/init.d/nodescored |
root@51 | 17 update-rc.d nodescored defaults |