Report this

What is the reason for this report?

How to setup openedx on droplet ?

Posted on April 21, 2021

I want to setup openEdx following the instructions on this web site https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/146440579/Native+Open+edX+platform+Ubuntu+16.04+64+bit+Installation but i don’t know how to create Create a config.yml file.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @erictabengo Please take a look at https://native-installation.cubite.io/ if you want to have production ready openedx instance. We can also do 1:1 on helping you with your installation. Let me know if you need more help, hello@cubite.io

Heya,

Here’s a step-by-step guide on how to set up Open edX on a DigitalOcean Droplet.

1. Choose the Right Droplet Size

For a production environment, Open edX requires a Droplet with at least:

  • 8 GB RAM (more recommended for high load)
  • Quad-core CPU
  • At least 50 GB of storage (SSD recommended for better performance)

You might start with smaller specs for testing, but for any serious deployment, it’s better to stick to the recommended specs or higher.

2. Install Open edX

The recommended way to install Open edX is by using the Native Installation script, which will set up everything you need. As of my last update, Tutor is the recommended method for installing Open edX, which simplifies the process significantly.

Tutor is a Docker-based Open edX distribution that simplifies the deployment and maintenance of Open edX. Here’s how to install it:

Install Docker and Docker Compose:

sudo apt update
sudo apt install docker.io docker-compose
sudo systemctl enable --now docker

Install Tutor:

curl -L "https://github.com/overhangio/tutor/releases/download/v14.0.1/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
chmod +x /usr/local/bin/tutor

Initialize the platform:

tutor local quickstart
  1. Follow the prompts to configure your installation, including setting up an admin account.

Traditional method (using Native Installation):

If you opt for the traditional method without Tutor, follow the Native Installation guide available on the official Open edX documentation. This involves more steps and requires more manual configurations compared to using Tutor.

3. Configure Your Platform

After installation, you can configure Open edX through the admin panel or directly in the configuration files. With Tutor, much of this can be managed via the Tutor commands and plugins.

4. Set Up a Domain and SSL

For production use, you should set up a domain name and SSL/TLS certificates to secure your platform:

  • You can configure DNS settings in DigitalOcean to point your domain to the Droplet.
  • Use Let’s Encrypt for a free SSL certificate. Tutor supports this natively with commands like:
tutor local https letsencrypt <YOUR-DOMAIN>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.