Difference between revisions of "Setting up Moodle"

From MMS Wiki
Jump to: navigation, search
 
Line 6: Line 6:
 
  sudo sudo add-apt-repository ppa:ondrej/php
 
  sudo sudo add-apt-repository ppa:ondrej/php
 
  sudo apt-get update
 
  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
+
  sudo apt-get install php5.6-fpm php5.6-apc php5.6-curl php5.6-gd php5.6-xmlrpc php5.6-intl php5.6-mcrypt php5.6-pgsql php5.6-soap php5.6-mbstring php5.6-zip php5.6-xml
 
Also, conf is in /etc/php/5.6/ not /etc/php5/
 
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
 
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]

Latest revision as of 00:53, 30 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-mcrypt php5.6-pgsql php5.6-soap php5.6-mbstring php5.6-zip php5.6-xml

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