18: 2022-02-17 (木) 18:45:36 iseki |
19: 2022-06-07 (火) 10:33:57 iseki |
| | | |
| *** [[JupyterHub]] [#z52a6900] | | *** [[JupyterHub]] [#z52a6900] |
| + | **** with pip [#fe40fb20] |
| + | # yum install python3 |
| + | # pip3 install --upgrade pip |
| + | # yum install npm |
| + | # npm install -g configurable-http-proxy |
| + | # pip install setuptools_rust |
| + | # pip install jupyterhub |
| + | # pip install dockerspawner |
| + | # pip install --upgrade notebook |
| + | # pip install --upgrade jupyterlab |
| + | # jupyterhub --version |
| + | # jupyter --version |
| + | # jupyter notebook --version |
| + | # jupyter lab --version |
| | | |
- | **** [[JupyterHub]] [#m57f62f0] | + | **** with conda [#b575bbb0] |
| (base) # conda create -n jupyterhub python=3.8 -y | | (base) # conda create -n jupyterhub python=3.8 -y |
| (base) # conda activate jupyterhub | | (base) # conda activate jupyterhub |
| (jupyterhub) # conda install jupyter_client -y | | (jupyterhub) # conda install jupyter_client -y |
| (jupyterhub) # pip --no-cache-dir install git+https://github.com/jupyterhub/dockerspawner.git #(必要なら) | | (jupyterhub) # pip --no-cache-dir install git+https://github.com/jupyterhub/dockerspawner.git #(必要なら) |
| + | **** 設定&起動 [#qd28c9f2] |
| - 作業ディレクトリ | | - 作業ディレクトリ |
| -- mkdir -p /var/lib/jupyterhub/ | | -- mkdir -p /var/lib/jupyterhub/ |
| -- IPアドレス,サーバ証明書,Dockerイメージの選択 | | -- IPアドレス,サーバ証明書,Dockerイメージの選択 |
| - 起動 | | - 起動 |
- | -- conda activate jupyterhub | + | -- conda activate jupyterhub (condaの場合) |
| -- jupyterhub -f jupyterhub_config.py | | -- jupyterhub -f jupyterhub_config.py |
| #br | | #br |