Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Step-by-step Install Guide for Ubuntu.

Step-by-step Install Guide for Ubuntu: Difference between revisions

From MoodleDocs
(redirecting to duplicate page)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Step 1: Install Ubuntu 10.04 ==
#redirect [[Step-by-step Installation Guide for Ubuntu]]
 
http://www.ubuntu.com/download
 
== Step 2: Install LAMP stack ==
Open the Terminal and install tasksel
 
<pre>sudo apt-get install tasksel</pre>
 
and then the LAMP stack:
 
<pre>sudo tasksel install lamp-server</pre>
 
 
'''This will run a gui install of the lamp stack.
 
It will prompt you to set the root password for mysql - take note of it, you will need it in step 5.'''
 
== Step 3: Install the additional PHP extensions ==
 
<pre>sudo apt-get install php5-curl php5-gd php5-intl php5-xmlrpc</pre>
 
== Step 4: Download Moodle ==
 
<pre>cd /var/www
 
sudo wget http://download.moodle.org/stable23/moodle-latest-23.tgz
 
sudo tar -zxf moodle-latest-23.tgz
 
sudo mkdir /var/moodledata
 
sudo chmod 777 /var/moodledata
 
sudo chmod 777 /var/www/moodle</pre>
 
== Step 5: Create Moodle database ==
<pre>mysql -u root -p
 
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
 
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!

Latest revision as of 11:04, 16 January 2014