常见问题

eduStack发布的镜像的系统用户

用户名edustack,密码edustack.org


使用镜像的流程

在桌面安装VMware或者在服务器安装Vshpere,挂载镜像。如果有硬件问题改名为zip解压缩镜像,编辑硬件描述文件。

进入操作系统,修改ip。

修改配置文件中的参数,重启服务。


配置文件

/edx/app/edxapp/lms.env.json #|env文件 里包含一些功能开关
/edx/app/edxapp/cms.env.json #|
/edx/app/edxapp/lms.auth.json #|auth 文件包含一些密码 权限相关
/edx/app/edxapp/cms.auth.json #|


Open edX的LMS和CMS

LMS是用于学习的部分,CMS是用于创作课程的部分。CMS又称为Studio。


Open edX默认安装有哪些账号?

staff@example.com:edx 职员账号,管理所有课程

honor@example.com:edx

verified@example.com:edx

audit@example.com:edx


honor, verified, audit , staff 这四个用户有什么区别?

Honor

Users are automatically enrolled as “honor”. Honor code certificates are free of charge to all students and are available for all except a few specific courses.

An honor code certificate of achievement certifies that you have successfully completed a course, but does not verify your identity (ref).

Verified

You’ve verified your identity by using a webcam and an official ID from your country or region.

When you register for a course that offers a verified certificate you will be asked to submit your photo and a photo of an official ID through the use of a webcam. As your course progresses, you may be asked to re-verify your identity (ref).

Audit

When you audit a course, or you take a course that doesn’t offer verified certificates, you’ll automatically receive an honor code certificate if you meet the requirements to pass the course.

If you audit a verified certificate course and pass, you will not receive a verified certificate, but you can participate in any or all activities and exams.

Staff

Course staff can access additional, optional information when a learner creates their account (such as the level of education completed) to find out more about the learners who enroll in their courses.

Some courses include a wiki, which provides a public forum for both students and course staff to access, share, and collaboratively edit information about the course (ref).

 

https://github.com/edx/edx-documentation/blob/master/en_us/data/source/internal_data_formats/sql_schema.rst

mode

String indicating what kind of enrollment this is: audit, honor, professional, verified, or blank.

History:

  • On 1 Dec 2015, the “audit” value was reintroduced. This value now identifies learners who choose an enrollment option that is not certificate eligible.
  • On 23 Oct 2014, the “audit” value was deprecated.
  • On 29 Sep 2014, the “professional” and “no-id-professional” values were added for courses on edx.org.
  • On 20 Aug 2013, the “audit” and “verified” values were added.
  • All enrollments prior to 20 Aug 2013 were “honor”.

https://github.com/edx/edx-documentation/blob/master/en_us/install_operations/source/ecommerce/create_products/create_course_seats.rst

For Course Type, select a course type and the options for that course type.

  • If you select Free (Audit), you must specify whether you want to allow honor code learners to earn an honor code certificate. To do this, select Yes under Include Honor Seat.
  • If you select Verified, you must add the following information.
    • Price (in USD)
    • Upgrade Deadline
    • Verification Deadline
    • Include Honor Seat: This option grants honor code certificates to learners who successfully complete the course.
  • If you select Professional Education, you must add the following information.
    • Price (in USD)
    • ID Verification Required?
    • Upgrade Deadline
    • Verification Deadline: This option is required if you select Yes for ID Verification Required?
  • If you select Credit, you must add the following information.
    • Price (in USD): The price for a verified certificate.
    • Upgrade Deadline
    • Credit Provider
    • Price (USD): The price for course credit.
    • Credit Hours
    • Upgrade Deadline
    • Verification Deadline
    • Include Honor Seat: This option grants honor code certificates to learners who successfully complete the course.

https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/named-release-birch/running_course/course_enrollment.html

The total number of current enrollees is shown as the sum of the number of people who selected each of the certification tracks (verified, audit, or honor) that are available for your course.

To view the enrollment count for a course:

  1. View the live version of your course.
  2. Click Instructor, then click Course Info if necessary.
The Enrollment Information section of the page that opens shows the number of people who are currently enrolled in your course and in each of the certification tracks.

https://edx.readthedocs.io/projects/open-edx-learner-guide/en/named-release-cypress/SFD_certificates.html

Different types of certificates might be available for courses you take: for example, “honor code” or “verified”. You select the certificate type you want when you register for a course.

Honor code and verified certificates show that you have completed a single honor code or verified course.

The type of certificate appears in a color-coded tag under the course image on your dashboard:


Open edX的学生,教师,管理员账号是什么?

默认情况下,Open edX中的所有用户都可以进入LMS学习,进入CMS添加课程,这种情况下学生账户和教师账户是没有区别的。

可以对CMS设置特殊的进入权限,如密码和审核,此时这部分特殊权限的用户是教师。创建课程的用户即自动成为本课程的教师,也可以在CMS添加别的用户成为本课程教师。

一个教师账号可以管理若干门课程,一个课程也可以有若干位教师。教师功能包括在CMS进行课程内容管理以及LMS的部分特殊教师功能。

Open edX有一个特殊的Staff账号,可以管理所有的课程(教师只能管理自己建立的课程)。这个账号称为课程管理员。

Open edX使用Django框架开发,因此Django Admin可以管理一些系统级别的设置,不过一般的使用者不需要设置这个级别。


edxapp和root的密码是什么?

因为安全因素,这两个账号没有设置密码。

可以通过sudo来获得这两个用户的身份,如sudo -u edxapp


Open edX支持中文吗?

Open edX支持74种语言,其中包括中文。

切换到中文的方法为:(其他语言可以对应此方法)

1.切换至edxapp账户并加载环境变量
sudo -u edxapp bash
source /edx/app/edxapp/edxapp_env

2.删除现有语言包并上传新语言包
cd /edx/app/edxapp/edx-platform/conf/locale/zh_CN/
rm -rLC_MESSAGES/
git clone https://github.com/edx/edx-platform/tree/master/conf/locale/zh_CN/LC_MESSAGES

3.执行翻译
cd /edx/app/edxapp/edx-platform
paver i18n_fastgenerate

4.修改配置文件并重启服务

编辑/edx/app/edxapp/目录下的lms.env.json和cms.env.json,修改

“LANGUAGE_CODE”: “zh-cn”,

然后重启edxapp服务

sudo /edx/bin/supervisorctl restart edxapp:


RabbitMQ问题如何解决

部署共享镜像后,请执行

sudo rabbitmqctl list_users

查看有几个用户

另外执行

sudo rabbitmqctl list_permissions -p /

查看用户的权限。

正常情况下,rbbitMQ应该有三个用户:

RABBIT_USERS:

  • name: ‘admin’ password: ‘the example admin password’

  • name: ‘edx’ password: ‘edx’

  • name: ‘celery’ password: ‘celery’

如果这三个用户不存在,请仿照如下命令创建用户

sudo rabbitmqctl add_user admin admin

sudo rabbitmqctl add_user edx edx

sudo rabbitmqctl add_user celery celery

仿照如下命令创建用户权限

sudo rabbitmqctl set_permissions -p / admin “.” “.” “.*”

sudo rabbitmqctl set_permissions -p / edx “.” “.” “.*”

sudo rabbitmqctl set_permissions -p / celery “.” “.” “.*”

最后重启rabbitMQ

sudo service rabbitmq-server restart


Open edX有题库吗?

教师可以对单个课程设置知识库,知识库包括试题,知识库的内容可以在课程中重用。

但是这种重用只能手工设置,也就是一种手工的题库,不支持自动化组卷。


Open edX支持自适应学习吗?

不支持。

但是Open edX的Cohorts功能可以为不同小组设置不同的学习路径,小组成员可以手工或者自动随机设定

http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/course_features/cohorts/cohort_config.html


Open edX支持SCROM吗?


Open edX能存储和管理课程视频吗?

不能。Open edX仅仅是一个学习管理系统,提供一个播放器。可以将视频存储在外部服务器或者视频云,然后在Open edX中播放。

例如edx.org将视频存储在Youtube,学堂在线将视频存储在CC视频。


Open edX支持多少用户同时在线?

根据华中师范大学团队的测试,单节点的Open edX(edustackOVA)可以支持500个并发;5个节点分布式的Open edX可以支持1000个并发。

如果对前端edxapp和mysql/mongo做分布的话,理论上可以支持上万并发,即数百万用户。


Open edX能不能做直播?

Open edX支持定制学习模块Xblock,可以自己开发和第三方直播平台对应的模块来进行直播。

http://edx.readthedocs.io/projects/xblock-tutorial/en/latest//


视频解决方案

  • 本地自建视频web服务器
    用户自行部署Linux服务器和Web服务,推荐组合Centos+Ngnix
    也可以使用我们的Ngnix静态web服务器镜像
    将mp4视频通过sftp存到服务器,将http路径配置到edX后端
  • 使用外部视频服务提供商
    把视频传到 优酷 56 乐视 等视频服务商,这个时候用定制插件
    注册视频网站-获得api-填入cms插件配置
    在CMS后台上传视频
    我们提供的插件
    56开源
    用乐视的基本上都是企业客户,所以半开源
    用CC或者其他则闭源

邮件解决方案

自建SMTP服务器

http://get.ftqq.com/97.get

邮件发送服务商

针对触发型邮件,即会员注册、修改密码等,而不是群发的营销邮件。

国内 sendcloud  阿里云邮件推送

国外 Mailgun


一些特定功能的配置

多站点  http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/sites/index.html

主题 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/changing_appearance/index.html

自定义注册用户字段 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/customize_registration_page.html

设定注册邮件模板 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/config_allowed_regis_emails.html

CourseTalk组件 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/add_coursetalk_widget.html

课程搜索 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/edx_search.html

徽章 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/edx_search.html

证书 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/enable_certificates.html

自定义课程  http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/enable_ccx.html

入学考试  http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/enable_entrance_exams.html

开放性响应评估  http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/ora2/index.html

先修课程 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/enable_prerequisites.html

课程和视频版权  http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/enable_licensing.html

LTI提供者  http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/lti/index.html

社会化分享 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/enable_socialsharing_icons.html

第三方认证 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/tpa/index.html

限时考试 http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/enable_timed_exams.html

安装Xblock http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/install_xblock.html

课程资源CDN http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/static_replace/cdn.html