forked from openedx-unsupported/configuration
-
Notifications
You must be signed in to change notification settings - Fork 1
edX Mint 16 Installation
giabao edited this page Jan 2, 2014
·
2 revisions
This guide is based on edX Ubuntu 12.04 Installation. You should follow the guide there and use this as a troubleshooting.
after run:
sudo pip install -r requirements.txt
run:
sudo pip install -U ansible
to update ansible (current version is 1.4.3)
Then change /usr/share/ansible/packaging/apt_repository:
289a290,292
> def _codename(self):
> return distro.codename
>
298c301
< line = 'deb http://ppa.launchpad.net/%s/%s/ubuntu %s main' % (ppa_owner, ppa_name, distro.codename)
---
> line = 'deb http://ppa.launchpad.net/%s/%s/ubuntu %s main' % (ppa_owner, ppa_name, self._codename())
310c313
< file = file or self._suggest_filename('%s_%s' % (line, distro.codename))
---
> file = file or self._suggest_filename('%s_%s' % (line, self._codename()))
323a327,340
> class MintSourcesList(UbuntuSourcesList):
> CODENAME_MAP = {
> 'petra': 'saucy',
> 'olivia': 'raring',
> 'nadia': 'quantal',
> 'maya': 'precise',
> 'lisa': 'oneiric',
> 'katya': 'natty'
> }
>
> def _codename(self):
> return self.CODENAME_MAP[distro.codename]
>
>
353a371,372
> elif distro.id == 'LinuxMint':
> sourceslist = MintSourcesList(add_ppa_signing_keys_callback=get_add_ppa_signing_key_callback(module))
If you had installed mariadb => need complete remove it (complete remove => remove all config file in /etc)
mysqladmin -u root -pYourPassword password ''
node_modules/.bin/coffee --compile `find lms/ cms/ common/ -type f -name *.coffee`
/usr/bin/env: node: No such file or directory
rake aborted!
=> need:
cd /usr/bin && sudo ln -s nodejs node
You can add the follwing args to ansible-playbook to speedup the install process:
--forks=12 --start-at-task=<task_name>
And/Or: remove all update_cache=yes
in configuration/playbooks/roles/