|
|
(9 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| == Step 1: Install Ubuntu 13.10 ==
| | #redirect [[Step-by-step Installation Guide for Ubuntu]] |
| | |
| http://www.ubuntu.com/download
| |
| | |
| == Step 2: Install LAMP stack and the additional PHP extensions==
| |
| Open the Terminal and install Apache MySQL and PHP
| |
| | |
| <pre> sudo aptitude install git apache2 mysql mysql-server php5 php5-mysql php5-curl php5-gd php5-intl php5-xmlrpc php5-json</pre>
| |
| | |
|
| |
| | |
| ''''It will prompt you to set the root password for mysql - take note of it, you will need it in step 5.'''
| |
| | |
| == Step 3: Download Moodle ==
| |
| | |
| <pre>cd /var/www
| |
| | |
| sudo /bin/bash
| |
| | |
| git clone git://git.moodle.org/moodle.git moodle
| |
| cd moodle
| |
| git branch --track MOODLE_25_STABLE origin/MOODLE_25_STABLE
| |
| git checkout MOODLE_25_STABLE
| |
| | |
| mkdir /var/moodledata
| |
| | |
| chmod 777 /var/moodledata
| |
| | |
| chmod 755 /var/www/moodle</pre>
| |
| | |
| == Step 5: Create Moodle database ==
| |
| <pre>mysql -u root -p</pre>
| |
| | |
| You will be prompted for the mysql root password you have created in step 2
| |
| | |
| <pre>create database moodledb charset=utf8;
| |
| | |
| create user 'mdluser'@'localhost' identified by 'password';
| |
| | |
| grant all privileges on moodledb.* to 'mdluser'@'localhost';
| |
| | |
| \q</pre>
| |
| | |
| == Step 6: Setup Moodle server ==
| |
| | |
| Open your browser and go to http://localhost/moodle
| |
| | |
| Follow the prompts selecting:
| |
| | |
| ===database type===
| |
| | |
| Choose: mysqli
| |
| | |
| === database settings ===
| |
| | |
| Host server: localhost
| |
| | |
| Database: moodledb
| |
| | |
| User: mdluser
| |
| | |
| Password: password
| |
| | |
| Tables Prefix: mdl_
| |
| | |
| === environment checks ===
| |
| | |
| This will indicate if any elements required to run moodle haven't been installed.
| |
| | |
| === next next next... ===
| |
| follow prompts and confirm installation
| |
| | |
| ===create a site administrator account ===
| |
| Create your moodle user account which will have site administrator permissions.
| |
| | |
| The password you select has to meet certain security requirements.
| |
| | |
| ===Installation Complete ===
| |
| Bravo! You can now start playing with moodle!
| |