How to Create eLearning Platform with Moodle and ONLYOFFICE

The implementation of modern e-learning software in the educational process has ceased to be somewhat extraordinary. More and more teachers and students all over the world are using modern technology, which makes it possible to apply new learning scenarios, including more active student involvement and closer interaction outside the traditional classroom.

One of the most popular platforms that allow schools and universities to make the most of the online educational process is Moodle. In combination with ONLYOFFICE Docs, this software lets you deploy a collaborative learning management system in a Linux environment.

Moodle – Open-Source Learning Platform

Moodle is an open-source e-learning platform with a focus on security and privacy that allows educators to create flexible and highly accessible online spaces for their learners.

As a widely recognized educational software, Moodle is trusted by hundreds of millions of users worldwide. The solution is totally open-source and is supported, besides its global community, by a network of certified service providers.

Moodle offers a wide range of educational activities and tools that allow schools and universities to create their own personalized learning environments that can be accessed any time and anywhere, even from mobile devices.

Distributed under the GPL license, the self-hosted version of Moodle is free.

ONLYOFFICE Docs

ONLYOFFICE Docs is an open-source office suite that combines three online editors for text documents, spreadsheets, and presentations. The suite is completely compatible with the Microsoft Office formats (docx, xlsx, and pptx) and supports other popular formats, including odt, ods, odp, doc, xls, ppt, pdf, txt, rtf, html, epub, and csv.

[ You might also like: The Best Microsoft Excel Alternatives for Linux ]

ONLYOFFICE Docs offers a vast array of collaborative tools (two co-editing modes, tracking changes, version history, comments, and the built-in chat) and different access permissions.

The suite easily integrates with plenty of DMS services and file-sharing platforms, such as Moodle, Nextcloud, ownCloud, Confluence, Alfresco, SharePoint, Liferay, Nuxeo, etc.

The recently released version of ONLYOFFICE Docs, brings in a lot of useful features, including full support for conditional formatting and sparklines in spreadsheets, converting text to a table, and auto-capitalization of the first letter of a sentence in text documents, version history in presentations.

Moreover, there are new scaling options (125% and 175%) and WOPI support. The full changelog is available on GitHub.

Requirements

To create a collaborative e-learning environment, you need an instance of ONLYOFFICE Docs (ONLYOFFICE Document Server) that is resolvable and connectable to Moodle. It’s important to highlight that the instance should be able to POST to the Moodle server directly.

The hardware requirements are as follows:

  • CPU: dual-core, 2 GHz at least.
  • RAM: 2 GB or more.
  • HDD: min. 40 GB.
  • Swap: min. 4 GB.
  • OS: Ubuntu 20.04 or older versions.

Installing Moodle in Ubuntu

To install and configure the latest version of the Moodle platform with NGINX and MySQL/MariaDB databases on Ubuntu 20.04, please refer to this guide.

Installing ONLYOFFICE Docs in Ubuntu

To install the latest version of ONLYOFFICE Docs and all the required dependencies on Ubuntu 20.04, please read this article.

Installing and Configuring the ONLYOFFICE for Moodle

Now that you have ONLYOFFICE Docs and Moodle installed on your Ubuntu server, you need to install the integration app. You can get it from GitHub and install it in the mod/onlyoffice directory like any other Moodle plugin.

When the plugin is installed, you’ll need to connect ONLYOFFICE by specifying the address of the ONLYOFFICE Docs instance:

https://documentserver/

After that, you can restrict access to the ONLYOFFICE Document Server by setting up a secret key. However, this action is not required for the plugin to work correctly.

Using ONLYOFFICE Docs within Moodle

After completing all the steps above, you will get a collaborative environment on your Linux server that can be used for educational purposes. Thus, you will be able to create an ONLYOFFICE activity in any Moodle course and work on text documents, spreadsheets, and presentations. As the admin, you are allowed to restrict the print and download options in the ONLYOFFICE editors.

If you click an activity name/link on the course page, the corresponding ONLYOFFICE editor will open in your browser making it possible to create and edit documents attached to the course, view PDF files, collaborate in real-time with other users, and much more.

ONLYOFFICE with Moodle
ONLYOFFICE with Moodle

We hope you find this guide useful. Please don’t forget to share your opinion by leaving a comment below. Let us know what you think about the ONLYOFFICE/Moodle integration!

If you read this far, tweet to the author to show them you care. Tweet a thanks
Sergey Zarubin
A former university teacher, Sergey has been passionate about open-source software since 2019. He writes about software for several websites and contributes to the ONLYOFFICE open-source project.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.