Bobcares

Install Moodle on Windows Server – Do it with ease

by | Sep 19, 2020

Eager to know how to install moodle on windows server? Take a peek at this blog.

Here at Bobcares, we help web hosts and online service providers to install and configure Moodle as part of our Server Management Services.

Today we’ll take a look at how to install moodle on windows.

 

How To Install Moodle on Windows

It is always recommended to install Moodle on the server manually. Now let’s take a look at the installation procedure.

 

1. Plan the System Capacity

First, find the hardware that is suitable for your users and the data. Also, estimate the number of users.

 

2. Install Database Server & Web Server

After knowing the capacity, now install the database server. The recommended databases by Moodle are MySQL, MariaDB, or PostgreSQL. However, Microsoft SQL Server 2005 or Oracle is not recommended due to system incompatibilities.

Then install WebServer, Apache 2 is the recommended one.

 

3. Install PHP

Make sure to follow the best practices while installing PHP for your Operating System. In case, if you are using IIS 7/8 server, use Microsoft’s Web Platform Installer.

 

4. Download Moodle And Copy Files Into Place

You can copy the Moodle files from download.moodle.org. However, you can obtain Moodle’s open-source code from various sources but this is a highly suggested site.

After downloading, a directory named “Moodle” is created that contains files and folders. In case, if you wish to have your moodle site to be located at yourwebserver.com/moodle, place the entire folder in your web server’s documents directory. However, if you want your moodle site to be located at yourwebserver.com, you can copy all content straight into the main web server documents directory.

 

5. Create Moodle Data Directory And Secure Database

Now create a data directory so that you can store all of our Moodle files (this includes uploads, cache, session data, even temporary data). After the data directory creation, take appropriate measures to secure this data. Also, make sure that the directory is not accessible directly via the web.

You can create an empty database for the installation if you are hosting Moodle internally. However, in case, if you are outsourcing hosting, find a web-based administration page for databases as part of the control pane.

 

6. Begin to Install Moodle on windows server

Now run the moodle installer to create Moodle database tables so you can configure your new site.

 

7. Setup Moodle Backups

Make sure to have proper backup and disaster recovery systems because you may come across many errors that may cause the Moodle site to crash resulting in loss of courses, student data, and history.

Also, it is recommended to perform the backups hourly and store in multiple geographic locations in the case of a natural disaster.

If you wish to take full site backups, then you need to take backups of the moodle data and moodle directories. Also, you need to take backups of Apache webserver configuration (httpd.conf) if you are using Apache. You also need to take PHP configuration (php.ini) and any PHP extensions which are non-standard, and the MySQL database.

For doing it, use the integrated backup program (Start -> All Programs -> Accessories -> System Tools -> Backup) or any proprietary backup software. If you are using IIS, perform a state backup of the server or PC.

 

8. Check the Server Security and Performance

To check server security and performance accuracy, gather benchmark data from performance monitoring sites. With the performance benchmark, you can accurately measure how well your Moodle site is running. The different performance metrics you want to compare include scalability, server clusters, hardware configuration, operating system speed, web server performance, PHP performance, and database performance.

 

9. Setting up Active Directory authentication

For the active directory authentication, you can use the standard LDAP authentication. It prompts users with a username/password, or integrated NTLM authentication which does not require campus users to enter their credentials.

 

10. Configuring Moodle on Windows server

The final step is to configure the moodle. After the moodle installation, login as admin. You will be either provided with the password or you will have specified it during the installation of Moodle.

In the Administration section of the side navigation menu, click Frontpage settings > Turn editing on (if it is set to off).

[Need any assistance with Moodle related queries? – We’ll help you]

 

Conclusion

Today, we saw how to install, secure, and configure moodle. Also, we discussed backups as well.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF