flagflag  
6: 2021-07-14 (Wed) 16:24:11 iseki source 7: 2021-07-25 (Sun) 21:37:01 iseki source
Line 57: Line 57:
- コンテナ内:/usr/local/bin/start.sh - コンテナ内:/usr/local/bin/start.sh
-- こいつの書き換えは必須! -- こいつの書き換えは必須!
 +#br
 +** Moodle & JupyterHub 連携 [#t72c88ce]
 +
 +*** INSTALL [#qb9768b3]
 +**** [[Anaconda]] [#jb987bc7]
 +#br
 +
 +**** [[JupyterHub]]/[[DockerSpawner>JupyterHu​b/DockerSpawner]] [#z52a6900]
 + (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==1.4.2  -y
 + (jupyterhub) # conda install -c conda-forge voila -y
 + (jupyterhub) # conda install jupyter_client -y
 + (jupyterhub) # pip --no-cache-dir install git+https://github.com/jupyterhub/docker​spawner.git
 +#br
 +
 +**** [[Docker]] ([[CentOS8]]) [#o38fddf3]
 + (base) # dnf config-manager --add-repo https://download.docker.com/linux/centos​/docker-ce.repo
 + (base) # dnf -y install docker-ce docker-ce-cli containerd.io --nobest --allowerasing
 + (base) # docker pull jupyterhub/singleuser
 + (base) # docker pull jupyter/datascience-notebook
 +#br
 +
 +**** [[altfiles>NSS]] [#n90bdca5]
 + # git clone https://github.com/aperezdc/nss-altfiles​.git
 + # cd nss-altfiles/
 + # ./configure --prefix=/usr --datadir=/usr/local/etc --with-type=pwd,grp
 + # make
 + # make install
 + # ln -s /usr/lib/libnss_altfiles.so.2 /usr/lib64/libnss_altfiles.so
 + # ldconfig
 +
 + # cd /usr/local/etc
 + # wget https://el.mml.tuis.ac.jp/system/passwd
 + # wget https://el.mml.tuis.ac.jp/system/group          (group は 必要な物だけ /etc/group を編集しても良い)
 +
 +- /etc/nsswitch.conf
 + passwd: files altfiles
 + group:  files altfiles
 +- ユーザアカウントの整合性を取る.
 +#br
 +
 +**** [[LTI>JupyterHub#m4467ad6]] [#g284e3bf]
 +#br
 +**** DMLDockerSpawner [#s98f7379]
 +- https://gitlab.nsl.tuis.ac.jp
#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

37 user(s) are online (7 user(s) are browsing xpwiki)

Members: 0
Guests: 37

more...

Access Counter

Today : 5537553755375537
Yesterday : 8599859985998599
Total : 2365254323652543236525432365254323652543236525432365254323652543
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com