How to install Moodle manually?

Pre-installation Steps

If you want to install Moodle manually you have to made some preparations before proceeding.

Step 1: First, you need to download the latest stable Moodle installation package from:

http://download.moodle.org/

Step 2: Then, please upload the package under your public_html directory, which is the main one for the web site content. If you decide to use the script in a subdirectory of the main one, place it there.

You can upload the Moodle package either through cPanel -> File Manager or using an FTP client.

Step 1: After this you need to create a new database and add an user to it. You can check our comprehensive MySQL tutorial in order to learn how to create databases and add users to them. Once the database is created and the package is uploaded, please extract the Moodle archive through cPanel -> File Manager.

For the needs of this tutorial we will assume that you are going to install the Moodle software in the /moodle subfolder.

Web installation of Moodle

Please navigate to the following URL:

http://yourdomainname.com/moodle/install.php

Choose the language for the installation and click on the [Next] button.The script will check the configuration of the server and inform you if there are any compatibility problems.

On the next step the script determines the installation paths for Moodle. You do not need to change anything.

In this window you need to enter the details of the database, which you have already created (Database, User, Password).

Note, that the names of the database and the user are prefixed with "username_" where username is your cPanel login name.

Do not forget to type in the password of the MySQL user and note that it is case-sensitive.

On the next step the server configuration is checked again.

Here you need to click on the Next button in order to install the script with the default English language.

The next window informs you that the configuration is completed. Click on the [Continue] button.

Here you should confirm that you agree with the Moodle's Terms of Service.

This window contains a link to the release information of the current Moodle version. Click on the [Continue] button to proceed.

At this point the Moodle database will be populated. There will be several similar screens with MySQL queries. If there are any problems, you will be notified by the script. Otherwise you can click on the [Continue] button to proceed.

Once the database content installation is completed, you will be forwarded to a new window, where you should enter the administrator details. Click on the [Update ]Profile button when you are ready.

In the following screen you can enter the site name and the corresponding description.

Now you will be redirected to the main web page of the newly installed Moodle script.