Installing edX on MXLinux Latest
This step-by-step tutorial will guide you through the process of installing edX on MXLinux Latest.
Prerequisites
Before proceeding with the installation, you must have the following prerequisites:
- Access to MXLinux Latest with administrative privileges
- Internet connection
Steps
Open the terminal by pressing CTRL+ALT+T.
Update the apt repository of MXLinux by entering the following command:
sudo apt update
- Install the required packages and dependencies by entering the following command:
sudo apt install build-essential git-core openjdk-8-jdk python2.7-dev python-virtualenv libfreetype6 libfreetype6-dev libssl-dev libxml2 libxml2-dev libxslt-dev libjpeg-dev zlib1g-dev
- Next, install and set up MongoDB by running the following commands:
sudo apt install mongodb
sudo systemctl start mongodb
sudo systemctl enable mongodb
- Create a virtual environment for edX by entering the following command:
virtualenv ~/edxapp
- Activate the virtual environment by entering the following command:
source ~/edxapp/bin/activate
- Clone the edX repository by running the following command:
git clone https://github.com/edx/edx-platform.git
- Navigate to the edx-platform directory by running the following command:
cd edx-platform/
- Install the Python dependencies required for edX by entering the following command:
pip install -r requirements/edx/base.txt
- Perform the initial set up by running the following command:
./edxapp_docker.sh dev stack
Wait for the installation to complete. This may take a while depending on your internet speed and system resources.
Once the installation is complete, access edX by opening a web browser and navigating to http://localhost:18000.
Log in using the default credentials:
- Username: [email protected]
- Password: edx
Conclusion
In this tutorial, we have successfully installed edX on MXLinux Latest. You can now start exploring the features and functionality of edX. Happy learning!