Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Step-by-step Installation Guide for Ubuntu.

Talk:Step-by-step Installation Guide for Ubuntu: Difference between revisions

From MoodleDocs
(→‎Easier Way: new section)
Line 65: Line 65:


and it will install moodle and take care of all the dependencies for you. --[[User:David Somers-Harris|David Somers-Harris]] 07:31, 3 October 2009 (UTC)
and it will install moodle and take care of all the dependencies for you. --[[User:David Somers-Harris|David Somers-Harris]] 07:31, 3 October 2009 (UTC)
== Easier Way - really? ==
I expect it is true that a simple Moodle installation will deal with the SQL and Apache dependencies, but since I am already almost through these instructions, it is a bit late dto discover. I expect if I now run 'sudo apt-get install moodle' I will get loads of unable to create database responses caused by the arrangements I have already setup. Is there no way of giving your comment  higher profile.
I am going to try 'sudo apt-get install moodle' and see what chaos it now causes.

Revision as of 10:12, 14 October 2009

I hope this shows how easy it is to setup an Ubuntu Moodle test server. I'll be adding more to this page as time progresses.

Mikel Stous 00:01, 24 January 2007 (CST)

I just spent 2 days trying to make moodle work with edubuntu gutsy. The package comes on the install CD, but after installing from synaptic all I got at the http://localhost/moodle/admin screen was a blank page. The secret is, after installing edubuntu, to configure a standard LAMP server. I did it like this:

launch aptitude

sudo aptitude

from a command line. Use the navigation arrows to tasks, hit enter, navigate to LAMP server, hit + g g .

It will download a whole lot of extra packages and when you go to http://localhost/moodle/admin all will be well. --Quinton Reissmann 04:42, 16 November 2007 (CST)

---

There might be some problems here.

They are pretty out of date. If you are using Gutsy, run "sudo tasksel" to install the LAMP server stuff.

Also, I think people should make a mysql user and database just for moodle instead of using the root mysql password. Your instructions also grant access to the moodle database for all mysql users. Really it's just easiest to use phpmyadmin to configure mysql.

In phpmyadmin, just click on Privileges, then create a new user with a name like 'moodledatabase', and check 'create a database with the same name.'

Also, the instructions say "replace /var/www/ with /var/www/moodle/" in the apache conf files. That's only necessary if you want moodle to be the default homepage for your website.

The easiest way to have the correct php settings is to run this command:

sudo cp /usr/share/doc/php5-common/examples/php.ini-recommended /etc/php5/apache2/php.ini

People using the moodle package from ubuntu realize it is months out of date and may have bugs. For example, the current package doesn't include php5-ldap when you install it.

Also the instructions here forget about the configuring part, and the part about setting up Cron, see: https://docs.moodle.org/en/Installation_Quickstart https://docs.moodle.org/en/Installing_Moodle https://docs.moodle.org/en/Cron

"

  1. Go to http://yourserver/install.php or http://yourserver/subfolders/install.php to start the installation
  2. Download the config.php file from your webserver and place in the moodle root if prompted "

"

Lastly, there's no mention in the docs, but you either need to install a mail server, or go to Site Administration->Server->Email and put in info about an outside smtp server to use, otherwise no one will be able to login to your site (if you have email-based registration).

Instead of command line mysql administration you could phpmyadmin. I will write a guide in the followink days how to install and configure phpmyadmin and create a moodle db.(KOS), March. 20, 2008 - Moodlerooms Assignment)

On 2.6 Install Moodle

It says to edit lines five and ten. Lines five and ten in what file? My best guess is httpd.conf, but shouldn't it say so? --Richard Enison 14:59, 6 May 2008 (CDT)

Easier Way

You know now you can just do

sudo apt-get install moodle

and it will install moodle and take care of all the dependencies for you. --David Somers-Harris 07:31, 3 October 2009 (UTC)

Easier Way - really?

I expect it is true that a simple Moodle installation will deal with the SQL and Apache dependencies, but since I am already almost through these instructions, it is a bit late dto discover. I expect if I now run 'sudo apt-get install moodle' I will get loads of unable to create database responses caused by the arrangements I have already setup. Is there no way of giving your comment higher profile.

I am going to try 'sudo apt-get install moodle' and see what chaos it now causes.