Difference between revisions of "Installation on Ubuntu using Git"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Installation on Ubuntu using Git.

(Introduction)
(Basic Setup)
Line 15: Line 15:
 
- Open a terminal window (from Applications>Accessories)
 
- Open a terminal window (from Applications>Accessories)
 
- become root, install some additional software (git and php extras Moodle needs):
 
- become root, install some additional software (git and php extras Moodle needs):
<code>
+
<pre>
 
sudo su  (you will need to enter your password)
 
sudo su  (you will need to enter your password)
 
apt-get update
 
apt-get update
 
apt-get install git git-core git-doc
 
apt-get install git git-core git-doc
 
apt-get install php5-gd php5-curl php5-intl php5-xmlrpc
 
apt-get install php5-gd php5-curl php5-intl php5-xmlrpc
</code>
+
</pre>

Revision as of 10:58, 18 March 2011

Introduction

This is probably an unrealistic scenario but it stemmed from a question asked in the forums and the results might be useful to others. This was done on Mythbuntu 10.10. Mythbuntu is one of the Ubuntu derivatives, in this case providing a Linux based TV package. It comes with PHP, Apache and MySQL installed having its own web-based controller.

There was no intention to provide a fully secured production server. This just gets basic Moodle working on 'localhost'.

Install Mythbuntu

- Install Mythbuntu using (if in doubt) default settings - Log in and exit MythTV application (using Escape Key) - Run Firefox and ensure that 'mythweb' is running at localhost (proving the web server is running)

Basic Setup

- Open a terminal window (from Applications>Accessories) - become root, install some additional software (git and php extras Moodle needs):

sudo su  (you will need to enter your password)
apt-get update
apt-get install git git-core git-doc
apt-get install php5-gd php5-curl php5-intl php5-xmlrpc