Installation problem on Linux Ubuntu 15.04 (standalone)

Installation problem on Linux Ubuntu 15.04 (standalone)

by CJ Moore -
Number of replies: 5

Good day,


could someone please assist me in getting moodle to work on ubuntu 15.04 in standalone functionality. Every post I have tried when it comes to the command for cloning it fails, this is obviously because this part is designed for the web server. Could some one please assist in getting me to run in as a stand alone.

Average of ratings: -
In reply to CJ Moore

Re: Installation problem on Linux Ubuntu 15.04 (standalone)

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Can you tell us exactly what you have done and what you are trying?  What do you mean by standalone? 

What are you trying to clone?  Are you trying to migrate from another server?

In reply to Emma Richardson

Re: Installation problem on Linux Ubuntu 15.04 (standalone)

by CJ Moore -

Good day Emma,


Moodle itself exists within the application store of Ubuntu. Having tried to install it from there it did not work.


The current purpose for having it installed is for my mother. She is a lecturer at Unisa. She has a backup mbz file that she wishes to be able to view and requires moodle to do this. The current problem that I have found is that although moodle has a standalone capability (not requiring the webserver) for windows and OSX i cannot seem to be able to get it to do standalone functionality on Ubuntu just to view the mbz file.

Each time i get to a specific step, which is a form of cloning for moodle using the git command it returns with an error. Please find the steps below supplied by moodle for the installation. I have put an asterix at the point where the installation fails.


sudo apt-get install vim
sudo apt-get update
sudo apt-get install apache2 mysql-client mysql-server php5
sudo apt-get install graphviz aspell php5-pspell php5-curl php5-gd php5-intl php5-mysql php5-xmlrpc php5-ldap clamav
sudo service apache2 restart
sudo apt-get install git-core
cd /opt

*sudo git clone git://git.moodle.org/moodle.git
It is at this point that the installation fails.


Is there a way of getting the moodle application to work without it requiring a webserver, just to view mbz files.


Thanks and regards,

In reply to CJ Moore

Re: Installation problem on Linux Ubuntu 15.04 (standalone)

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

does it fail with an error message?

In reply to CJ Moore

Re: Installation problem on Linux Ubuntu 15.04 (standalone)

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Have you looked at Moodle cloud?  Free moodle hosting that will allow you to restore your course.

The short answer to your question is that you do need a web server - you don't need to publish your site to the world but you need php and apache to get it running.

If you install is failing at git, just download the current code from the downloads section and copy it to your www folder.  Create your moodledata folder and database and then make sure that you have correct permissions set.  Look at the directions linked to.

Average of ratings: Useful (2)