In [ ]:
%%bash
cd ~ && wget https://ftp.riken.jp/net/apache/zeppelin/zeppelin-0.8.2/zeppelin-0.8.2-bin-all.tgz
tar zxvf zeppelin-0.8.2-bin-all.tgz
In [ ]:
%%bash
ls -lah ~/zeppelin-0.8.2-bin-all
total 29M
drwxr-xr-x  8 jupyter-sheng_wei jupyter-sheng_wei 4.0K Sep 26  2019 .
drwxr-x--- 33 jupyter-sheng_wei jupyterhub-users  4.0K Jun 19 22:04 ..
-rw-r--r--  1 jupyter-sheng_wei jupyter-sheng_wei  61K Sep 26  2019 LICENSE
-rw-r--r--  1 jupyter-sheng_wei jupyter-sheng_wei 5.5K Sep 26  2019 NOTICE
-rw-r--r--  1 jupyter-sheng_wei jupyter-sheng_wei 1.3K Sep 26  2019 README.md
drwxr-xr-x  2 jupyter-sheng_wei jupyter-sheng_wei 4.0K Jun 19 22:04 bin
drwxr-xr-x  2 jupyter-sheng_wei jupyter-sheng_wei 4.0K Jun 19 22:04 conf
drwxr-xr-x 26 jupyter-sheng_wei jupyter-sheng_wei 4.0K Jun 19 22:04 interpreter
drwxr-xr-x  4 jupyter-sheng_wei jupyter-sheng_wei  12K Jun 19 22:04 lib
drwxr-xr-x  2 jupyter-sheng_wei jupyter-sheng_wei 4.0K Jun 19 22:04 licenses
drwxr-xr-x  8 jupyter-sheng_wei jupyter-sheng_wei 4.0K Jun 19 22:04 notebook
-rw-r--r--  1 jupyter-sheng_wei jupyter-sheng_wei  29M Sep 26  2019 zeppelin-web-0.8.2.war
In [ ]:
%%bash
sudo -HE apt-get --yes install openjdk-8-jdk
In [ ]:
%%bash
~/zeppelin-0.8.2-bin-all/bin/zeppelin-daemon.sh start
Zeppelin start [  OK  ]
In [ ]:
%%bash
cat << EOF | sudo tee /opt/tljh/state/dynamic/zeppelin.toml > /dev/null

[frontends.zeppelin]
backend = "zeppelin"
passHostHeader = true

[frontends.zeppelin.routes.f1]
rule = "PathPrefixStrip:/zeppelin/"

[backends.zeppelin.servers.s1]
url = "http://127.0.0.1:8080"
weight = 1
EOF
In [ ]:
!sudo /opt/tljh/hub/bin/python -m tljh.installer
Granting passwordless sudo to JupyterHub admins...
Setting up user environment...


==> WARNING: A newer version of conda exists. <==
  current version: 4.5.8
  latest version: 4.8.3

Please update conda by running

    $ conda update -n base conda


Setting up JupyterHub...
Waiting for JupyterHub to come up (1/20 tries)
Waiting for JupyterHub to come up (2/20 tries)
Done!
In [ ]:
!sudo cat /opt/tljh/installer.log
2019-10-13 15:21:02,889 Granting passwordless sudo to JupyterHub admins...
2019-10-13 15:21:02,890 Setting up user environment...
2019-10-13 15:21:26,052 Setting up JupyterHub...
2020-06-20 21:30:49,996 Granting passwordless sudo to JupyterHub admins...
2020-06-20 21:30:49,996 Setting up user environment...
2020-06-20 21:32:15,388 Setting up JupyterHub...
2020-06-20 21:33:48,646 Waiting for JupyterHub to come up (1/20 tries)
2020-06-20 21:33:49,656 Waiting for JupyterHub to come up (2/20 tries)
2020-06-20 21:33:49,678 Done!

Comments

2020-06-20