Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Step-by-step Install Guide for Ubuntu using apt-get.

Talk:Step-by-step Install Guide for Ubuntu using apt-get

From MoodleDocs

Note: Excuse the poor word choice of this page. Install is a verb, not a noun or adjective. The correct title for the page should be "Installation Guide," not "Install Guide." (Software geeks are not known for proper grammar, spelling, or word choice.)

The official moodle repository seems to be lagging significantly: it's still (jan 2009) on moodle version 1.8.2, where the latest stable build on moodle.org is 1.9.2. While that is the case, the package manager install route (either apt-get, synaptic or whatever) is not going to be ideal ... --Barry McMullin 10:41, 24 January 2009 (CST)

Install on Remote or headless server

I think the article should mention that the /etc/moodle/config.php file needs to be edited to change the webroot statement. It was very frustrating to be working on a server install with no GUI/webbrowser to perform initial configuration.

$CFG->wwwroot = 'http://localhost/moodle';

to reflect the address or fqdn of the server

$CFG->wwwroot = 'http://192.168.1.2/moodle';


Configuration changes

The configuration changes section on this page:

  https://docs.moodle.org/20/en/Step-by-step_Install_Guide_for_Ubuntu_using_apt-get

Reads as follows:


"Allow access to your Moodle from other computers

This moodle install will only work from the localhost. To make it accessible from other hosts you must edit the file /etc/apache2/conf.d/moodle. Type

sudo nano /etc/apache2/conf.d/moodle

(This is actually a soft link from /etc/moodle/apache.conf)..."


This assumes that the soft link exists when indeed it does not. In the section dealing with virtual hosts, an explicit step is defined to create the soft link (sudo ln -s /etc/apache2/sites-available/moodlevirtualhost /etc/apache2/sites-enabled).

Likewise, the following step should be included in the configuration changes section:

sudo ln -s /etc/moodle/apache.conf /etc/apache2/conf.d/moodle

--Jake Hammerschmitt 08:01, 13 October 2011 (WST)