Skip to content

Instantly share code, notes, and snippets.

View jgwerner's full-sized avatar
🙃

Greg Werner jgwerner

🙃
View GitHub Profile
#!/bin/bash
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get purge maven maven2 maven3
sudo apt-add-repository ppa:andrei-pozolotin/maven3
sudo apt-get update
sudo apt-get install maven3
worker_processes 1;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
@jgwerner
jgwerner / troubleshooting.md
Created May 29, 2015 23:21
Trouble shooting draft for JupyterHub

#DRAFT

#Introduction

JupyterHub was developed to offer additional choices when running Jupyter Notebook servers (formerly known as IPython Notebooks). Basically, three options may be configured:

  1. Single user environments: one user needs one notebook to be spawned on their local or remote machine
  2. Temporary multiple user environments: multiple users need notebooks spawned for each user with temporary home paths
  3. Permanent multiple user environments: multiple users need notebooks spawned for each user with permanent home paths
@jgwerner
jgwerner / install.sh
Last active October 9, 2017 14:06
Clean setup for JupyterHub demo
# Installs new JupyterHub with Ubuntu 14.04 (Trusty) on host
# with self signed SSL certificate. Change SSL section
# to incorporate procedure for signing with trusted CA.
#!/bin/bash
# make install dir
mkdir /home/ubuntu/install-host
# set environment vars