Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
a827ef97
Commit
a827ef97
authored
Oct 19, 2015
by
Fred Smith
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2291 from louyihua/fix-install-failure
Fix various installation failures
parents
dac52925
82a4e1f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
+13
-1
util/install/sandbox.sh
+13
-1
No files found.
util/install/sandbox.sh
View file @
a827ef97
...
...
@@ -17,6 +17,12 @@ if [[ ! "$(lsb_release -d | cut -f2)" =~ $'Ubuntu 12.04' ]]; then
fi
##
## Set ppa repository source for gcc/g++ 4.8 in order to install insights properly
##
sudo
apt-get install
-y
python-software-properties
sudo
add-apt-repository ppa:ubuntu-toolchain-r/test
##
## Update and Upgrade apt packages
##
sudo
apt-get update
-y
...
...
@@ -25,10 +31,16 @@ sudo apt-get upgrade -y
##
## Install system pre-requisites
##
sudo
apt-get install
-y
build-essential software-properties-common python-software-properties curl git-core libxml2-dev libxslt1-dev python-pip python-apt python-dev
sudo
apt-get install
-y
build-essential software-properties-common python-software-properties curl git-core libxml2-dev libxslt1-dev python-pip python-apt python-dev
libxmlsec1-dev libfreetype6-dev swig gcc-4.8 g++-4.8
sudo
pip install
--upgrade
pip
sudo
-H
pip install
--upgrade
virtualenv
##
## Update alternatives so that gcc/g++ 4.8 is the default compiler
##
sudo
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-4.8 50
sudo
update-alternatives
--install
/usr/bin/g++ g++ /usr/bin/g++-4.8 50
## Did we specify an openedx release?
if
[
-n
"
$OPENEDX_RELEASE
"
]
;
then
EXTRA_VARS
=
"-e edx_platform_version=
$OPENEDX_RELEASE
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment