Moodleネットワーク

提供:MoodleDocs
移動先:案内検索

Moodle 1.8


作成中です - Mitsuhiro Yoshida 2007年1月7日 (日) 07:38 (CST)

概観

セキュリティ

ピアツーピア・ネットワーク

これはシステムの基本レイアウトです。ピアツーピア・ネットワークは、学部または学科ごとに独自のユーザ管理をした1つのMoodleを運用している場合、非常に有用です。コースのパーミッションを前提として、ユーザはそれぞれのMoodle内を移動することができます。

セットアップ

このインストラクションでは、 2つのインストール済みMoodle (MoodleAおよびMoodleB) を取り上げます。両方とも正しくインストールされ、まだMoodleネットワーク設定がなされていないものとします。

  1. お互いを会話させる
    1. 管理 >> サーバ >> 環境 でCurがをインストールされていることを示しているか確認してください。
    2. MoodleAおよびMoodleBが同じドメインに設置されている場合、それぞれ異なるクッキー接頭辞を持っているか確認してください。クッキー接頭辞を変更すると、一旦ログアウトされますので注意してください!
    3. 両者において、管理 >> ネットワーク >> 設定 でネットワーキングをONにしてください。
    4. MoodleAで、管理 >> ネットーワーク >> Moodleネットワークピア に移動して、MoodleBのURLを「新しいホストを追加する」に入力した後、「追加」ボタンをクリックしてください。
    5. 同様の作業をMoodleBでも行ってください。
  2. Get user roaming going
    1. 両者において、管理 >> ユーザ >> 認証 でMoodleネットーワーク認証プラグインを有効にしてください。「設定」をクリックして、auto_add_remote_users を「Yes」にしてください。
    2. MoodleAで、管理 >> ネットーワーク >> Moodleネットワークピア に移動して、「MoodleB」をクリックした後、「サービス」をクリックしてください。SSO-IDPの発行および署名、SSO-SPの発行および署名を有効にしてください。
    3. 同様の作業をMoodleBでも行ってください。
    4. On both, got to Admin / Users / Permissions / Define Roles, only roles that have "Roam to a remote Moodle moodle/site:mnetlogintoremote" will be allowed to roam. Grant the privilege as appropriate.
    5. On both, go to the homepage, and add the 'Network Servers' block.
    6. To test, it is recommended to use a different browser (even on a different machine) that is logged in to neither. Login to MoodleA with a non-administrator account that has the permissions to roam. You should see the Network Servers block, and clicking on it you should go to MoodleB with a newly autocreated account.
  3. Get remote enrolments going -- this is optional. It allows administrator of MoodleB can enrol users that are "native" to MoodleB in courses in MoodleA, and viceversa.
    1. On both, go to Admin / Courses / Enrolment and enable Moodle Network enrolment plugin (click Save). Click on 'Edit' and enable 'allow_allcourses' or select some courses or categories to be remotely enrolled.
    2. On MoodleA go to Admin / Network / Peers, click on 'MoodleB', and click on 'Services'. Enable Enrolment publish and subscribe.
    3. 同様の作業をMoodleBでも行ってください。
    4. To use, in MoodleA go to Admin / Courses / Enrolment / Moodle Network -> Edit / Manage Network Enrolments and you will see MoodleB listed. Click on MoodleB and you will see a list of your users, and the courses that MoodleB offers for remote enrolment.

使用方法

コミュニティーハブへの接続

セットアップ

使用方法

コミュニティーハブの運用

A Community Hub is a regular Moodle site that runs in a special mode. As a Moodle Administrator, when you add another Moodle site to your list of network peers, your Moodle will contact that site to find out what it is called, and to request its public key for encrypted communication. Normally, the remote server will simply provide this information without making any record of the transaction.

A Community Hub is different. As soon as you add an entry for a Community Hub to your system, the Community Hub will create an entry for your server in its list of hosts, and may immediately begin to offer services to the users of your site. This section will guide you to set up a community hub, and select services to offer to all comers.

セットアップ

  1. Enable Networking
    1. Ensure that the Admin / Server / Environment page indicates you have curl and openssl installed
    2. Go to Admin / Network / Settings and turn Networking on
    3. Go to Admin / Network / Peers and tick the checkbox for Register all hosts. Click on Save Changes
    4. On the same page, the first entry in your list of hosts should be All hosts. Click this link
    5. Click on Services and enable any services you want to offer to all comers