flagflag  
51: 2023-06-16 (Fri) 13:58:11 iseki source Cur: 2023-12-04 (Mon) 11:30:44 iseki source
Line 91: Line 91:
 (jupyterhub) # conda install -c conda-forge voila -y  (jupyterhub) # conda install -c conda-forge voila -y
 (jupyterhub) # conda install jupyter_client -y  (jupyterhub) # conda install jupyter_client -y
 + 
 (jupyterhub) # git clone https://github.com/jupyterhub/nativeauth​enticator.git  (jupyterhub) # git clone https://github.com/jupyterhub/nativeauth​enticator.git
 (jupyterhub) # pip install -e nativeauthenticator  (認証モジュール:オプション)  (jupyterhub) # pip install -e nativeauthenticator  (認証モジュール:オプション)
Line 99: Line 99:
#br #br
**** pip を使用する. [#d08d0c8f] **** pip を使用する. [#d08d0c8f]
-- CentOS7 の場合は nodejs はバージョンが古くて,configurable-http-proxy でエラーが出るので,nodejs をバージョンアップする.+- nodejs: CentOS7 の場合は nodejs はバージョンが古くて,configurable-http-proxy でエラーが出るので,nodejs をバージョンアップする.
 curl -sL https://rpm.nodesource.com/setup_14.x | bash -  curl -sL https://rpm.nodesource.com/setup_14.x | bash -
 yum remove nodejs npm -y  yum remove nodejs npm -y
Line 105: Line 105:
 node -v  node -v
--  nodejs のバージョンがアップしない場合は,/var/tmp/yum-root-* を消す --  nodejs のバージョンがアップしない場合は,/var/tmp/yum-root-* を消す
 +-- https://rpm.nodesource.com/setup_##.x は非推奨となった.(2023/12/4)
 +--- see https://github.com/nodesource/distributi​ons
 npm install -g configurable-http-proxy  npm install -g configurable-http-proxy
Line 276: Line 278:
 # openssl x509 -in server.csr -days 3650 -req -signkey private/key.pem -out certs/server.pem  # openssl x509 -in server.csr -days 3650 -req -signkey private/key.pem -out certs/server.pem
 # vi  /usr/local/etc/jupyterhub/jupyterhub_con​fig.py  # vi  /usr/local/etc/jupyterhub/jupyterhub_con​fig.py
 + 
 # mkdir /var/lib/jupyterhub  # mkdir /var/lib/jupyterhub
Line 326: Line 328:
- pool_recycle の設定を忘れずに! - pool_recycle の設定を忘れずに!
- charset は urf8mb4 - charset は urf8mb4
 +#br
 +** NVIDIA [#o78e60f8]
 +
 +*** Driver [#n52aa03b]
 +**** nouveau ドライバ(デフォルトのグラフィックドライバ)を止める [#j9e3e782]
 +- lsmod | grep nouveau  でドライバ確認
 +- /etc/default/grab のオプションに rd.driver.blacklist=nouveau を追加
 +- カーネル設定ファイルの作り直し
 +-- grub2-mkconfig -o /boot/grub2/grub.cfg  (RedHat系)
 +-- grub-mkconfig -o /boot/grub/grub.cfg  (Debian系)
 +#br
 +**** Driver [#r1aed2e1]
 +- nvidia-driver, cuda をインストール
 +#br
 +
 +**** Docker [#t87b07eb]
 +- nvidia-container-toolkit が必要
 +-- コンテナ内からホストのGPUを使う
 +-- %%nvidia-smi などのコマンドがインストールされる.%%
 +#br
 +
 +*** Tool Kit [#z51a5c81]
 +- CUDA Toolkit : https://developer.nvidia.com/cuda-toolki​t-archive
 +- Tool Kit をインストールするとドライバもインストールされる? (未確認)
 +#br
 +
 +*** Docker [#xa8f93e3]
 +- docker run --gpus all nvidia/cuda:12.2.0-devel-ubuntu20.04 nvidia-smi
 +-- Failed to initialize NVML: Unknown Error
 +-- ホストの /etc/nvidia-container-runtime/config.tom​l を編集して,no-cgroups = false にする.
#br #br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

36 user(s) are online (3 user(s) are browsing xpwiki)

Members: 0
Guests: 36

more...

Access Counter

Today : 309309309
Yesterday : 5790579057905790
Total : 2365310523653105236531052365310523653105236531052365310523653105
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com