You can easily Moodle into your Raspberry or Ubuntu. Just run this in a Terminal:sudo apt-get install moodle
The install process will ask you the mysql password and Moodle URL (use your real internal IP, this is important for the 3th issue)
Issues
If you have an error 404 try this:cd /var/www;sudo ln -s /usr/share/moodle
About the performance the CPU is balancing between 35% to 91% (average ~65%), with other services running (My Raspberry has 256MB).
I think is acceptable for a low number of students.
I installed Dokeos too, and FYI it's a little more fast and easy (CPU average ~45%).
You only will can access from localhost URL with this error message:
Incorrect access detected, this server may be accessed only through “http://localhost” address, sorry. Please notify server administrator
You can access from other URLs:/etc/moodle/apache.conf
and comment out the line:#allow from all
and restart Apache:sudo service apache2 restart