Openedx platform installation and error resolution
Environment: Ubuntu 12.04 Server Edition (official recommended)
Memory:2GB CPU:2.00GHz HDD:25GB
Installation steps:
1, enter the root Authority, the newly installed system is available
sudo passwd root # reset root password
2. Update Source:
sudo apt-get update-y # update update source
sudo apt-get upgrade-y # install update software
sudo reboot # restart server
3. EdX Installation:
①sudo apt-get install-y build-essential software-properties-common python-software-properties Curl Git-core Libxml2-dev libxslt1-dev Libfreetype6-dev python-pip python-apt Python-dev
sudo pip install--upgrade pip
sudo pip install--upgrade virtualenv
② Installing edx configuration files
Cd/var/tmp
git clone-b release https://github.com/edx/configuration
③ Manually modifying Common_ssh_password_auth to "yes"
sudo vim configuration/playbooks/roles/common/defaults/main.yml
④ Installing the ansible required Software Environment
Cd/var/tmp/configuration
sudo pip install-r requirements.txt
⑤ Configuring the edx platform for installation
Cd/var/tmp/configuration/playbooks && sudo ansible-playbook-c local/edx_sandbox.yml-i "localhost,"
⑥ When the installation is complete check the service startup situation
Sudo/edx/bin/supervisorctl-c/edx/etc/supervisord.conf Status
Ssh Remote:
1. Install:sudo apt-get install Openssh-server
2. Start service: sudo service ssh start/stop
Sudo/etc/init.d/ssh restart
3. Working Status: NETSTAT-TLP
ps-c | grep ssh
4. Turn off the firewall? Sudo UFW Disable
5, Putty connection putty Software (win7) port number: connection:ssh
How to connect under Ubuntu: ssh [email protected]
View Local address: ifconfig-a
To create a super User:
Sudo su edxapp-s/bin/bash #step1
Cd ~ #step2
Source EDXAPP_ENV#STEP3
python/edx/app/edxapp/edx-platform/manage.py LMS Createsuperuser--settings AWS#STEP4
Follow the prompts to enter the super user name you want to create, register your email and password
Openedx platform installation and error resolution