Installing Moodle is easy. First of all make sure that you have Apache, MySQL (or PostgreSQL), and PHP installed and configured on your system. On Ubuntu, you would type the following to install these applications:
$ sudo install apache2
$ sudo install mysql-server
$ sudo install php5
$ sudo install php5-mysql
php5-mysql is required enable connectivity between PHP5 and MySQL. Create a MySQL root password for your database. Then install Moodle.
$ sudo install moodle
Follow the instructions. Once installation is complete, open your browser and go to http://localhost/moodle/admin. Follow instructions and voila! Moodle is ready to use.
If you get a "Forbidden Page" error, edit /etc/moodle/apache.conf and add the following line above allow from localhost:
Allow from *
Allow from localhost
For more info on installing Moodle, go to http://docs.moodle.org/en/Installing_Moodle
Problem with Moodle 1.9.4 Installation on Ubuntu 10
Using: Ubuntu 10, Moodle 1.9.4, PostgreSQL
I installed Moodle using synaptic but the installation always ended with http://localhost/moodle/user/editadvanced.php?id=2 giving a blank page. Finally, I had to install Moodle from source. It is not that difficult:
1. Download tgz file from Moodle
2. gunzip < moodle.x.x.tgz | tar xvf -
3. mv moodle directory to a place in the webroot or have apache point to it
4. http://localhost/moodle/install.php
5. Follow instructions
Cracking Moodle Admin Password
Installation went fine but my username/password isn't working on Moodle. I tried several times!! Logged into psql and update mdl_user set password = 'd41d8cd98f00b204e9800998ecf8427e' where username like 'admin'; It sets the pass to an empty string. Was able to log in with admin and no password.