Difference between revisions of "Setting up Moodle"

From MMS Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
[https://www.digitalocean.com/community/tutorials/how-to-install-moodle-via-git-with-postgres-nginx-and-php-on-an-ubuntu-12-04-vps Set up Moodle on Nginx and PSQL]
 
[https://www.digitalocean.com/community/tutorials/how-to-install-moodle-via-git-with-postgres-nginx-and-php-on-an-ubuntu-12-04-vps Set up Moodle on Nginx and PSQL]
 +
 +
NB! for 16.04 you need alterations: php needs a new repo:
 +
sudo sudo add-apt-repository ppa:ondrej/php
 +
sudo apt-get update
 +
sudo apt-get install php5.6-fpm php5.6-apc php5.6-curl php5.6-gd php5.6-xmlrpc php5.6-intl php5.6-pgsql php5.6-mcrypt
 +
Also, conf is in /etc/php/5.6/ not /etc/php5/
 +
NGINX conf can be found in our repo in the file moodle_sites-available.conf
  
 
[https://docs.moodle.org/22/en/External_tool_settings Connecting to LTI]
 
[https://docs.moodle.org/22/en/External_tool_settings Connecting to LTI]

Revision as of 06:14, 16 May 2017

Run standard common, db, web infrastructure ansible scripts. Then follow:

Set up Moodle on Nginx and PSQL

NB! for 16.04 you need alterations: php needs a new repo:

sudo sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6-fpm php5.6-apc php5.6-curl php5.6-gd php5.6-xmlrpc php5.6-intl php5.6-pgsql php5.6-mcrypt 

Also, conf is in /etc/php/5.6/ not /etc/php5/ NGINX conf can be found in our repo in the file moodle_sites-available.conf

Connecting to LTI