PowerPoint Presentation:
This walk through covers installing Moodle using Git on a Ubuntu server. You will need the following to complete the installation Command line access to the Ubuntu server Login with sudo access Proxy server settings Prerequisites
PowerPoint Presentation:
Installing Git via the C ommand L ine Install git from the command prompt line interface and follow prompts sudo apt-get install git-core If you are required to use an unauthenticated proxy to connect to the internet, you will need to configure git as follows:- sudo git config --global http.proxy http://[url]:[port] For a authenticated proxy, you will need to configure git as follows:- sudo git config --global http.proxy http://[user]:[password]@[url]:[port]
PowerPoint Presentation:
Installing Moodle using Git At the command prompt run the following and follow prompts cd / var /www sudo git clone http://github.com/moodle/moodle.git cd moodle For Moodle 1.9 sudo git branch –track local_19_STABLE origin/MOODLE_19_STABLE sudo git checkout local_19_stable sudo git branch –d master For Moodle 2.0 sudo git branch –track local_20_STABLE origin/MOODLE_20_STABLE sudo git checkout local_20_stable sudo git branch –d master For Moodle 2.1 sudo git branch –track local_21_STABLE origin/MOODLE_21_STABLE sudo git checkout local_21_stable sudo git branch –d master Notes The github.com direct mirror of the official Moodle repository is used as this can be accesses over http. http is used as there can be firewall issue when using git on its default port of 9418.
PowerPoint Presentation:
Updating Moodle using Git At the command prompt run the following and follow prompts cd / var /www/ moodle sudo git pull