Hello World from OSS Silicon Valley


HowToUse/Moodle/3.0


_ Prerequisite

_ Install&Setup

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

Step.1
xxx

_ Author

S.Yatsuzuka