This tutorial outlines the steps required to install edX on your Fedora Server Latest.
Before we begin with the installation, let's update the system to ensure that all the packages are up-to-date. Open a terminal and run the following commands:
sudo dnf update
Enter your password when prompted and wait for the update to complete.
edX requires some mandatory dependencies to work properly. Install them by running the following command:
sudo dnf install git-core curl libxml2-devel libxslt-devel python3-django-compressor \
python3-lxml python3-markdown python3-packaging python3-pygments \
python3-six
Next, we need to install the Python Virtual Environment. This will allow us to create an isolated environment for edX to run in.
sudo dnf install python3-virtualenv
Clone the edX Git repository by running this command:
git clone https://github.com/edx/edx-platform.git
Create a Python virtual environment for edX by navigating to the cloned edx-platform
directory and running the command:
cd edx-platform/
python3 -m venv edxappenv
Activate the virtual environment by issuing this command:
source edxappenv/bin/activate
Now it's time to install edX by running the command:
pip install -r requirements/edx/base.txt
Next, we need to migrate the database. Run this command to do so:
python manage.py lms --settings=devstack migrate
Create a superuser account which will allow you to log in to the edX web interface:
python manage.py lms --settings=devstack create_user --superuser \
--email=<your_email_address> --password=<your_password>
Finally, start edX by running the command:
paver devstack lms
This command will start the edX system, and you can access it by navigating to http://localhost:8000/
in your web browser.
Congratulations! You have successfully installed edX on your Fedora Server Latest.
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!
Alternatively, for the best virtual desktop, try Shells!