Moodle-Learning-Management-System/C2/Installing-Moodle-on-Local-Server/English-timed

From Script | Spoken-Tutorial
Revision as of 19:24, 7 November 2019 by Nancyvarkey (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Time Narration
00:01 Welcome to the Spoken Tutorial on Installing Moodle on Local Server.
00:07 In this tutorial, we will learn how to download Moodle and install Moodle.
00:15 To install Moodle, you should have a system supporting:

Apache 2.x (or higher version),

00:23 MariaDB 5.5.30 (or any higher version) and PHP 5.4.4 +(or any higher version).
00:36 To record this tutorial, I will be using:

Ubuntu Linux OS 16.04,

00:44 Apache, MariaDB and PHP obtained through XAMPP 5.6.30
00:53 Moodle 3.3 and Firefox web browser.
00:59 You can use any web browser of your choice.
01:03 However, Internet Explorer should be avoided as it causes some display inconsistencies.
01:11 Please ensure that you have internet connectivity before you begin.
01:16 Also refer to the previous tutorials in this series.

And, ensure that the prerequisites are met and the database is setup properly.

01:27 We should have XAMPP running and We should have a database set up with username moodle-st.
01:37 First, let me go to the web browser and launch XAMPP.
01:42 In the address bar, type: http colon double slash 127 dot 0 dot 0 dot 1 and press Enter.
01:56 In the menu at the top right of the screen, click on PHPinfo.
02:02 Now, press Ctrl + F keys and search for DOCUMENT underscore ROOT.
02:10 It will be found in the table Apache Environment.
02:14 The value of DOCUMENT underscore ROOT will be either slash opt slash lampp slash htdocs or slash var slash www
02:30 In my machine, it is slash opt slash lampp slash htdocs.
02:37 Please make a note of this path. We are going to install Moodle here.
02:43 Let’s now start downloading Moodle.

Go to the official website of Moodle which is moodle.org.

02:53 Click on the Downloads link in the top menu.

And then, click on the latest release button MOODLE 3.3+.

03:04 At the time of recording this tutorial, the latest stable Moodle version is 3.3. It could be different when you try.
03:15 Click on the Download zip button. This will start downloading Moodle on our machine.
03:22 I have already downloaded this file and it is in my Downloads folder. So I will skip this step.
03:30 Open the terminal by pressing Ctrl + Alt + T keys together.
03:36 On the terminal, I will change the directory to Downloads.
03:40 To do that, type the command: cd space Downloads and press Enter.
03:48 You will have to type the path where you downloaded Moodle on your system.
03:53 Once you are in that directory, type ls and press Enter to list the files therein.
04:01 Here is my Moodle installation file. It has the name moodle hyphen latest hyphen 33 dot zip.
04:11 If you had renamed it to some other name during download, then locate that file in your folder.
04:19 Next, we have to extract the contents of this zip file into the moodle folder.
04:26 At the command prompt, type: sudo space unzip space moodle hyphen latest hyphen 33 dot zip space hyphen d space slash opt slash lampp slash htdocs slash. Now press Enter.
04:51 Let’s clear the terminal by pressing Ctrl + L.
04:56 Now type: cd space slash opt slash lampp slash htdocs and press Enter.
05:06 To list the files in this directory, type ls and press Enter.
05:12 You can see that a new folder named moodle has been created.
05:18 Let us give read, write and execute permissions to the owner and the group members of moodle folder.
05:27 So, type: sudo space chmod space 777 space moodle slash and press Enter.
05:39 Enter the administrative password, if prompted, and press Enter.
05:45 Now switch to the browser and type: http colon double slash 127.0.0.1 slash moodle or http colon double slash localhost slash moodle.
06:06 I have typed my localhost IP here.
06:10 This IP necessarily has to be the IP of the machine on which moodle is installed.

Please note that moodle is the folder into which we had extracted earlier.

06:23 Press Enter and you will see the Moodle installation page.
06:29 By default, we are in step number one, that is, Configuration. Please note: Moodle can be installed in multiple languages.
06:40 But we will limit ourselves to English language only.

So, select English here. Click on Next button below the Language dropdown.

06:52 Next is the Paths page. This is where the Web address, Moodle directory and Data directory are defined.
07:02 Web address is the URL for us to access Moodle once installed.
07:08 This is the same URL that we entered above which is shown here.
07:14 Moodle directory is the folder where all the Moodle code is available.
07:20 Notice here, both Web address and Moodle directory are non-editable fields. These cannot be changed by us.
07:31 Next is the Data directory. This is the folder where all file content uploaded by teachers and students will be stored.
07:42 This folder needs to have read and write permission. So, the files can be stored here.
07:50 However, it should not be directly accessible on the web for security reasons.
07:57 So, it is to be kept outside of the installation folder.
08:03 moodledata inside the folder lampp is the default data directory which the installer tries to create.
08:11 However, it does not have the permission to create a folder here.

So, we have to create this folder manually and give it the required permissions.

08:23 Go to the terminal window. At the prompt, type: sudo space mkdir space slash opt slash lampp slash moodledata and press Enter.
08:41 Now, type: sudo space chmod space 777 space slash opt slash lampp slash moodledata and press Enter.
08:57 Go back to the browser now and click on Next button.
09:02 After this comes the database configuration page.

Select MariaDB from the dropdown and click on the Next button.

09:13 Enter localhost as the Database Host Name.
09:18 Now, we have to enter the database name, username and password.

These are the ones we created earlier in phpMyAdmin.

09:30 I will enter moodle-st as the database name.
09:36 Then moodle-st as the database username.
09:41 And, moodle-st as my database password.
09:46 Leave the Table Prefix and the other fields as they are and click on Next.
09:54 We can see a terms and conditions page.
09:59 This is the step where you need to read the license agreement and agree to the same.

Read the text and then click on Continue.

10:10 We can see the Server Checks page next.

Scroll down to see the message Your server environment meets all minimum requirements.

10:23 You may get other errors as shown:

Refer to the Additional reading material link of this tutorial for the solution.

10:33 Click on Continue.
10:36 This step may take some time depending on your internet speed.

You may get an error message Site is being upgraded, please retry later if you refresh the page.

10:50 In that case, please refresh after some time.
10:54 Click Continue when you get a success message for the installation.
11:00 The next page is for administrator configuration.
11:05 Enter the username that you want for the Moodle Administrative page. I will enter the username as admin.
11:15 Now enter a password for the Moodle Administrator.

The password here must follow these rules as shown here.

11:26 To enter the password, click on Click to enter text link.
11:32 I will enter Spokentutorial1@ as my admin password. Click on Unmask icon to reveal the password.
11:43 Note down the username and password that you have created for future use.
11:49 Email address is a mandatory field.

I will enter priyankaspokentutorial@gmail.com here.

11:59 In Select a country drop-down, select India.

Select the timezone as Asia/Kolkata.

12:08 We will leave rest of the fields with their default values.
12:13 Scroll down and click on Update Profile button.
12:18 Please note that Moodle is a resource consuming software. Every step may take time to complete.
12:27 Please wait for the next page to load and do not close or refresh the page.
12:34 The next screen is for Front page settings. This is the page people will see when they visit our moodle site.
12:45 Enter Digital India LMS as the Full Site Name.
12:50 Enter Digital India LMS again as the Short name for site.

This is what will be visible as the name of the moodle site in the navigation bar.

13:03 Let us leave the Front Page Summary as blank, for now.

Select the timezone as Asia/Kolkata.

13:11 The next dropdown is Self Registration. If Self Registration is enabled, then new users can register themselves on their own.
13:23 Select Disable from the dropdown.

Next is the text box no-reply address.

13:31 The default value in this field is noreply@localhost.

Since this is not a valid email ID, change it to noreply@localhost.com.

13:46 This email ID will be shown as From address, when Moodle does not have any email ID to show.
13:55 For example.

If I specify to keep my address as private, all mails sent on my behalf will have this email ID.

Lastly, click on Save Changes button.

14:10 We are now ready to use Moodle.

You can see the front page of the new site here.

14:17 With this, we come to the end of this tutorial. Let us summarize.
14:23 In this tutorial, we learnt to: download Moodle from moodle.org and install Moodle on local server.
14:33 The video at the following link, summarizes the Spoken Tutorial project. Please download and watch it.
14:41 The Spoken Tutorial Project team conducts workshops and gives certificates.

For more details, please write to us.

14:51 Do you have questions in THIS Spoken Tutorial?

Please visit http://forums.spoken-tutorial.org

15:00 Choose the minute and second where you have the question.

Explain your question briefly . Someone from our team will answer them

15:10 The Spoken Tutorial forum is for specific questions on this tutorial
15:15 Please do not post unrelated and general questions on them .
15:21 This will help reduce the clutter. With less clutter, we can use these discussion as instructional material
15:31 Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India. More information on this mission is available at the link shown.
15:45 This script has been contributed by Priyanka.

This is Nancy Varkey along with the spoken tutorial team, signing off. Thank you for joining.

Contributors and Content Editors

Nancyvarkey, PoojaMoolya, Sandhya.np14