Step-by-step Install Guide for Ubuntu using apt-get
This install option will be useful for someone who is doing a new install on an ubuntu server install. We are assuming that 1) You have done your ubuntu install. 2) You have used apt-get update and apt-get upgrade to get the latest version. 3) You have a typical ubuntu server edition which just gives you the command line. 4) You have not enabled the root account and do not want to do that. 5) When you installed you opted to have a LAMP install and a mailserver.
First,
sudo apt-get install moodle
During the process that follows you will be asked for some names and passwords for the mysql and moodle accounts.
If you are using a remote terminal then it needs to be an reasoably capable one, otherwise the installation dialog may not be able to talk to you and you will get an error which mentions the limitations of your terminal.
One terminal that does work is the X terminal on a mac. (Not the terminal program that comes with a mac in the utilities folder but the Xterm that you will have if you installed open office).