[Moodle] moodle in ubuntu 7.04

WEIR Andrew WEIR at thomascarr.vic.edu.au
Fri May 25 12:37:38 EST 2007


Laurie
Thanks I'll try it tonight.
Brilliant as usual
Andrew 

-----Original Message-----
From: moodle-bounces at edulists.com.au
[mailto:moodle-bounces at edulists.com.au] On Behalf Of Laurie Savage
Sent: Friday, 25 May 2007 11:42 AM
To: The Moodle Users' in Schools Mailing List
Subject: Re: [Moodle] moodle in ubuntu 7.04

Hi Andrew,

Using ssh to connect to the server I do the following: 

* copy the Moodle folder to /usr/share/moodle, and 

* create a moodle.conf in /etc/apache2/conf.d that points to the moodle
folder - it's listed below. 

* my MoodleData folder is in /var/lib/moodle/data and has permissions
755, owner www-data. 

* create a database and user - I use mysql, so (assuming you have a root
mysql user with a password) Create the database and give the user some
permissions:

1. mysqladmin -u root -p create moodledb 2. mysql -u root -p
	grant all on moodledb.* to 'moodleuser'@'localhost' identified
by 'mysecretpassword';
	flush privileges;
	\q
3. restart apache (apache2ctl restart or /etc/init.dapache2 restart) 4.
Point your browser to moodle

If this doesn't take, try rebooting the server.

(ASIDE: I find the mc command line file manager invaluable for opening
zip/tar.gz files and copying/moving their contents F9 gives menus, F10
closes, Ctrl-T tags. Think the old Norton Commander or XTree Gold)


Moodle.conf file follows
========================================================================
Alias /moodle /usr/share/moodle/

<DirectoryMatch /usr/share/moodle/>

Options +FollowSymLinks
AllowOverride None

order deny,allow
deny from all
allow from 127.0.0.0/255.0.0.0
# allow from all

<IfModule mod_php4.c>
        php_flag magic_quotes_gpc On
        php_flag magic_quotes_runtime Off
        php_flag file_uploads On
        php_flag short_open_tag On
        php_flag session.auto_start Off
        php_flag session.bug_compat_warn Off

        php_value upload_max_filesize 2M
        php_value post_max_size 2M
</IfModule>

<IfModule mod_php5.c>
        php_flag magic_quotes_gpc On
        php_flag magic_quotes_runtime Off
        php_flag file_uploads On
        php_flag short_open_tag On
        php_flag session.auto_start Off
        php_flag session.bug_compat_warn Off

        php_value upload_max_filesize 2M
        php_value post_max_size 2M
</IfModule>

<IfModule mod_dir.c>
        DirectoryIndex index.php
</IfModule>

</DirectoryMatch>


On Fri, May 25, 2007 at 08:45:11AM +1000, WEIR Andrew mentioned:
> I was wondering if anyone can point me to a good set of instructions
for putting moodle onto a ubuntu 7.04 server installation.
--
Laurie Savage
====================================================================
Markbook/Moodle Coordinator::Pascoe Vale Girls College::03 9306 2544

Today's weirdness is tomorrow's reason why.
		-- Hunter S. Thompson
_______________________________________________
http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
Moodle Mailing List kindly supported by http://www.vcaa.vic.edu.au -
Victorian Curriculum and Assessment Authority and
http://www.vitta.org.au  - VITTA Victorian Information Technology
Teachers Association Inc



More information about the moodle mailing list