flagflag  If you want to see English page, please click "English" Button at Left.
  1. Moodle+JupyterHub​/Debian (8d)
    • 2023-03-13 (月) 18:30:21 by iseki 差分

      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

  2. Moodle+JupyterHub (12d)
    • 2023-03-09 (木) 10:41:30 by iseki 差分

      Setup anchor.png

      Page Top

      Example anchor.png

      • Rocky Linux
      • Debian
         
  3. netstat (43d)
    • 2023-02-06 (月) 11:39:33 by iseki 差分

      Linux: anchor.png

      Page Top
      特定のポートを使用しているプロセスを調べる anchor.png
      • netstat -apn | grep ポート番号
         
      Page Top

      Windows: anchor.png

  4. openvas (43d)
    • 2023-02-06 (月) 11:37:17 by iseki 差分
      • 9080に変更,またはリダイレクトしないようにする
        または
        OPTIONS="--listen=0.0.0.0 --port=9392 --no-redirect"
  5. GitLab (53d)
    • 2023-01-27 (金) 18:19:52 by iseki 差分
      • 順にバージョンを上げる必要がある.
        # gitlab-ctl  reconfigure
        # yum install gitlab-ce-5.2.*
        # gitlab-ctl  reconfigure
        # yum install gitlab-ce-5.3.*
        # gitlab-ctl  reconfigure
        # ........
      • gitlab-ce-5.18 で蹴躓く
         
  6. Docker (63d)
    • 2023-01-17 (火) 10:13:52 by iseki 差分
      2023 1/17 CentOS8 の update で Docker が動かなくなったので上記の方法で入れ直し.(containerd.io が runc と競合する場合) anchor.png
  7. Dovecot (88d)
    • 2022-12-23 (金) 10:51:09 by iseki 差分
      • /etc/dovecot
  8. Rocky Linux (102d)
    • 2022-12-08 (木) 23:22:03 by iseki 差分
      • 後でチェック(2022/12/8)
        • https://cbs.centos.org/koji/buildinfo?bu​ildID=37021
           
  9. Sakura Saki's Memo (121d)
    • 2022-11-20 (日) 01:59:22 by macsatou 差分

      RHEL8以降TCP Wrapper はない anchor.png

      Firewalldで対処すること

      # firewall-cmd --permanent --zone=public --add-rich-rule="rule family="ipv4" source address="xxx.xxx.xxx.xxx" port protocol="tcp" port="22" accept"
      # firewall-cmd --remove-service=ssh --zone=public --permanent
      # firewall-cmd --reload
      # firewall-cmd --list-all --zone=public
  10. ASN.1 (153d)
    • 2022-10-19 (水) 13:23:25 by iseki 差分
        • 0x30:構造型シーケンス(SEQUENCE)
  11. LDAP​/protocol (153d)
    • 2022-10-19 (水) 13:20:37 by iseki 差分
        APPLICATION Constructed 0x60[0x40+0x20] (55)
  12. 389 Directory Server (153d)
    • 2022-10-19 (水) 11:57:17 by iseki 差分

      NSL anchor.png

  13. LDAP (153d)
    • 2022-10-19 (水) 11:55:51 by iseki 差分
      • 389 Directory Server (NSLで使用 with phpLDAPadmin)
  14. OpenLDAP (153d)
    • 2022-10-19 (水) 11:52:30 by iseki 差分
      • 389DS
  15. FrontPage (185d)
    • 2022-09-17 (土) 13:26:34 by iseki 差分
      • http://polaris.star-dust.jp/pukiwiki/
  16. PHP​/PHP8 (197d)
    • 2022-09-05 (月) 16:19:32 by iseki 差分

      Install anchor.png

      dnf module list php
      dnf module reset php
      dnf module enable php:8.0 -y
      dnf module list php
      dnf rm php*
      dnf install php
  17. PHP​/PHP7 (197d)
    • 2022-09-05 (月) 16:18:12 by iseki 差分
      dnf module reset php
  18. Pecl (197d)
    • 2022-09-05 (月) 16:17:22 by iseki 差分

      Install anchor.png

      • yum install php-pear
         
      Page Top

      Command anchor.png

      • pecl install ...
      • pecl uninstall ...
      • pecl serach ...
         
  19. PHP Extension (197d)
    • 2022-09-05 (月) 16:13:42 by iseki 差分
      • undefined symbol: php_XML_GetCurrentColumnNumber のエラー
  20. PHP (197d)
    • 2022-09-05 (月) 13:37:35 by iseki 差分

      Version anchor.png

      • PHP8
  21. CentOS8 (197d)
    • 2022-09-05 (月) 12:52:35 by iseki 差分
      yum でアップデートできない anchor.png
  22. Cockpit (201d)
    • 2022-09-01 (木) 10:06:15 by iseki 差分
      • OS(RHEL8)の管理用 Webインターフェイス
  23. HP ProLiant (215d)
    • 2022-08-18 (木) 17:23:53 by iseki 差分
      • ドライブの識別時に F8 を押し,論理パーティションを作り直す(ドライブの内容は消えない)
      • 単体使用は RAID0を選択
         
  24. Docker_Crane (243d)
    • 2022-07-21 (木) 14:12:49 by iseki 差分
      • http://www.nsl.tuis.ac.jp:5011/login
  25. JupyterHub​/API​/users_username (246d)
    • 2022-07-18 (月) 12:10:49 by iseki 差分
         "tool_consumer_instance_guid": "5#########################0 ", 
  26. JupyterHub​/API​/users_username_deocde_php (246d)
    • 2022-07-18 (月) 12:10:23 by iseki 差分
         [tool_consumer_instance_guid] => 5#########################0 
  27. JupyterHub​/API (246d)
    • 2022-07-18 (月) 11:47:03 by iseki 差分
      /users/{username} anchor.png
      • Results of ​/users​/{username}
      • decode by PHP
  28. JupyterHub​/API​/users_deocde_php (250d)
    • 2022-07-14 (木) 15:17:32 by iseki 差分

      by json_decode() anchor.png

  29. JupyterHub​/API​/users (250d)
    • 2022-07-14 (木) 15:16:38 by iseki 差分

      Result of JupyterHub API /users anchor.png

  30. JupyterHub (251d)
    • 2022-07-13 (水) 14:15:06 by iseki 差分
      • API
  31. mod_lticontainer (259d)
    • 2022-07-05 (火) 11:43:15 by iseki 差分
      • Webサーバの実効ユーザのホームディレクトリを調べて,そのディレクトリを実効ユーザの持ち物にする.
        vipw /etc/passwd
        cd /usr/share/httpd/
        chown apache.apache .
  32. nbgrader (266d)
    • 2022-06-28 (火) 11:12:59 by iseki 差分
      git clone https://github.com/ocordes/jupyterlab_nbgrader.git
  33. Python (284d)
    • 2022-06-10 (金) 17:37:52 by iseki 差分
      * はデフォルト  --auto でデフォルトになる
      + は現在の選択
  34. Podman (302d)
    • 2022-05-23 (月) 18:52:11 by iseki 差分
      あるユーザの環境で動かない anchor.png
      • /.config, ~/.local を消す.

         
  35. Sloodle (305d)
    • 2022-05-20 (金) 14:35:11 by iseki 差分

      for OpemSim anchor.png

      Page Top

      Setup anchor.png

  36. sort (308d)
    • 2022-05-16 (月) 22:58:50 by iseki 差分
      先頭に - が付いた文字列を含んだデータのソート anchor.png
      • Rocky Linux (CentOS) の sort は - を無視しない.
      • Debian, Ubuntsu の sort は - を無視する.(デフォルトで -d が有効?)
  37. Robocode (314d)
    • 2022-05-11 (水) 12:45:42 by iseki 差分
      • 2022 5/11 JDK18 では Robocode で使用されている Security Manager が非推奨になっており,Robocodeが起動しない
  38. Moodle​/recyclebin (329d)
    • 2022-04-26 (火) 09:17:17 by iseki 差分
  39. Moodle (329d)
    • 2022-04-26 (火) 09:16:21 by iseki 差分
      • recyclebin
  40. Let's Encrypt (334d)
    • 2022-04-21 (木) 08:58:21 by iseki 差分
        • 00 3 * * * /usr/bin/certbot renew 1>/dev/null 2>&1 && /etc/init.d/httpd restart 1>/dev/null 2>&1
  41. Debian (379d)
    • 2022-03-07 (月) 14:56:58 by iseki 差分
  42. yum (382d)
    • 2022-03-04 (金) 09:24:33 by iseki 差分

      yum/dnf anchor.png

  43. KVM (396d)
    • 2022-02-18 (金) 15:49:43 by iseki 差分

      Install anchor.png

  44. Ltictr_Proxy (400d)
    • 2022-02-14 (月) 14:52:25 by iseki 差分
      • configurable-http-proxy との併用も可.
      • mod_lticontainer で Charts機能を使用する場合に必要.
  45. mod_lticontainer​/DB​/mdl_lticontainer_tags (400d)
    • 2022-02-14 (月) 11:49:52 by iseki 差分
  46. mod_lticontainer​/DB​/mdl_lticontainer_session (400d)
    • 2022-02-14 (月) 11:48:34 by iseki 差分
  47. mod_lticontainer​/DB​/mdl_lticontainer_server_data (400d)
    • 2022-02-14 (月) 11:47:30 by iseki 差分
  48. mod_lticontainer​/DB​/mdl_lticontainer_client_data (400d)
    • 2022-02-14 (月) 11:46:35 by iseki 差分
  49. mod_lticontainer​/DB​/mdl_lticontainer (400d)
    • 2022-02-14 (月) 11:45:10 by iseki 差分
      MariaDB [moodle_db]> show columns from mdl_lticontainer;
  50. mod_lticontainer​/DB (400d)
    • 2022-02-14 (月) 11:43:06 by iseki 差分
      • mdl_lticontainer
      • mdl_lticontainer_client_data
      • mdl_lticontainer_server_data
      • mdl_lticontainer_session
      • mdl_lticontainer_tags
  51. JupyterHub​/LTIDockerSpawner (400d)
    • 2022-02-14 (月) 11:38:34 by iseki 差分
      • see also. Moodle+JupyterHub, and 対応Moodleモジュール(mod_lticontainer)
  52. mod_ltids (400d)
    • 2022-02-14 (月) 11:36:16 by iseki 差分
  53. LTI (408d)
    • 2022-02-06 (日) 13:21:13 by iseki 差分

      v1.3.0 anchor.png

      • pip install jupyterhub-ltiauthenticator==1.3.0
         
  54. configurable-http-proxy (410d)
    • 2022-02-04 (金) 10:30:12 by iseki 差分

      Hack anchor.png

  55. pip (439d)
    • 2022-01-06 (木) 08:50:38 by iseki 差分
      パッケージの確認 anchor.png
      # pip list
       
  56. Anaconda (439d)
    • 2022-01-06 (木) 08:50:00 by iseki 差分
      • パッケージの確認
      (base) # conda list
  57. Moodle​/Programming (448d)
    • 2021-12-28 (火) 02:58:53 by iseki 差分

      Capability anchor.png

      • RISK_SPAM - ユーザーがサイトに目に見えるコンテンツを追加したり,他のユーザーにメッセージを送ることができます.
      • RISK_PERSONAL - 個人情報へのアクセス - 例:ユーザー詳細のバックアップ,プロフィールの非公開情報(隠しメール)等;本来は isteacher() で保護されています.
      • RISK_XSS - ユーザーがクリーンアップされていないコンテンツ (アクティブなコンテンツを含む HTML と保護されていないファイルの両方) を送信することができます.
      • RISK_CONFIG - ユーザーがグローバルな設定を変更できる,アクションにサニティチェックがない
      • RISK_MANAGETRUST - 他ユーザーのトラストビットマスクを管理する.
      • RISK_DATALOSS - 容易に復元できない大量の情報を破壊する可能性があります.
         
      1. Capability が正常に反映されない場合は,一旦 db/access.php の設定部分をコメントアウトして,更新する(version を上げる)
      2. その後コメントを外して,更新する(version を上げる)
       
  58. IPython (466d)
    • 2021-12-10 (金) 17:56:59 by iseki 差分
      • https://matsubara0507.github.io/posts/20​17-04-18-create-io-kernel-for-jupyter.ht​ml
      • https://jupyter-client.readthedocs.io/en​/latest/wrapperkernels.html
      • https://qiita.com/antimon2/items/7d9c084​b142d38b67b1f
      • https://qiita.com/SaitoTsutomu/items/3c9​96bde01ef2637aadc
         
  59. Swift (480d)
    • 2021-11-26 (金) 16:34:41 by iseki 差分
      Docker error: failed to launch REPL process: process launch failed: 'A' packet returned an error: 8 anchor.png
  60. JupyterHub​/DockerSpawner (521d)
    • 2021-10-16 (土) 14:22:59 by iseki 差分
      import sys

トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2023年 3月翌月
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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 6834683468346834
昨日 : 5983598359835983
総計 : 2062099320620993206209932062099320620993206209932062099320620993
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com