[IPython-dev] Using upstart to start ipython notebook.
jkibele at gmail.com
Mon Jul 15 19:02:28 EDT 2013
Thanks for the replies. I set up my EC2 instance following this tutorial:
https://gist.github.com/iamatypeofwalrus/5183133 so I'm using the Anaconda
python package. Everything is fine when I ssh in and start up my notebook
server as the ubuntu user. I think the problem with my upstart config is
that it's not really running as the ubuntu user. Specifically, I think it's
not running the ubuntu user's .bashrc file and is therefore not getting the
Anaconda python stuck on to the front of the PATH variable. I thought that
the '-i' part of 'sudo -u ubuntu -i' in my upstart conf file was supposed
to make sure that happened but maybe not. Any thoughts on how I can make
sure that upstart is starting my server as ubuntu rather than root?
On Tue, Jul 16, 2013 at 5:25 AM, Julian Taylor <
jtaylor.debian at googlemail.com> wrote:
> On 15.07.2013 13:50, Thomas Kluyver wrote:
> > On 15 July 2013 03:01, Jared Kibele <jkibele at gmail.com
> > <mailto:jkibele at gmail.com>> wrote:
> > the IPython dashboard looks different ... Unreadable JSON notebook."
> > That sounds like you have an older version of IPython installed on your
> > EC2 instance. It sounds like it's running Ubuntu - if you've installed
> > IPython through apt, then you can add this PPA and update to get the
> > latest stable release of IPython:
> > https://launchpad.net/~jtaylor/+archive/ipython
> currently the ppa should not be necessary, all (desktop) supported
> releases have ipython 0.13.2 in the backports repository.
> e.g. for precise (12.04):
> apt-get install ipython-notebook -t precise-backports
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev