The last days we dedicated ourselves on the production of a series of video tutorials. Moodle running in a Virtual Box is an interesting Setup for small Institutions or for teachers, who want to develop their course locally on their computer.These Video tutorials is directed to Moodle users, who are not Ubuntu experts.
We used the Virtual Box 4.1.8, Ubuntu 11.10, Moodle 2.2, but you can install any version of Moodle you want, SSH, VNC, Webmin and phpMyAdmin for managing the Virtual Box.
We called this series Moodle in the box.
01 - Moodle in the Box - Create and Configure Virtual Box from falomundo on Vimeo
This tutorial shows you, how to create a new Virtual Box and how to configure it.
You have to download and install the Sun Virtual Box Software before.
02 - Moodle in the box - Ubuntu Install on the Virtual box from falomundo on Vimeo.
After the Setup of the Virtual box, we have to install the operating System. We installed the Ubuntu 11.10 Desktop, because of the GUI.
03 - Moodle in the box - LAMP install from falomundo on Vimeo.
After the installation of Ubuntu, we move on with the setup of the Webserver, better known as LAMP Stack.
A= Apache Webserver
Remember "apt-get install LAMP-Server^". The most important command for this Chapter.
04 - Moodle in the box - Moodle Install from falomundo on Vimeo.
The LAMP Server is up and running. Time to continue with the Moodle.
Moodle is a so called Course Management Software. Another term is Learning Management Software(LMS).
Basically, Moodle is a bunch of PHP Scripts and a Database.
We will use MySQL.
The Moodle installation is
-copy it into the apache Folder.
-run the install procedure.
-change some permissions.(the Moodle install routine will tell you)
-install some PHP extensions.(the Moodle install routine will tell you)
06 - Moodle in the box - phpMyAdmin and Webmin from falomundo on Vimeo.
We installed the "openSSH" and the "VNC" to get direct access to the Virtual Box.
Now we want to install management tools for the MySQL Database and the Server, running on the Virtual Box.
Therefore we install the Webbased MySQL Management tool “phpMyAdmin” and Server management tool “Webmin”.
So, I hope this is useful for somebody.
I use VirtualBox too for all sorts of testing. Virtualization is very practical in this case because I don't need additional hardware. But it also makes handing over a solution to an "end user" more complicated due to the additional abstraction layer. One can hide most of it, but it remains visible in the network configuration. For example, in the second half of your 3rd video, it appears as port-forwarding. You use NAT and forward the port 1080 of the host to port 80 of the VM.
I usually advice to use "bridged networking" so that the network interface of the VM is in the same LAN as the host network interface. As a result other computers in the LAN can communicate directly with the VM, no port-forwarding is necessary.
Just an idea.
Thank you for this comment,
You are right. With "Bridged Networking" the portforwarding becomes obsolete.
But we wanted to show NAT-Portforwarding, because in some situations, "bridged networking" is not possible.
For me, NAT-Portforwarding is better for experimental use, like a VBox on my Laptop, where i can connect to the VBox from the host wherever I want. With "bridged networking" i would need at least a loopback Networkconnection.
We mentioned the "bridged networking" for more static environment, where the network is stable. In this case, we showed the NAT-Portforwarding networking as an alternative.
or for a detailed discussion this article mentioned in the above presentation:
(I know, this is an old discussion. The references are still valid.)
I must say that I really don't like video tutorials as I never have time to watch them (as opposed to searching down a page of instructions). However, this is probably perfectly appropriate for your audience and I like the logical split of the topics.
One question... in the line 'sudo apt-get install lamp-server'. You advise that it is "very important to type a caret on the end" but don't say why it's important. I've never heard of that before and was intrigued to know what it does (and why it's important)?
Oh... and someone needs to find out how to pronounce Linux
"The caret symbol is a short form for performing a task that otherwise the program “tasksel” would have done with the given package name."
And of course, pronounce Linux can be a challenge.
(on a slightly different note, can you please tell me what software you used to create these fantastic tutorials?)
Great tutorial and videos!
One quick question though, after I added the :1080 to my config.php in the >wwwroot I can access it from outside the VM fine but he says I need to change the name of my wwwroot but doesn't explain any further.
That is why I advice bridged networking instead of NAT and port forwarding. See this post https://moodle.org/mod/forum/discuss.php?d=199542#p870555 above. Then the VM is in the same LAN with the host and other computers in that LAN.
If not clear, just ask!