Long story short, I need to setup an Open edX LMS for my side project, this is my journal.
This is my research, not the fully working tutorial.
Hope you find it useful, somehow...
This post also contains many questions, if you know how to do it, please leave it in the comment - thank you so much for helping me 🍾🍾🍾
In general Open edX is a lms platform which allows people to teach and to learn (sort of Udemy or Udacity), but you can set it up by yourself (Open edX stands for Opensource Educational Platform which is supposed to be really awesome - the X 😏)
Check out the home page of Open edX for more info.
- Setting up a Virtual environment so I don't freak up the real system
- Install Open edX
- Access the Open edX from the real devices
I am a simple man, I saw virtual env, I think of Virtual Box. Yes, Virtual Box.
Download it here Virtual Box download page
You will also need Ubuntu 16.04 amd64, so here is the download link, you can choose either the Desktop image (with GUI) or Server image.
Install Ubuntu in a Virtual Machine, please take a look at the requirements for a Open edX server.
- Ubuntu 16.04 amd64 (oraclejdk required). It may seem like other versions of Ubuntu will be fine, but they are not. Only 16.04 is known to work.
- Minimum 8GB of memory
- At least one 2.00GHz CPU or EC2 compute unit
- Minimum 25GB of free disk, 50GB recommended for production servers
Your Ubuntu is up and running, great 👏👏👏! Let's move to the next step.
Power on your Ubuntu instance and login as root user
Run the commands
sudo apt-get update -y
sudo apt-get upgrade -y
- Choose a version, check out all the versions here. For this tutorial I will choose the latest Ironwood release (tag name: open-release/ironwood.master). Define it to a variable:
Notes: The command above will need to be re-run after reboot because it is not a permanent variable
wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/ansible-bootstrap.sh -O - | sudo bash && wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/generate-passwords.sh -O - | bash && wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/native.sh -O - | bash
5.1 For a more detail view:
Notes: All the scripts is available at https://github.com/edx/configuration/tree/open-release/ironwood.master/util/install
5.1.1: Bootstrap to ansible
wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/ansible-bootstrap.sh -O - | sudo bash
5.1.2: Generate passwords for demo users/accounts
wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/generate-passwords.sh -O - | bash
5.1.3: Install and start Open edX to local machine
wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/native.sh -O - | bash
After all of that, your Open edX is available to access via your VM Ubuntu IP
- Get the IP using
Navigate to other page:
You can find the list of the default accounts here:
You have done it! 🎉🎉🎉