Moodle + Office 365: Better together


Setting up and configuring Moodle from the web



Download 345.09 Kb.
Page10/13
Date29.07.2017
Size345.09 Kb.
#24227
1   ...   5   6   7   8   9   10   11   12   13

39.Setting up and configuring Moodle from the web


At this point of the installation of the test lab environment, make sure that the DNS record of the domain name o2m.contoso123.fr points to the Moodle server. If this is the case, you can continue. If not, repeat the previous steps.

40.Setting up Moodle from the web


Proceed as follows to install Moodle from the web:

  1. Go to https://o2m.contoso123.fr.

  2. Select English (en) – or the language of your choice-, and then click Next.

  3. Type "/var/moodledata/moodle27" in Data directory, and then click Next.

  4. Select Enhanced MySQL (native, mysqli) in Type, and then click Next.

  5. Enter:

    1. "m2o-mysql" in Database server,

    2. "moodle27" in Database name,

    3. "moodleadmin" in Database user,

    4. "moodleazure" in Database password,

    5. "3306" in Database port.

  6. Click Next.

Note Keep the default value mdl_ in the Tables prefix field.
Note 3306 is the default port of the MySQL database.

  1. Read the conditions of use of Moodle, and then click Continue. Moodle then checks the prerequisites for the installation. Every status must be OK in order to continue.

  2. Click Continue. Moodle is then installed component by component. This may take a few minutes.

  3. Once all the components have been installed, click Continue.

41.Creating the administrator account of the Moodle platform


At this point of the installation, we are going to create the administrator account of the Moodle platform.

Proceed with the following steps:



  1. In the Installation dialog, fill in at least the empty compulsory fields of the administrator profile, i.e. New password ("CustomAdminPassword") and email address ("admin@contoso123.fr").

Note You can also personalize the other fields of the platform administrator profile on this page. These settings can be changed at a later date.

  1. Click Save profile.

42.Configuring the front page


We are now going to configure the Moodle front page.

Proceed with the following steps:



  1. In New settings – Settings for the next front page, enter at least the compulsory empty fields of the home page, i.e. the Complete site name ("Contoso University" in our illustration) and the Abbreviated site name ("Contoso University").

Note These settings can be changed at a later time.

  1. Click Save changes.

The setup of a standard Moodle platform is now complete at this stage.

 You are redirected to the platform's home page.




43.Locking the Moodle configuration files


On the Moodle server, you must now protect the Moodle configuration files against being modified from the Moodle web for security reasons.

If you have logged off the Moodle server, log on again by repeating steps 1 à 3 in section § Setting up the Apache HTTP server.

Enter the following commands from the SSH console:
root@m2o-moodle:~$ cd /var/www

root@m2o-moodle:/var/www$ chmod o-w moodle27

44.Setting up the Microsoft resources for Moodle


The integration between Office 365 and Moodle is based on two sets of Microsoft plugins for Moodle.

  • Office 365 integration plugins. This set of six plugins integrates Moodle with Word Online, OneDrive for Business, the Outlook calendar and other functionality, such as Office Mix. This set of plugins uses the Azure AD directory to provide a single sign-on (SSO) service with Office 365.

  • Microsoft Services plugins. This set of seven plugins completely integrates Moodle and OneNote to improve the management of assignments, submissions to assignments for the students and the teachers' comments on the assignments submitted.

Note Introducing OneNote Class Notebooks—a flexible digital framework for teaching and learning48 describes the use of digital OneNote notebooks for teaching.

There are several methods to install the Moodle plugins:



  • From the directory of Moodle plugins (i.e., from Moodle.org),

  • From a ZIP file,

  • From a FTP client,

  • Directly on the Moodle server.

The first method is the preferred one since it guarantees to have the latest version of the plugin that is compatible with the version of Moodle that we have installed.

This method however requires to freely register on the Moodle.org site. We will use this method to install our test lab environment.


45.Creating a free account on Moodle.org


To create a free account on Moodle.org, proceed with the following steps.

  1. Open a browsing session and navigate to https://moodle.org/?lang=us.

Note The Moodle.org site is based on Moodle.



  1. Click Log in in the top right of the screen.



  1. Click Create new account.



  1. Complete at least the mandatory fields: Username, Password, Email address, Email (again), First name and Last name, and answer the security question.

  2. Click Create new account.

Note A request for confirmation of the registration is sent to the email address entered in the form. Click on the link in this email address to activate the account.

46.Setting up the plugins from the Moodle plugins directory


Now that the Moodle.org account is active, we can install the Moodle plugins.

Proceed with the following steps:



  1. Log onto the site https://moodle.org using the username and the password defined in the previous section.

  2. Navigate to the Moodle platform https://o2m.contoso123.fr and, if necessary, sign-in with the administrator account again by clicking Log in in the top right of the screen.

  3. Under ADMINISTRATION on the left pane, click Site administration, plugins, and then Installer plugins.



  1. Click Install plugins from the Moodle plugins directory. You should then be redirected to the Moodle.org site.



  1. Click Log in.



  1. Log in using the username and the password defined in the previous section.

Note This step establishes the link between the Moodle platform o2m.contoso123.fr and the Moodle.org account that we have just created.



  1. Enter Office 365 in the search field and click Search plugins.



  1. Click the plugin OpenIDConnect.



  1. Click Install now.



  1. Click Install now on the line Université Contoso.

  2. Click Continue. Moodle checks the plugin before installing it. All the tests must be OK in order to continue.

  3. Click Install plugin.

  4. Repeat the steps 8 to 12 for the 12 other Microsoft plugins.

Microsoft Office 365 Integration (local_o365)

Office 365 Integration (local_office365)

Office365 Connection (profilefield_o365)

OneDrive for Business (repository_office365)

OpenIDConnect Management (profilefield_oidc)

Microsoft Account (local_msaccount)

Microsoft OneNote (local_onenote)

Microsoft OneNote (repository_onenote)

Microsoft Services (local_microsoftservices)

OneNote block (block_onenote)

OneNote Feedback (assignfeedback_onenote)

OneNote submissions (assignsubmission_onenote)

oEmbed Filter (filter_oembed)

Note For more information about the role of each one of the plugins listed above, see Appendix A Microsoft plugins.
Note All these plugins are accessible from the results49 that is made in step 7, apart from the oEmbed Filter plugin, for which a new search must be run50. In step 8, it is possible to open the download page of each plugin in a new tab to make the installation of the plugins easier.
Note The database cannot be updated before installing all the plugins because some of them are required by others.

  1. Once the last plugin has been installed, click Update the database now.

  2. Once all the updates have been completed, click Continue.

Moodle displays the list of the newly available settings, following the installation of the new plugins. There is no need to apply these settings at this point.

Navigate to https://o2m.contoso123.fr to return to the home page of the Moodle platform and ignore these settings for the time being.


47.Starting cron on the HTTP server


cron is a program that automatically executes scripts or commands, on a given date and at a given time specified in advance. Moodle uses cron to schedule its maintenance operations.

To start cron, proceed with the following steps:



  1. If you have logged off the Moodle server, log on again by repeating steps 1 to 3 in section § Setting up the Apache HTTP server.

  2. Edit the cron configuration file.


root@m2o-moodle:~$ crontab -e


  1. Select the vim text editor.

  2. Add the following line at the end of the file.


*/10 * * * * /usr/bin/wget -q -O /dev/null https://o2m.contoso123.fr/admin/cron.php

Note This command executes the Moodle cron PHP script every 10 minutes.



  1. Save changes and exit the text editor.


:wq



Download 345.09 Kb.

Share with your friends:
1   ...   5   6   7   8   9   10   11   12   13




The database is protected by copyright ©ininet.org 2024
send message

    Main page