| Show Slide 1:
Installing Moodle on Local Server.
|Welcome to the Spoken Tutorial on Installing Moodle on Local Server.|
| Show Slide 2:
| In this tutorial, we will learn how to
| Show Slide 3:
| To install Moodle in your system, you should have a system supporting:
| Show Slide 4:
OS, Web Server and Moodle Versions
| To record this tutorial, I will be using:
You can use any web browser of your choice.
However, Internet Explorer should be avoided, as it causes some display inconsistencies.
|Please ensure that you have Internet connectivity before you begin.|
| Show Slide 5:
| Also refer to the previous tutorials in this series.
And ensure that the prerequisites are met and the database is setup properly.
| Open Firefox
In the address bar type, http://127.0.0.1 >> press Enter.
| First, let me go to the web browser and launch XAMPP.
In the address bar, type http colon double slash 127 dot 0 dot 0 dot 1 and press Enter.
|In the top menu >> click on phpinfo||In the menu at the top right of the screen, click on PHPinfo.|
|Type Ctrl+F >> type DOCUMENT_ROOT in the search window >> Press Enter||Now press Ctrl + F keys and search for DOCUMENT underscore ROOT.|
|Point toApache Environment.||It will be found in the table Apache Environment.|
|The value of DOCUMENT underscore ROOT will be either
|Point or highlight /opt/lampp/htdocs.||In my machine, it is slash opt slash lampp slash htdocs.|
| Please make a note of this path.
We are going to install Moodle here.
| Downloading Moodle (Browser)
Go to http://www.moodle.org
| Let’s now start downloading Moodle.
Go to the official website of Moodle which is moodle.org
|Click on Downloads >> click on MOODLE 3.3.|| Click on the Downloads link in the top menu.
And then click on the latest release button MOODLE 3.3+.
At the time of recording this tutorial, the latest stable Moodle version is 3.3.
It could be different when you try.
|Click Download zip button.|| Click on the Download zip button.
This will start downloading Moodle on our machine.
| I have already downloaded this file and it is in my Downloads folder.
So I will skip this step.
|Open the terminal by pressing Ctrl + Alt + T keys together.|
|Switch to the terminal||On the terminal, I will change the directory to Downloads.|
| Switch to the terminal >> Type
| To do that, type the command:
cd space Downloads and press Enter. You will have to type the path where you downloaded Moodle on your system.
ls >> press Enter. Point to moodle zip file.
| Once you are in that directory, type ls and press Enter to list the files therein.
Here is my Moodle installation file. It has the name moodle hyphen latest hyphen 33 dot zip If you had renamed it to some other name during download, then locate that file in your folder.
|Next, we have to extract the contents of this zip file into the moodle folder.|
sudo unzip moodle-latest-33.zip -d /opt/lampp/htdocs/
| 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.
|Press Ctrl + L||Let’s clear the terminal by pressing Ctrl + L.|
|Type cd /opt/lampp/htdocs|| Now type
cd space slash opt slash lampp slash htdocs and press Enter.
| Type ls
|| To list the files in this directory, type ls and press Enter.
You can see that a new folder named moodle has been created.
| Give read, write and execute permissions
Type sudo chmod 777 moodle/
| Let us give read, write and execute permissions to the owner and the group members of moodle folder.
So type - sudo space chmod space 777 space moodle slash and press Enter.
|Enter the administrative password if prompted and press Enter.|
|SLIDE 6:|| 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
|Highlight localhost|| I have typed my localhost IP here.
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.
|Press Enter||Press Enter and you will see the Moodle installation page.|
| By default, we are in step number one, that is, Configuration.
Pls note: Moodle can be installed in multiple languages.
|Select English >> click on Next button.|| But we will limit ourselves to English language only.
So, select English here. Click on Next button below the language dropdown.
|Paths:|| Next is the Paths page.
This is where the web address, moodle directory and data directory are defined.
|Show Slide 7: Web Address|| Web address is the URL for us to access Moodle once installed.
This is the same URL that we entered above, which is shown here:
|Show Slide 8: Moodle directory|| Moodle directory is the folder where all the Moodle code is available.
Notice here - both Web address and Moodle directory are non-editable fields.
These cannot be changed by us.
| Switch to the browser. Highlight Data directory.
Show Slide 9: Data directory
| Next is the Data directory.
This is the folder where all file content uploaded by teachers and students, will be stored.
This folder needs to have read and write permission so the files can be stored here.
| However it should not be directly accessible on the web for security reasons.
So, it is to be kept outside of the installation folder.
|Switch to the browser.|| moodledata inside the folder lampp is the default data directory which the installer tries to create.
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.
|Click on Terminal window.||Go to the terminal window.|
| In the terminal window, type
sudo mkdir /opt/lampp/moodledata
| At the prompt, type
sudo space mkdir space slash opt slash lampp slash moodledata and press Enter.
sudo chmod 777 /opt/lampp/moodledata
| Now, type - sudo space chmod space 777 space slash opt slash lampp slash moodledata
and press Enter.
|Browser||Go back to the browser now and click on Next button.|
|Choose Database driver (browser):|| After this comes the database configuration page.
Select MariaDB from the dropdown and click on the Next button.
|Database configurations (browser):|| Enter localhost as the Database Host Name.
Now, we have to enter the database name, username and password. These are the ones we created earlier in phpMyAdmin.
| Database name
|I will enter moodle-st as the database name.|
| Database User
|Then moodle-st as the database username.|
| Database Password
|And moodle-st as my database password.|
|Click on Next.||Leave the Table Prefix and the other fields as they are and click Next.|
|Click on Continue||We can see a terms and conditions page.|
|License >> Click on Continue|| 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.
|Point to Server Checks|| We can see the Server Checks page next.
Scroll down to see the message Your server environment meets all minimum requirements.
| Show the screen shot
Add the text: Refer to the Additional reading material link of this tutorial for the solution.
| You may get other errors as shown:
Refer to the Additional reading material link of this tutorial for the solution.
|Click on Continue.||Click on Continue.|
| 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.
In that case, please refresh after some time.
|Click Continue||Click Continue when you get a success message for the installation.|
|The next page is for administrator configuration.|
|Type admin as username.|| Enter the username that you want for the Moodle Administrative page.
I will enter the username as admin.
| Default Password rules for Moodle
Highlight the rules on the screen
| Now enter a password for the Moodle Administrator.
The password here must follow these rules as shown here.
|Type Spokentutorial1@ as password.|| To enter the password, click on Click to enter text link.
I will enter Spokentutorial1@ as my admin password. Click on Unmask icon to reveal the password.
|Note down the username and password that you have created for future use.|
|Type firstname.lastname@example.org in the email address field.|| Email address is a mandatory field.
I will enter email@example.com here.
| Select a country -> India
Timezone -> Asia/Kolkata
| In Select a country dropdown, select India.
Select the timezone as Asia/Kolkata
|We will leave rest of the fields with their default values.|
|Click Update Profile.||Scroll down and click on Update Profile button.|
| Please note that Moodle is a resource consuming software.
Every step may take time to complete.
Please wait for the next page to load and do not close or refresh the page.
| The next screen is for Front page settings.
This is the page people will see when they visit our moodle site.
|Type Digital India LMS in Full Site Name field||Enter Digital India LMS as the Full Site Name.|
|Type Digital India LMS in Short name for site field|| 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.
|Let us leave the Front Page Summary as blank for now.|
|Timezone: Asia/ kolkata||Select the timezone as Asia/Kolkata.|
| Self Registration : Disable.
No-reply address: firstname.lastname@example.org
| The next dropdown is Self Registration.
If Self Registration is enabled, then new users can register themselves on their own.
Select Disable from the dropdown.
Next is the text box no-reply address. The default value in this field is noreply@localhost.
Since this is not a valid email ID, change it to email@example.com.
This email ID will be shown as From address, when Moodle does not have any email ID to show.
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.
| We are now ready to use Moodle.
You can see the front page of the new site here.
| Show Slide 12:
| With this we come to the end of this tutorial. Let us summarize.
In this tutorial, we learnt to:
| Show Slide 13:
(About Spoken Tutorial Project)
| The video at the following link, summarizes the Spoken Tutorial project.
Please download and watch it.
| Show Slide 14:
|| The Spoken Tutorial Project Team conducts workshops and gives certificates.
For more details, please write to us.
| Show Slide 15:
(About Spoken Tutorial Forum)
| * Do you have questions in THIS Spoken Tutorial?
|Show Slide 16:|| * The Spoken Tutorial forum is for specific questions on this tutorial
| Show Slide 17:
|Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.. More information on this mission is available at the link shown.|
| This script has been contributed by Priyanka.
This is Nancy Varkey along with the spoken tutorial team signing off. Thank you for joining.