flagflag  If you want to see English page, please click "English" Button at Left.

Setup Example for Debian anchor.png

apt update apt upgrade

vi /etc/exports exportfs -rav

/etc/hosts /etc/fstab apt install nfs-common

apt install docker

apt install docker.io /lib/systemd/systemd-sysv-install enable docker

python3 -V apt install python3-pip pip3 -V

pip3 install --upgrade pip apt install npm

  74  pip3 install --upgrade pip
  75  apt install npm
  76  npm install -g configurable-http-proxy
  78  pip install setuptools_rust
  79  pip install jupyterhub
  80  pip install dockerspawner
  81  pip install --upgrade notebook
  82  pip install --upgrade jupyterlab
  83  jupyterhub --version
  84  jupyter --version
  85  jupyter notebook --version
  86  jupyter lab --version
  90  git clone https://github.com/aperezdc/nss-altfiles.git
  91  ls -l
  92  cd nss-altfiles/
  93  cd ..
  94  mv nss-altfiles/ /usr/local/src
  95  cd /usr/local/src/nss-altfiles/
  96  ls -l
  97  ./configure --prefix=/usr --datadir=/usr/local/etc --with-type=pwd,grp
  98  make
  99  make install
 100  ls -l /usr/lib64
 101  ln -s /usr/lib/libnss_altfiles.so.2 /usr/lib64/libnss_altfiles.so
 102  ls -l /usr/lib64
 103  ldconfig

/usr/local/etc/passwd

vi /etc/nsswitch.conf passwd: files altfiles

pip install --upgrade jupyterhub-ltiauthenticator

pip install wheel pip install pycurl (pthon3-devel が必要) wget https://raw.githubusercontent.com/jupyte​rhub/jupyterhub/a6b7e303df03865d6420f6bc​cdf627b39f1d0dc1/examples/cull-idle/cull​_idle_servers.py cp cull_idle_servers.py /usr/local/bin chmod a+rx /usr/local/bin/cull_idle_servers.py

git clone https://gitlab.nsl.tuis.ac.jp/iseki/ltic​ontainerspawner.git

 218  cd lticontainerspawner/
 221  make install

# vi /usr/local/etc/jupyter_docker_config.py

# vi /usr/lib/systemd/system/jupyterhub.servi​ce

# systemctl enable jupyterhub.service

# systemctl start jupyterhub.service

Executing: /lib/systemd/systemd-sysv-install enable docker [root@aldebaran etc]:252# systemctl start docker

adduser --gid 112 --home /home/users/docker --disabled-login docker

chown docker.docker /var/run/docker

[root@aldebaran etc]:265# cd /var/lib/docker/ [root@aldebaran docker]:266# ls -l 合計 44 drwx--x--x 4 root root 4096 3月 9 12:29 buildkit/ drwx--x--- 2 root root 4096 3月 9 12:29 containers/ drwx------ 3 root root 4096 3月 9 12:29 image/ drwxr-x--- 3 root root 4096 3月 9 12:29 network/ drwx--x--- 3 root root 4096 3月 9 12:29 overlay2/ drwx------ 4 root root 4096 3月 9 12:29 plugins/ drwx------ 2 root root 4096 3月 9 12:29 runtimes/ drwx------ 2 root root 4096 3月 9 12:29 swarm/ drwx------ 2 root root 4096 3月 9 12:29 tmp/ drwx------ 2 root root 4096 3月 9 12:29 trust/ drwx-----x 2 root root 4096 3月 9 12:29 volumes/ [root@aldebaran docker]:267# mv volumes volumes- [root@aldebaran docker]:268# ln -s /home/containers/volumes . [root@aldebaran docker]:269# systemctl enable ltictr_proxy.service systemctl enable jupyterhub.service

apt install apache2 

systemctl start apahce2 certbot certonly --webroot -w /var/www/html -d aldebaran.nsl.tuis.ac.jp

chown podman.podman -R /var/run/podman

https://antares.nsl.tuis.ac.jp/hub/lti/l​aunch

b18e82ec683724743236fade71350720029a2914​4a585c66f6741d8e9c6e0d83 c0fe2924dbb0f4701d898d36aaf9fd89c7a3ed3a​7db6f0003d0e825a7eccb41c


トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 208, today: 1, yesterday: 1
最終更新: 2023-03-13 (月) 18:30:21 (JST) (409d) by iseki

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
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
<今日>

オンライン状況

115 人のユーザが現在オンラインです。 (11 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 115

もっと...

アクセスカウンタ

今日 : 3766376637663766
昨日 : 1406514065140651406514065
総計 : 2334478823344788233447882334478823344788233447882334478823344788
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com