openedx 安装
2016-01-28 11:37
337 查看
安装 cypress 版本:
最简易的方式
export OPENEDX_RELEASE=named-release/cypress
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/cypress
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/cypress certs_version=named-release/cypress forum_version=named-release/cypress xqueue_version=named-release/cypress'
建议
不要在edx_sandbox.yml添加insights和ecommerce,否则可能出现nodeenv错误。这两项功能目前还没完善
从指定任务开始:
sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," -e 'edx_platform_version=named-release/cypress certs_version=named-release/cypress forum_version=named-release/cypress
xqueue_version=named-release/cypress'
--start-at-task="edxapp | code sandbox | write out sandbox user sudoers config" //主要在这,双引号里为任务名
最简易的方式
export OPENEDX_RELEASE=named-release/cypress
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/cypress
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/cypress certs_version=named-release/cypress forum_version=named-release/cypress xqueue_version=named-release/cypress'
建议
不要在edx_sandbox.yml添加insights和ecommerce,否则可能出现nodeenv错误。这两项功能目前还没完善
从指定任务开始:
sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," -e 'edx_platform_version=named-release/cypress certs_version=named-release/cypress forum_version=named-release/cypress
xqueue_version=named-release/cypress'
--start-at-task="edxapp | code sandbox | write out sandbox user sudoers config" //主要在这,双引号里为任务名
相关文章推荐
- 《高级Bash脚本编程指南》十年来首次修订
- linux 驱动之 启动顺序
- 新浪云建立wordpress网站时遇到 “有没有上级目录的写权限?” 问题的解决
- Linux终端使用技巧
- linux 存储映射
- 电子书:《Docker入门实战》
- tomcat中设置session时间
- SharePoint 2013 重命名网站集名称(SharePoint 2013 rename site collection)
- HBase总结(二十)HBase经常使用shell命令具体说明
- iOS项目的架构分类
- linux-cat
- NGINX 用户权限
- tomcat7配置数据源异常---Cannot create JDBC driver of class '' for connect URL 'null'
- Linux之ss
- Linux学习笔记(三)--vim
- Java开发必会的Linux命令
- powershell玩转sqlite数据库
- CentOS RPM安装MySQL-5.6
- linux下redmine安装部署
- tomcat结合nginx使用