Canvas LMS/Installation
From r00tedvw.com wiki
(Difference between revisions)
(→Download Git & Canvas) |
(→Download Git & Canvas) |
||
Line 30: | Line 30: | ||
~$ cd canvas | ~$ cd canvas | ||
~/var/canvas$ sudo git branch --set-upstream stable origin/stable | ~/var/canvas$ sudo git branch --set-upstream stable origin/stable | ||
− | ~/var/canvas$ sudo chown -R helpdesk /var/canvas -- | + | ~/var/canvas$ sudo chown -R helpdesk /var/canvas --- helpdesk just happens to be the name of this user. use your own |
==Download Ruby 1.9.3== | ==Download Ruby 1.9.3== |
Revision as of 11:53, 21 January 2014
Canvas - Learning Management Solution. Used by universities and schools.
Contents |
Requirements
In the simplest configuration, everything will be running off a single server.
- Recommended Hardware specifications
- Dual Core+ 3.0ghz+ or Dual processors
- 4GB+ RAM
- 60GB HDD
- 64-bit capable system
Software Requirments
Minium, Ubuntu 10.04 LTS+ server edition. Desktop will require more hardware than listed above.
Preferably Ubuntu 12.04 LTS
Download Database software
Postgres (Database)
~$ sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y autoremove ~$ sudo apt-get -y install postgresql-9.1
Configure Database
~$ sudo -u postgres createuser canvas -D -S -R -P ~$ sudo -u postgres createdb canvas_production --owner=canvas ~$ sudo -u postgres createdb canvas_queue_production --owner=canvas
Download Git & Canvas
~$ sudo apt-get -y install git-core ~$ cd /var ~$ sudo git clone https://github.com/instructure/canvas-lms.git canvas ~$ cd canvas ~/var/canvas$ sudo git branch --set-upstream stable origin/stable ~/var/canvas$ sudo chown -R helpdesk /var/canvas --- helpdesk just happens to be the name of this user. use your own
Download Ruby 1.9.3
You're going to have to add a repository because the version available through Ubuntu's US or Main repos is not up to date (at the time of this writing.
~/var/canvas$ sudo apt-get -y install python-software-properties ~/var/canvas$ sudo apt-add-repository ppa:brightbox/ruby-ng ~/var/canvas$ sudo apt-get update ~/var/canvas$ sudo apt-get -y install ruby1.9.3 zlib1g-dev libxml2-dev libmysqlclient-dev libxslt1-dev imagemagick libpq-dev nodejs libxmlsec1-dev libcurl4-gnutls-dev libxmlsec1 build-essential openjdk-7-jre
Download Ruby Gems
If you are behind a firewall, you're going to need to open up the following routes to complete this sections' installation instructions:
- 192.30.252.128:9418
- 192.30.252.129:9418
- 192.30.252.130:9418
- 192.30.252.131:9418
~/var/canvas$ sudo gem install bundler --version 1.3.5 ~/var/canvas$ bundle install --path vendor/bundle --without=sqlite
Download default config files from Amazon instance
~/var/canvas$ for config in amazon_s3 database \ delayed_jobs domain file_store outgoing_mail security external_migration do cp config/$config.yml.example config/$config.yml; done