flagflag  If you want to see English page, please click "English" Button at Left.
1: 2023-03-09 (木) 10:42:19 iseki ソース 現: 2023-03-13 (月) 18:30:21 iseki ソース
Line 1: Line 1:
** Setup Example for Debian [#yb9a33d9] ** Setup Example for Debian [#yb9a33d9]
 +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

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 1044910449104491044910449
昨日 : 1795517955179551795517955
総計 : 2336942623369426233694262336942623369426233694262336942623369426
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com