#contents *Prerequisite [#m08e7d3d] -Ubuntu Server installation (You can refer [[HowToUse/UbuntuServer/14.04]]) -Apache Server installation (You can refer [[HowToUse/Apache/2.4]]) -PostgreSQL installation (You can refer [[HowToUse/PostgreSQL/9.3]]) *Install&Setup [#l55f6514] :Step.1| Get sourcecode from git server. $ cd /var/www/html $ git clone --depth=1 -b MOODLE_29_STABLE git://git.moodle.org/moodle.git $ sudo chown -R root moodle $ sudo chmod -R 0755 moodle $ sudo find moodle -type f -exec chmod 0644 {} \; :Step.2| Create DB account. $ psql -U postgres postgres=# CREATE USER moodleuser WITH PASSWORD 'moodleuser'; postgres=# CREATE DATABASE moodle WITH OWNER moodleuser; :Step.3| Create data directory. $ cd /var/www $ sudo mkdir data $ chmod 0777 data *HowToUse [#x33a8ad4] :Step.1| xxx *Author [#a65e77a7] S.Yatsuzuka