An open API service indexing awesome lists of open source software.

https://github.com/jenkstom/ansible-jupyterhub

Ansible role to setup jupyterhub server (deprecated)
https://github.com/jenkstom/ansible-jupyterhub

animation ansible ansible-role ipython ipython-notebook jupyter jupyter-notebook jupyterhub ubuntu

Last synced: 2 months ago
JSON representation

Ansible role to setup jupyterhub server (deprecated)

Awesome Lists containing this project

README

        

This role installs Jupyter (previously ipython notebook), JupyterHub and sudospawner using Python 3.

It was developed and tested with Ubuntu 15.04, but should work on any recent Ubuntu or Debian.
As of 2017-02 it has been tested with Ubuntu 16.04LTS Xenial as well.

This was tested on Scaleways (scaleway.com) and Digital Ocean. So it *does* work on ARM!

JupyterHub is installed as per instructions, with node.js and configurable-http-proxy.

To add a user, login to the server as root:

adduser
addgroup jupyter

Then connect via web browser

http://:8000

To run, install ansible, configure your ssh/config file for a host "jupyterhub" and use one of the following:

ansible-playbook ansible-jupyterhub/playbook/no_ssl.yml -i
ansible-playbook ansible-jupyterhub/playbook/with_ssl.yml -i

Note: During testing on linode I ran into IPV6 issues. Nothing to do with
jupyterhub or ansible, but apt wouldn't work with IPV6 enabled on Xenial. I
disabled IPV6 according to these instructions and apt (and ansible) began to
work. If it hangs on installing packages this is probably your issue.

http://www.techrepublic.com/article/how-to-disable-ipv6-on-linux/

Also on Ubuntu 16.10 I had to do a "apt install python-minimal" to get python
2 for ansible.

When everything has finished you should be able to point your browser at:

http://ip.add:8000

And then login as jupyter with the password you entered at the start.