openedx平台搭建过程整理一下,以作记录
想在校内搭建一个MOOC慕课平台,经比较,选择开源的openedx系统,开始安装之旅,本想会很顺利,想不到一个星期才搞掂,主要原因还是网速和哪堵墙。
试过三种方法:
1. 下载安装配置好的虚拟机文件,直接加载到虚拟机
网址1: https://bitnami.com/stack/edx/virtual-machine
网址2:http://edustack.org/manual/edx/ova-download/
以下内容从以上网址1截取
-
Virtual Machines compatible with Oracle VirtualBox and VMware vSphere, Workstation, and Fusion
这个方法最简单,但下载流量大,系统配置灵活性差,不是我的风格,尝试了后就删掉了
2. 从github获取源码安装
网址:https://github.com/edx/configuration
安装方法参考网址:https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/146440579/Native+Open+edX+Ubuntu+16.04+64+bit+Installation
环境:Ubuntu server 16.04 64bit
命令序列:
sudo
apt
-
get
update
-
y
sudo
apt
-
get
upgrade
-
y
sudo
reboot
#
1. Set the OPENEDX_RELEASE variable:
export
OPENEDX_RELEASE
=
the
-
tag
/
you
-
want
-
to
-
install
#
2. Bootstrap the Ansible installation:
wget
https:
/
/
raw.githubusercontent.com
/
edx
/
configuration
/
$OPENEDX_RELEASE
/
util
/
install
/
ansible
-
bootstrap.sh
-
O
-
|
sudo bash
#
3. (Optional) If this is a new installation, randomize the passwords:
wget
https:
/
/
raw.githubusercontent.com
/
edx
/
configuration
/
$OPENEDX_RELEASE
/
util
/
install
/
generate
-
passwords.sh
-
O
-
|
bash
#
4. Install Open edX:
wget
https:
/
/
raw.githubusercontent.com
/
edx
/
configuration
/
$OPENEDX_RELEASE
/
util
/
install
/
sandbox.sh
-
O
-
|
bash
安装了无数次,有无数的坑,每次安装卡在不同的地方,主要是网速和墙的问题,无数次满怀希望,无数次接近成功,最后都没走到最后,还是放弃了,建议大陆的电脑慎走此路。
3. 用bitnami的一键安装包
地址:https://bitnami.com/stack/edx/installer
良心制作,把需要的各种基础软件都配置好了,打包在一个文件包里,下载后一次安装即顺利完成
以下是网址内容copy:
Open edX Installers
Bitnami native installers automate the setup of a Bitnami application stack on Linux. Each installer includes all of the software necessary to run out of the box (the stack). The process is simple; just download, click next-next-next and you are done! Bitnami stacks are completely self contained and will not interfere with other software on your system. Learn more »
另文再介绍简要修改配置和界面,最后上两图为证