- start server
bash run_hub.sh
-
try
- Paste "http://127.0.0.1:8000/" to your web browser
- Login with username='hello' and password=666666
-
add new user
Supposed you have a running server
# login to the docker container "jupyterhub"
docker exec -it jupyterhub bash
# add "new_user" account
useradd -m -d /home/new_user/ -s /bin/bash -G jupyterhub new_user
- setup
# require conda
source setup_jupyterhub_without_docker.sh
jupyterhub
-
try
- Paste "http://127.0.0.1:8000/" to your web browser
- Login with your username and password (from your account)
docker build -t ambermd/amber-jupyterhub .
- Use ngrok for port forwarding (safely?)
Disclaimer: I am not really sure if this is secure.
- Server
- Download and unzip
ngrok
from https://ngrok.com/ - Run
./ngrok http 8000
(You will see something likehttp://xxxx.ngrok.io -> localhost:8000
) - In another terminal, run: jupyterhub
- Download and unzip
- User
- Open web browser and paste
http://xxxx.ngrok.io
(replacexxxx
by actual address)
- Open web browser and paste
User will see