JupyterHub/Install/Rocky Linux 9
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* JupyterHub for Rocky Linux 9
- [[Rocky Linux]]
- [[Rocky Linux 9]]
- [[First Settings>Rocky Linux/Settings]]
** Install & Setup
*** Install
**** Python (pip)
dnf -y install python3.11
dnf -y install python3.11-pip
pip3.11 install --upgrade pip
**** configurable-http-proxy
dnf -y install npm
npm install -g configurable-http-proxy@4
**** Jupyter
export PIP_ROOT_USER_ACTION=ignore
pip install jupyterhub==4.* # ...
pip install jupyterhub-ltiauthenticator
pip install dockerspawner
pip install notebook
pip install jupyterlab
pip install jupyterlab-language-pack-ja-JP
pip install jupyter_server_fileid
pip install jupyter_server_ydoc
pip install jnotice # メッセージ表示用
**** Podman
dnf -y install podman
dnf -y install podman-remote
dnf -y install podman-docker
systemctl start podman.socket # or systemctl enable -...
**** LTIContainerSpawner
podman pull ghcr.io/jupyter-fumihax/jupyterhub-ltictr.si...
groupadd podman # 重要!
git clone https://github.com/jupyter-fumihax/lticontaine...
cd lticontainerspawner/
make jp
*** 最小セットアップ
**** openssl (TEST用のサーバ証明書)
openssl req -x509 -newkey rsa:2048 -sha256 -days 365 -no...
-keyout /etc/pki/tls/private/jh_test.key \
-out /etc/pki/tls/certs/jh_test.crt \
-subj "/CN=localhost"
**** Configure of LTIContainerSpawner
vi /usr/local/etc/ltictr/jupyterhub_lticontainer_config....
**** firewall
firewall-cmd --add-port=443/tcp --permanent
firewall-cmd --reload
*** 接続テスト
systemctl start jupyterhub
ps ax|grep jupyterhub
- https://IPアドレス/ # システムに存在するユー...
*** Install of Options
**** Culler
pip install wheel
pip install pycurl
wget https://raw.githubusercontent.com/jupyterhub/jupyte...
cp cull_idle_servers.py /usr/local/bin
chmod a+rx /usr/local/bin/cull_idle_servers.py
vi /usr/local/etc/ltictr/jupyterhub_lticontainer_config....
** Trouble Shooting
**** JupyterHub のバージョンを変更
jupyterhub upgrade-db
または
\rm /var/lib/jupyterhub/*
終了行:
* JupyterHub for Rocky Linux 9
- [[Rocky Linux]]
- [[Rocky Linux 9]]
- [[First Settings>Rocky Linux/Settings]]
** Install & Setup
*** Install
**** Python (pip)
dnf -y install python3.11
dnf -y install python3.11-pip
pip3.11 install --upgrade pip
**** configurable-http-proxy
dnf -y install npm
npm install -g configurable-http-proxy@4
**** Jupyter
export PIP_ROOT_USER_ACTION=ignore
pip install jupyterhub==4.* # ...
pip install jupyterhub-ltiauthenticator
pip install dockerspawner
pip install notebook
pip install jupyterlab
pip install jupyterlab-language-pack-ja-JP
pip install jupyter_server_fileid
pip install jupyter_server_ydoc
pip install jnotice # メッセージ表示用
**** Podman
dnf -y install podman
dnf -y install podman-remote
dnf -y install podman-docker
systemctl start podman.socket # or systemctl enable -...
**** LTIContainerSpawner
podman pull ghcr.io/jupyter-fumihax/jupyterhub-ltictr.si...
groupadd podman # 重要!
git clone https://github.com/jupyter-fumihax/lticontaine...
cd lticontainerspawner/
make jp
*** 最小セットアップ
**** openssl (TEST用のサーバ証明書)
openssl req -x509 -newkey rsa:2048 -sha256 -days 365 -no...
-keyout /etc/pki/tls/private/jh_test.key \
-out /etc/pki/tls/certs/jh_test.crt \
-subj "/CN=localhost"
**** Configure of LTIContainerSpawner
vi /usr/local/etc/ltictr/jupyterhub_lticontainer_config....
**** firewall
firewall-cmd --add-port=443/tcp --permanent
firewall-cmd --reload
*** 接続テスト
systemctl start jupyterhub
ps ax|grep jupyterhub
- https://IPアドレス/ # システムに存在するユー...
*** Install of Options
**** Culler
pip install wheel
pip install pycurl
wget https://raw.githubusercontent.com/jupyterhub/jupyte...
cp cull_idle_servers.py /usr/local/bin
chmod a+rx /usr/local/bin/cull_idle_servers.py
vi /usr/local/etc/ltictr/jupyterhub_lticontainer_config....
** Trouble Shooting
**** JupyterHub のバージョンを変更
jupyterhub upgrade-db
または
\rm /var/lib/jupyterhub/*
ページ名: