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)
- Host: GitHub
- URL: https://github.com/jenkstom/ansible-jupyterhub
- Owner: jenkstom
- License: mit
- Created: 2016-03-03T21:30:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T15:09:19.000Z (almost 7 years ago)
- Last Synced: 2025-02-01T10:23:32.686Z (3 months ago)
- Topics: animation, ansible, ansible-role, ipython, ipython-notebook, jupyter, jupyter-notebook, jupyterhub, ubuntu
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 15
- Watchers: 2
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 jupyterThen 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.