Imprimir Comparte esta página

Ipython Server

General instructions Ipython
To create one Ipython-subserver in :
First, get your password hashed with IPython utility (From the terminal console!).
$ ipython
In [1]: from IPython.lib import passwd
In [2]: passwd()
Enter password:
Verify password:
In [3]: quit

Copy that password somewhere, and after choose a name for the new server, e.g, newdir, from the console again:
$ ipython profile create newdir
$ emacs -nw ~/.ipython/newdir/ipython_notebook_config.py

Uncomment and edit the following lines in the IPython profile config file - ~/.ipython/profile_newdir/ipython_notebook_config.py (Be sure that the new port is not used)
c = get_config()
c.IPKernelApp.pylab = 'inline'
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.password = u'sha1:yourhashedpassword'
c.NotebookApp.port = 9997

Launch new server
$ screen -R
ctrl-j c
$ ipython_notebook_dir.sh newdir
ctrl-j d