**安装说明

**在Ubuntu上安装OpenEDX 20.04 **

首先,通过运行以下命令来更新Ubuntu软件包。

$ sudo apt-get update -y
$ sudo apt-get upgrade -y
$ sudo reboot

运行下面的命令以设置OpenEDX_Release变量。

$ export OPENEDX_RELEASE=open-release/lilac.1

创建一个config.yml文件并指定LMS&Studio的主机名。

EDXAPP_LMS_BASE: "online.myeducation.org"
EDXAPP_CMS_BASE: "studio.online.myeducation.org"

运行以下命令以进行安装。

$ wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/ansible-bootstrap.sh -O - | sudo -E bash 

生成随机密码并保存my-passwords.yml文件

$ wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/generate-passwords.sh -O - | bash

运行下面的命令以安装OpenEDX。这需要时间,因此您需要保持耐心。

$ wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/native.sh -O - | bash
 简体中文