Moodle is a free, open-source learning management system that can be used to build your management systems for Schools, universities and online tutorials. It has very stable features and allows you to develop your management system using its code base.
RunCloud provides better server management, while Moodle helps maintain a stable code base, making the combination highly productive and widely appreciated.
First, you need to install Moodle on the RunCloud server under WebApps. You can set up the Moodle code base using one of the empty WebApps.
In order to install Moodle, please follow the steps given below:
1. Create a web application with a custom public path.
This is because Moodle data must not be available to the public but writable by the web server.
You can use /home/runcloud/webapps/app-moodle/public as the public path and /home/runcloud/webapps/app-moodle/moodledata moodle data directory,
Go to the RunCloud dashboard and select the server where you want to host your web application.
- Click on Web Application in the left sidebar.
- Click on “Deploy New Web App“.
- Click on ‘Empty Web App’
Enter the required details and type the Public path as ‘public’ and click on Deploy button
2. Create a database and user and grant the user to the database.
- Select the server where you want to host your Web application.
- Click on ‘Database Users’ in the sub-menu.
- Click on ‘Add New Database User’.
- Enter the username for your new database user. Once the database user is created, you can proceed to create a database.
- Click on ‘Databases’ in the sub-menu.
- Click on ‘Add New Database’.
- Enter the database name.
- Assign the database user to the new database.
- Click on ‘Save Database’.
3. Download the Moodle files and place them to “/home/runcloud/webapps/app-moodle/public”.
4. Set ownership as runcloud,
chown -R runcloud.runcloud /home/runcloud/webapps/app-moodle/public
If you upload the files using the ‘runcloud’ user through SFTP, then no need to set ownership.
5. Access the domain name and complete the installation. Make sure to choose the DB server type as “MariaDB” and continue.
If you are facing any difficulties with the RunCloud server or need help setting up Moodle, we are here to assist you. If you need to migrate your current Moodle website to RunCloud, there’s no need to worry—we can take care of the server setup and migration for you. Feel free to contact us for assistance.

