This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| # http://smirnov-am.blogspot.com/2015/04/installation-of-python-279-in-ubuntu.html | |
| # http://davebehnke.com/python-pyenv-ubuntu.html | |
| # https://renoirboulanger.com/blog/2015/04/upgrade-python-2-7-9-ubuntu-14-04-lts-making-deb-package/ | |
| # install dependencies | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get install build-essential |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # IPython Notebook Launcher | |
| # Adopted from the Rstudio upstart script | |
| # | |
| # | |
| # upstart docs: http://upstart.ubuntu.com/getting-started.html | |
| # http://manpages.ubuntu.com/manpages/karmic/man5/init.5.html | |
| # | |
| # (note that embedding a script and pre-start and post-start actions are supported) | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # to be put to "/etc/init/" | |
| description "ipython" | |
| start on runlevel [2345] | |
| stop on runlevel [016] | |
| respawn limit 10 5 | |
| script | |
| exec sudo -u randy ipython notebook --profile=nbserver --ipython-dir=/home/randy/.ipython/ | |
| end script |
NewerOlder