How to Install edX on Ubuntu Server Latest

In this tutorial, you will learn how to install edX platform, an open-source massive open online course (MOOC) provider, on Ubuntu Server Latest.

Prerequisites

Before you start, you need to have the following requirements:

Step 1: Update Packages

First, update the package list using the apt package manager:

sudo apt update

Step 2: Install Required Packages

Install the required packages, which include Python 2.7, pip, and other dependencies:

sudo apt install python2.7 python-pip python-setuptools python-dev build-essential libxml2-dev libxslt-dev libmysqlclient-dev libjpeg-dev libffi-dev libssl-dev gettext curl git-core mongodb rabbitmq-server memcached

Step 3: Install edX

Install edX using the command:

sudo pip install -e git+https://github.com/edx/edx-platform.git@release

Step 4: Create Superuser Account

Create a superuser account by running the following command:

sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp createsuperuser

Step 5: Start edX Services

Start the edX services using the following commands:

sudo /edx/bin/supervisorctl start edxapp:
sudo /edx/bin/supervisorctl start edxapp_worker:
sudo /edx/bin/supervisorctl start edxapp_celerybeat:
sudo /edx/bin/supervisorctl start edxapp_celerycam:

Step 6: Access edX Platform

Access the edX platform by navigating to http://your_server_name/ in your web browser.

Conclusion

You have successfully installed edX platform on Ubuntu Server Latest. Enjoy your learning experience!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!