#Dogwood Dogwood是Open edX的第四个稳定版本,该版本相关的特性可以参考@MT的Open edX DogWood版本特性

目前Dogwood还是rc版,估计要本月中旬才会有最终稳定版

#最简易的方式

1
2
export OPENEDX_RELEASE=named-release/dogwood.rc
wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/sandbox.sh -O - | bash

#分步安装 * sudo apt-get update -y * sudo apt-get upgrade -y * sudo reboot * 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 libxmlsec1-dev swig * sudo pip install –upgrade pip * sudo pip install –upgrade virtualenv * cd /var/tmp * git clone https://github.com/edx/configuration * cd /var/tmp/configuration * git checkout named-release/dogwood.rc * sed -i “/COMMON_SSH_PASSWORD_AUTH/c COMMON_SSH_PASSWORD_AUTH: \“yes\“” playbooks/roles/common/defaults/main.yml * sudo pip install -r requirements.txt * cd /var/tmp/configuration/playbooks * sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," -e 'edx_platform_version=named-release/dogwood.rc certs_version=named-release/dogwood.rc forum_version=named-release/dogwood.rc xqueue_version=named-release/dogwood.rc'

#问题与解决方法 * pkg_resources.DistributionNotFound: paramiko * 解决方法:sudo pip install -U setuptools
* mysql_config not found * 解决方法: sudo apt-get install libmysqlclient-dev

#青云 如果在青云上安装:

1
2
3
4
5
:::text
vim /etc/default/grub
change "apparmor=1"
sudo update-grub
reboot