- at least 5GB empty disk space and additional same disk space for backup
- at least 256MB RAM, recommended 1GB or more
- recommended operationg System Linux Distributions
- Apache Webserver, MYSQL Server
- at least PHP 5.4
- at least Firefox 4, IE 8, Safari 5 , Chrome 11 or Opera 9
- mysql-common, mysql-server-5.1, mysql-client
sudo apt-get update
sudo apt-get install php5
You can check your version of php via:
After the installation you have to start/restart Apache via:
sudo service apache2 start
Please make sure you don’t have any old processes of Apache still running. You can find out the process PID via:
Kill Processes: sudo kill -9 PID
This Path has to be used in the Configuration of the VHost. We have set up a folder BadgesProject in var/www/, inside of it is the downloaded, extracted folder moodle and we created a folder moodledata.
Additional you have to configure your MySQL-Database Server. Normaly you just have to type localhost/phpmyadmin into your preferred internetbrowser adressline to get access to the GUI for the Database Server. Login with the Data you configured while installing mysql and make a new Database called moodle_db.
Change into the View Rights and make a new User moodle. Be sure that you choose local for Hosts and mark the Option “Grant all Privileges to Databases beginning with username (username\_%)”. Similary you can just make a database user e.g. moodle with Hosts set to local and choose the Option “make database with same name and grant all privileges “, which is the simplest way.
Then you have to set up the rights on your local system for the project folder and especially for the folders moodle and the yet empty folder moodledata, for example:
sudo chmod 755 moodlefolder
If everything is configured right, you can navigate with the Browser to your virtual Serveradress e.g. moodle.badges-project.local and moodle will show up for installation. during the installation you will have to create an Admin Account for your Moodle Installation. You will have to remember this!