JupyterHub/Install/Rocky Linux 8
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
** Install for Rocky Linux 8
*** Rocky Linux 8 [#g6e6c1d1]
- [[Rocky Linux]]
- [[Rocky Linux 8]]
- [[Detail Log>./RockyLinux8_install]]
*** pip [#ecfe7cfb]
*** conda [#n0e2837f]
- conda update -c conda-forge jupyterhub -y
*** for CentOS 8.5 with pip [#l08667b3]
# 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
*** 2.0.0 with conda [#e269f8c5]
**** Change Log [#qacdfa95]
- https://jupyterhub.readthedocs.io/en/stable/changelog.h...
**** Install [#j385e508]
(base) # conda install -c conda-forge conda==4.11.0 -y
(base) # conda activate jupyterhub
(jupyterhub) # conda update -c conda-forge jupyterhub -y
(jupyterhub) # jupyterhub --upgrade-db
(jupyterhub) # jupyterhub -f .....
**** podmanspawner.PodmanSpawner [#nefeece2]
- おおっ class のサンプルに Podman がある!
-- と思ったら niklas netter 氏の [[podmanspawner>https://...
**** websocket モジュールが無いとのことで起動しなくなった...
ModuleNotFoundError: No module named 'websocket'
- conda 環境で websocket をインストール
# conda install -c conda-forge websocket-client
- pip なら pip install websockets
**** データベースのスキーマが合わないとのことで,起動しな...
- jupyterhub upgrade-db してもだめなので,/var/lib/jupyte...
*** 1.4.2 [#i2818e12]
**** conda を使用 [#z4c989ab]
(base) # conda create -n jupyterhub python=3.8 -y
(base) # conda activate jupyterhub
(jupyterhub) # conda install -c conda-forge notebook -y
(jupyterhub) # conda install -c conda-forge jupyterlab -y
(jupyterhub) # conda install -c conda-forge jupyterhub==...
(jupyterhub) # conda install -c conda-forge voila -y
(jupyterhub) # conda install jupyter_client -y
(jupyterhub) # git clone https://github.com/jupyterhub/n...
(jupyterhub) # pip install -e nativeauthenticator (認...
(jupyterhub) # pip install dockerspawner
- ディレクトリのパーミッションの設定を忘れずに!
- nodejs: CentOS7 の場合は nodejs はバージョンが古くて,c...
curl -sL https://rpm.nodesource.com/setup_14.x | bash -
yum remove nodejs npm -y
yum install nodejs -y
node -v
-- nodejs のバージョンがアップしない場合は,/var/tmp/yum...
-- https://rpm.nodesource.com/setup_##.x は非推奨となった...
--- see https://github.com/nodesource/distributions
npm install -g configurable-http-proxy
python3 -m pip install jupyterhub
python3 -m pip install dockerspawner
python3 -m pip install --upgrade notebook
python3 -m pip install --upgrade jupyterlab
*** Notebook の Docker イメージ [#s9b5f83a]
# docker pull jupyter/datascience-notebook
# docker pull jupyter/tensorflow-notebook
*** Version Up 1.0.0 -> 1.4.1 [#f7719705]
# conda install -c conda-forge jupyterhub
# conda install notebook
**** バージョンの確認 [#m3c5a1bd]
- (jupyterhub) # jupyterhub --version
*** [[LTI Authenticator>LTI]] [#g284e3bf]
- Moodle と連携する為の 認証モジュール(Moodleの外部サー...
- 先に authlib を入れておく.
-- conda install oauthlib or pip install oauthlib
- v1.2.0 release (2021 9/2)
-- https://pypi.org/project/jupyterhub-ltiauthenticator/1...
-- Moodle に対して Patch 不要
(jupyterhub)# pip install --upgrade jupyterhub-ltiauthen...
終了行:
** Install for Rocky Linux 8
*** Rocky Linux 8 [#g6e6c1d1]
- [[Rocky Linux]]
- [[Rocky Linux 8]]
- [[Detail Log>./RockyLinux8_install]]
*** pip [#ecfe7cfb]
*** conda [#n0e2837f]
- conda update -c conda-forge jupyterhub -y
*** for CentOS 8.5 with pip [#l08667b3]
# 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
*** 2.0.0 with conda [#e269f8c5]
**** Change Log [#qacdfa95]
- https://jupyterhub.readthedocs.io/en/stable/changelog.h...
**** Install [#j385e508]
(base) # conda install -c conda-forge conda==4.11.0 -y
(base) # conda activate jupyterhub
(jupyterhub) # conda update -c conda-forge jupyterhub -y
(jupyterhub) # jupyterhub --upgrade-db
(jupyterhub) # jupyterhub -f .....
**** podmanspawner.PodmanSpawner [#nefeece2]
- おおっ class のサンプルに Podman がある!
-- と思ったら niklas netter 氏の [[podmanspawner>https://...
**** websocket モジュールが無いとのことで起動しなくなった...
ModuleNotFoundError: No module named 'websocket'
- conda 環境で websocket をインストール
# conda install -c conda-forge websocket-client
- pip なら pip install websockets
**** データベースのスキーマが合わないとのことで,起動しな...
- jupyterhub upgrade-db してもだめなので,/var/lib/jupyte...
*** 1.4.2 [#i2818e12]
**** conda を使用 [#z4c989ab]
(base) # conda create -n jupyterhub python=3.8 -y
(base) # conda activate jupyterhub
(jupyterhub) # conda install -c conda-forge notebook -y
(jupyterhub) # conda install -c conda-forge jupyterlab -y
(jupyterhub) # conda install -c conda-forge jupyterhub==...
(jupyterhub) # conda install -c conda-forge voila -y
(jupyterhub) # conda install jupyter_client -y
(jupyterhub) # git clone https://github.com/jupyterhub/n...
(jupyterhub) # pip install -e nativeauthenticator (認...
(jupyterhub) # pip install dockerspawner
- ディレクトリのパーミッションの設定を忘れずに!
- nodejs: CentOS7 の場合は nodejs はバージョンが古くて,c...
curl -sL https://rpm.nodesource.com/setup_14.x | bash -
yum remove nodejs npm -y
yum install nodejs -y
node -v
-- nodejs のバージョンがアップしない場合は,/var/tmp/yum...
-- https://rpm.nodesource.com/setup_##.x は非推奨となった...
--- see https://github.com/nodesource/distributions
npm install -g configurable-http-proxy
python3 -m pip install jupyterhub
python3 -m pip install dockerspawner
python3 -m pip install --upgrade notebook
python3 -m pip install --upgrade jupyterlab
*** Notebook の Docker イメージ [#s9b5f83a]
# docker pull jupyter/datascience-notebook
# docker pull jupyter/tensorflow-notebook
*** Version Up 1.0.0 -> 1.4.1 [#f7719705]
# conda install -c conda-forge jupyterhub
# conda install notebook
**** バージョンの確認 [#m3c5a1bd]
- (jupyterhub) # jupyterhub --version
*** [[LTI Authenticator>LTI]] [#g284e3bf]
- Moodle と連携する為の 認証モジュール(Moodleの外部サー...
- 先に authlib を入れておく.
-- conda install oauthlib or pip install oauthlib
- v1.2.0 release (2021 9/2)
-- https://pypi.org/project/jupyterhub-ltiauthenticator/1...
-- Moodle に対して Patch 不要
(jupyterhub)# pip install --upgrade jupyterhub-ltiauthen...
ページ名: