openedx平台搭建过程整理一下,以作记录
想在校内搭建一个MOOC慕课平台,经比较,选择开源的openedx系统,开始安装之旅,本想会很顺利,想不到一个星期才搞掂,主要原因还是网速和哪堵墙。
试过三种方法:
1. 下载安装配置好的虚拟机文件,直接加载到虚拟机
网址1: https://bitnami.com/stack/edx/virtual-machine
网址2:http://edustack.org/manual/edx/ova-download/
以下内容从以上网址1截取

Version
Size
Checksum
Open edX ficus.3-4 (64-bit)
2 GB
<a target="_blank" href="https://bitnami.com/stack/edx/virtual-machine#">show</a>
<a target="_blank" href="https://bitnami.com/redirect/to/159737/bitnami-edx-ficus.3-4-linux-debian-8-x86_64.ova">Download</a>
这个方法最简单,但下载流量大,系统配置灵活性差,不是我的风格,尝试了后就删掉了
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
命令序列:
<code>sudo apt</code><code>-</code><code>get update </code><code>-</code><code>y</code>
<code>sudo apt</code><code>-</code><code>get upgrade </code><code>-</code><code>y</code>
<code>sudo reboot</code>
<code># 1. Set the OPENEDX_RELEASE variable:</code>
<code>export OPENEDX_RELEASE</code><code>=</code><code>the</code><code>-</code><code>tag</code><code>/</code><code>you</code><code>-</code><code>want</code><code>-</code><code>to</code><code>-</code><code>install</code>
<code># 2. Bootstrap the Ansible installation:</code>
<code>wget https:</code><code>/</code><code>/</code><code>raw.githubusercontent.com</code><code>/</code><code>edx</code><code>/</code><code>configuration</code><code>/</code><code>$OPENEDX_RELEASE</code><code>/</code><code>util</code><code>/</code><code>install</code><code>/</code><code>ansible</code><code>-</code><code>bootstrap.sh </code><code>-</code><code>O </code><code>-</code> <code>| sudo bash</code>
<code># 3. (Optional) If this is a new installation, randomize the passwords:</code>
<code>wget https:</code><code>/</code><code>/</code><code>raw.githubusercontent.com</code><code>/</code><code>edx</code><code>/</code><code>configuration</code><code>/</code><code>$OPENEDX_RELEASE</code><code>/</code><code>util</code><code>/</code><code>install</code><code>/</code><code>generate</code><code>-</code><code>passwords.sh </code><code>-</code><code>O </code><code>-</code> <code>| bash</code>
<code># 4. Install Open edX:</code>
<code>wget https:</code><code>/</code><code>/</code><code>raw.githubusercontent.com</code><code>/</code><code>edx</code><code>/</code><code>configuration</code><code>/</code><code>$OPENEDX_RELEASE</code><code>/</code><code>util</code><code>/</code><code>install</code><code>/</code><code>sandbox.sh </code><code>-</code><code>O </code><code>-</code> <code>| bash</code>
安装了无数次,有无数的坑,每次安装卡在不同的地方,主要是网速和墙的问题,无数次满怀希望,无数次接近成功,最后都没走到最后,还是放弃了,建议大陆的电脑慎走此路。
3. 用bitnami的一键安装包
地址:https://bitnami.com/stack/edx/installer
良心制作,把需要的各种基础软件都配置好了,打包在一个文件包里,下载后一次安装即顺利完成
以下是网址内容copy:
<a target="_blank" href="https://bitnami.com/launch/edx">DEMO IN BROWSER</a>
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
<a target="_blank" href="https://bitnami.com/stack/edx/README.txt">Readme</a>
<a target="_blank" href="https://bitnami.com/stack/edx/changelog.txt">Changelog</a>
<a target="_blank" href="https://docs.bitnami.com/installer/apps/edx/">Documentation</a>

1 GB
<a target="_blank" href="https://bitnami.com/stack/edx/installer#">show</a>
<a target="_blank" href="https://bitnami.com/redirect/to/159733/bitnami-edx-ficus.3-4-linux-x64-installer.run">Download</a>
另文再介绍简要修改配置和界面,最后上两图为证