Installation on Ubuntu using Git
From MoodleDocs
Introduction
This is probably an unrealistic scenario but it stemmed from a question asked in the forums and the results might be useful to others. This was done on Mythbuntu 10.10. Mythbuntu is one of the Ubuntu derivatives, in this case providing a Linux based TV package. It comes with PHP, Apache and MySQL installed having its own web-based controller.
There was no intention to provide a fully secured production server. This just gets basic Moodle working on 'localhost'.