Difference between revisions of "Moodle-Learning-Management-System/C2/Getting-Ready-for-Moodle-Installation/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "{|border=1 |Time |Narration |- | 00:01 | Welcome to the Spoken Tutorial on '''Getting ready for Moodle installation.''' |- | 00:07 | In this tutorial, we will learn a...")
 
Line 5: Line 5:
 
|-  
 
|-  
 
| 00:01  
 
| 00:01  
|  Welcome to the Spoken Tutorial on '''Getting ready for Moodle installation.'''
+
|  Welcome to the '''Spoken Tutorial''' on '''Getting ready for Moodle installation.'''
  
 
|-  
 
|-  
Line 13: Line 13:
 
|-  
 
|-  
 
| 00:14
 
| 00:14
| We will also learn to
+
| We will also learn to check for '''packages''' on '''localhost''' and database setup.
 
+
Check for packages on localhost and database setup
+
  
 
|-  
 
|-  
Line 21: Line 19:
 
| To record this tutorial, I will be using:
 
| To record this tutorial, I will be using:
  
'''Ubuntu Linux OS '''16.04
+
'''Ubuntu Linux OS '''16.04,
  
 
|-  
 
|-  
Line 37: Line 35:
 
|-  
 
|-  
 
| 00:52
 
| 00:52
| '''Apache''' 2.x (or higher version)
+
| '''Apache''' 2.x (or higher version),
  
 
'''MariaDB '''5.5.30 (or any higher version) and
 
'''MariaDB '''5.5.30 (or any higher version) and
  
'''PHP''' 5.4.4 +(or any higher version)
+
'''PHP''' 5.4.4 +(or any higher version).
  
 
|-  
 
|-  
Line 57: Line 55:
 
|-  
 
|-  
 
| 01:26
 
| 01:26
| Web server distributions give you ''' Apache''',''' MariaDB''' and''' PHP''' bundled in one.
+
| '''Web server''' distributions give you ''' Apache''',''' MariaDB''' and''' PHP''' bundled in one.
  
 
|-  
 
|-  
 
| 01:34
 
| 01:34
| You can either install these separately.
+
| You can either install these separately or using a web server distribution like''' XAMPP''',''' WAMPP''' or''' LAMPP'''.
 
+
Or using a Web server distribution like''' XAMPP''',''' WAMPP''' or''' LAMPP'''.
+
  
 
|-  
 
|-  
Line 75: Line 71:
 
|-  
 
|-  
 
| 01:54
 
| 01:54
| In the web browser, type '''http colon double slash 127 dot 0 dot 0 dot 1 ''' and press '''Enter'''.
+
| In the web browser, type: '''http colon double slash 127 dot 0 dot 0 dot 1 ''' and press '''Enter'''.
  
 
|-  
 
|-  
 
| 02:08
 
| 02:08
| It shows a message '''Unable to connect.  
+
| It shows a message '''Unable to connect'''.  
  
 
|-  
 
|-  
 
| 02:12
 
| 02:12
| '''This means '''XAMPP '''service is not running.  
+
| This means, '''XAMPP '''service is not running.  
  
 
|-  
 
|-  
Line 95: Line 91:
 
|-  
 
|-  
 
| 02:26
 
| 02:26
|  Start '''XAMPP''' by typing '''sudo space slash opt slash lampp slash lampp space start'''
+
|  Start '''XAMPP''' by typing '''sudo space slash opt slash lampp slash lampp space start'''.
  
 
|-  
 
|-  
Line 103: Line 99:
 
|-  
 
|-  
 
| 02:44
 
| 02:44
| If you get a message that says  
+
| If you get a message that says-
  
 
'''Starting XAMPP for Linux '''….
 
'''Starting XAMPP for Linux '''….
Line 123: Line 119:
 
|-  
 
|-  
 
| 03:13
 
| 03:13
| The commands and tools are the same for both.
+
| The '''command'''s and '''tool'''s are the same for both.
  
 
|-  
 
|-  
 
| 03:17
 
| 03:17
| Let us go back to the browser and refresh the page.
+
| Let us go back to the browser and '''refresh''' the page.
  
 
|-  
 
|-  
 
| 03:21
 
| 03:21
| We can now see the '''XAMPP''' screen.
+
| We can now see the '''XAMPP screen'''.
  
 
|-  
 
|-  
 
| 03:25
 
| 03:25
| You may get a message saying, '''Command not found''' in the '''terminal'''.  
+
| You may get a message saying '''Command not found''' in the '''terminal'''.  
  
 
|-  
 
|-  
Line 155: Line 151:
 
|-  
 
|-  
 
| 03:52
 
| 03:52
|  Now follow the steps shown above, to start '''XAMPP service'''.
+
|  Now follow the steps shown above to start '''XAMPP service'''.
  
 
|-  
 
|-  
Line 163: Line 159:
 
|-  
 
|-  
 
| 04:02
 
| 04:02
| On the '''terminal''' type '''sudo space slash opt slash lampp slash bin slash php space hyphen v'''  
+
| On the '''terminal''' type: '''sudo space slash opt slash lampp slash bin slash php space hyphen v'''  
  
 
and press '''Enter.'''
 
and press '''Enter.'''
Line 169: Line 165:
 
|-  
 
|-  
 
| 04:17
 
| 04:17
| Enter the '''administrative''' password, if prompted and press '''Enter'''.
+
| Enter the '''administrative''' password, if prompted, and press '''Enter'''.
  
 
|-  
 
|-  
Line 189: Line 185:
 
|-  
 
|-  
 
| 04:48
 
| 04:48
|  On the '''terminal''', type '''sudo space slash opt slash lampp slash bin slash mysql space hyphen v'''  
+
|  On the '''terminal''', type: '''sudo space slash opt slash lampp slash bin slash mysql space hyphen v'''  
  
 
and press '''Enter'''.
 
and press '''Enter'''.
Line 195: Line 191:
 
|-  
 
|-  
 
| 05:03
 
| 05:03
|  Enter the '''administrative''' password, if prompted and press '''Enter'''.
+
|  Enter the '''administrative''' password, if prompted, and press '''Enter'''.
  
 
|-  
 
|-  
Line 207: Line 203:
 
|-  
 
|-  
 
| 05:23
 
| 05:23
| Please note. You should have '''XAMPP''' running, to check the versions of '''PHP''' and database.
+
| Please note. You should have '''XAMPP''' running to check the versions of '''PHP''' and database.
  
 
|-  
 
|-  
Line 219: Line 215:
 
|-  
 
|-  
 
| 05:40
 
| 05:40
|  You may also get other errors as shown here.
+
|  You may also get other '''error'''s as shown here.
  
 
|-  
 
|-  
Line 239: Line 235:
 
|-  
 
|-  
 
| 06:06
 
| 06:06
| The command to stop '''Apache''' is
+
| The command to stop '''Apache''' is:
  
 
'''sudo /etc/init.d/apache2 space stop'''
 
'''sudo /etc/init.d/apache2 space stop'''
Line 269: Line 265:
 
|-  
 
|-  
 
| 06:59
 
| 06:59
| Then switch to your web browser and refresh the page.
+
| Then switch to your web browser and '''refresh''' the page.
  
 
|-  
 
|-  
Line 281: Line 277:
 
|-  
 
|-  
 
| 07:14
 
| 07:14
| We will do this in '''phpmyadmin''', which is the graphical user interface for '''MariaDB'''.
+
| We will do this in '''phpmyadmin''' which is the graphical user interface for '''MariaDB'''.
  
 
|-  
 
|-  
Line 301: Line 297:
 
|-  
 
|-  
 
| 07:42
 
| 07:42
| In the new window that opens, enter a '''username '''of your choice.
+
| In the new '''window''' that opens, enter a '''username '''of your choice.
  
 
|-  
 
|-  
 
| 07:48
 
| 07:48
| I will type '''moodle hyphen st '''as my '''username.'''
+
| I will type: '''moodle hyphen st '''as my '''username.'''
  
 
|-  
 
|-  
Line 313: Line 309:
 
|-  
 
|-  
 
| 07:57
 
| 07:57
| Enter a '''password '''of your choice in the '''Password''' text-box.
+
| Enter a password of your choice in the '''Password''' text-box.
  
 
|-  
 
|-  
 
| 08:02
 
| 08:02
| I will type '''moodle hyphen st '''as my '''password'''.
+
| I will type: '''moodle hyphen st '''as my '''password'''.
  
 
|-  
 
|-  
Line 333: Line 329:
 
|-  
 
|-  
 
| 08:22
 
| 08:22
| Under '''Database for user account''', we can see the option-'''
+
| Under '''Database for user account''', we can see the option-  
  
 
|-  
 
|-  
Line 397: Line 393:
 
|-  
 
|-  
 
| 09:45
 
| 09:45
| About the prerequisites for installing Moodle.
+
| about the prerequisites for installing Moodle,
  
 
|-  
 
|-  
 
| 09:49
 
| 09:49
| How to check for the prerequisites  
+
| how to check for the prerequisites,
  
How to setup the database and How to add a user.
+
how to setup the database and how to add a user.
  
 
|-  
 
|-  
Line 415: Line 411:
 
|-  
 
|-  
 
| 10:06
 
| 10:06
| The '''Spoken Tutorial''' Project Team conducts workshops and gives certificates.
+
| The '''Spoken Tutorial''' Project team conducts workshops and gives certificates.
  
 
|-  
 
|-  
Line 467: Line 463:
 
|-  
 
|-  
 
| 11:10
 
| 11:10
| This is Nancy Varkey along with the spoken tutorial team signing off. Thank you for joining.
+
| This is Nancy Varkey along with the spoken tutorial team, signing off. Thank you for joining.
  
 
|}
 
|}

Revision as of 12:26, 11 May 2019

Time Narration
00:01 Welcome to the Spoken Tutorial on Getting ready for Moodle installation.
00:07 In this tutorial, we will learn about the prerequisites for installing Moodle.
00:14 We will also learn to check for packages on localhost and database setup.
00:22 To record this tutorial, I will be using:

Ubuntu Linux OS 16.04,

00:30 Apache, MariaDB and PHP obtained through XAMPP 5.6.30 and Firefox web browser.
00:42 You can use any web browser of your choice.
00:46 To install Moodle 3.3 in your system, you should have a machine that supports:
00:52 Apache 2.x (or higher version),

MariaDB 5.5.30 (or any higher version) and

PHP 5.4.4 +(or any higher version).

01:08 If you have older versions of the above, ideally uninstall these before proceeding ahead.
01:16 MariaDB is the fastest growing open source database.
01:21 It is an alternative for MySQL database.
01:26 Web server distributions give you Apache, MariaDB and PHP bundled in one.
01:34 You can either install these separately or using a web server distribution like XAMPP, WAMPP or LAMPP.
01:44 I have already installed XAMPP in my machine.
01:49 First of all, we should check if XAMPP is running on our machine.
01:54 In the web browser, type: http colon double slash 127 dot 0 dot 0 dot 1 and press Enter.
02:08 It shows a message Unable to connect.
02:12 This means, XAMPP service is not running.
02:16 So, we have to start the XAMPP service.
02:20 Let’s open the terminal by pressing Ctrl + Alt + T keys together.
02:26 Start XAMPP by typing sudo space slash opt slash lampp slash lampp space start.
02:38 Enter the administrative password when prompted and press Enter.
02:44 If you get a message that says-

Starting XAMPP for Linux ….

XAMPP: Starting Apache...ok.

XAMPP: Starting MySQL...ok.

XAMPP: Starting ProFTPD...ok.

02:59 It means that XAMPP is installed in your system and you have started the service.
03:05 Please note XAMPP 5.6.30 uses MariaDB instead of MySQL.
03:13 The commands and tools are the same for both.
03:17 Let us go back to the browser and refresh the page.
03:21 We can now see the XAMPP screen.
03:25 You may get a message saying Command not found in the terminal.
03:30 This means XAMPP is not installed in your machine.
03:34 If so, refer to the XAMPP Installation tutorial in the PHP and MySQL Series on this website.
03:42 Follow the instructions specified in the above tutorial and install the latest version of XAMPP.
03:49 Let’s switch back to the terminal.
03:52 Now follow the steps shown above to start XAMPP service.
03:57 Let us check the version of PHP on our system now.
04:02 On the terminal type: sudo space slash opt slash lampp slash bin slash php space hyphen v

and press Enter.

04:17 Enter the administrative password, if prompted, and press Enter.
04:23 My version of PHP is 5.6.30.
04:29 This message indicates that PHP is installed successfully.
04:34 If you get a version lesser than 5.4.4, you should install the latest version of XAMPP.
04:42 Next, let us check the version of MariaDB on our system.
04:48 On the terminal, type: sudo space slash opt slash lampp slash bin slash mysql space hyphen v

and press Enter.

05:03 Enter the administrative password, if prompted, and press Enter.
05:08 My version of MariaDB is 10.1.21
05:14 If you get a version lesser than 5.5.30, you should install the latest version of XAMPP.
05:23 Please note. You should have XAMPP running to check the versions of PHP and database.
05:29 Also note that the command prompt has now changed.
05:34 Type backslash q and press Enter to exit MariaDB.
05:40 You may also get other errors as shown here.
05:44 You may get a message that says “An apache daemon is already running”.
05:50 It means the startup script did not start XAMPP-Apache.
05:55 This indicates that there is another Apache instance already running.
06:01 To start XAMPP properly, you will have to first stop this daemon.
06:06 The command to stop Apache is:

sudo /etc/init.d/apache2 space stop

06:19 You may get a message that says MySQL daemon failed to start.
06:25 This means the startup script did not start MySQL.
06:30 This indicates that there is another database instance already running.
06:36 To start XAMPP properly, first you have to stop this daemon.
06:41 This command will stop MySQL: sudo space /etc/init.d/mysql space stop
06:54 Resolve all the errors and get XAMPP running successfully.
06:59 Then switch to your web browser and refresh the page.
07:03 If prompted for language selection, select English.
07:08 We will now need to add a user and create a database for Moodle.
07:14 We will do this in phpmyadmin which is the graphical user interface for MariaDB.
07:21 It comes along with the XAMPP installation.
07:25 Let us go back to the browser.
07:28 On the XAMPP page, in the menu at the top, click on phpMyadmin.
07:34 Click on User Accounts in the top menu and then click on Add User Account.
07:42 In the new window that opens, enter a username of your choice.
07:48 I will type: moodle hyphen st as my username.
07:53 From the Host drop-down list, select Local.
07:57 Enter a password of your choice in the Password text-box.
08:02 I will type: moodle hyphen st as my password.
08:07 Type the same password in the Re-type textbox.
08:12 Keep the Authentication Plugin option as it is.
08:17 Please do not click on Generate Password prompt for now.
08:22 Under Database for user account, we can see the option-
08:26 Create database with same name and grant all privileges.
08:31 We will check that option and click the Go button at the bottom right of this page.
08:38 We can see a message “You have added a new user” at the top of the window.
08:44 It means a new database with the name moodle-st and with a user moodle-st has been created.
08:54 Make a note of the username, password and database names.
08:59 These will be required later to complete the Moodle installation.
09:04 Please note: Database name and username need not be the same.
09:10 To have different names, create the database first and then create a user for that database.
09:18 Also, as per naming convention, username should not have any spaces in between.
09:25 We now have XAMPP running and our database is ready.
09:29 We are now ready to install Moodle.
09:32 We will continue with the installation of Moodle in the next tutorial.
09:37 With this, we come to the end of this tutorial.
09:41 Let us summarize.
09:43 In this tutorial, we learnt:
09:45 about the prerequisites for installing Moodle,
09:49 how to check for the prerequisites,

how to setup the database and how to add a user.

09:57 The video at the following link, summarizes the Spoken Tutorial project.
10:03 Please download and watch it.
10:06 The Spoken Tutorial Project team conducts workshops and gives certificates.
10:11 For more details, please write to us.
10:15 Do you have questions in THIS Spoken Tutorial?
10:18 Please visit http://forums.spoken-tutorial.org
10:27 Choose the minute and second where you have the question.
10:30 Explain your question briefly. Someone from our team will answer them.
10:36 The Spoken Tutorial forum is for specific questions on this tutorial.
10:41 Please do not post unrelated and general questions on them.
10:46 This will help reduce the clutter.
10:48 With less clutter, we can use these discussion as instructional material.
10:54 Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India..
11:01 More information on this mission is available at the link shown.
11:06 This script has been contributed by Priyanka.
11:10 This is Nancy Varkey along with the spoken tutorial team, signing off. Thank you for joining.

Contributors and Content Editors

PoojaMoolya, Sandhya.np14