Changes

Jump to navigation Jump to search
1,061 bytes added ,  07:23, 1 May 2009
Line 33: Line 33:     
==Documentation & Resources==
 
==Documentation & Resources==
 +
 +
<pre>
 +
yum groupinstall "GNOME Desktop Environment"
 +
 +
edit /etc/inittab and change runlevel from 3 to 5 to startup in Gnome
 +
 +
yum install mysql-server php php-mysql php-mbstring php-gd php-xmlrpc php-imap cvs
 +
 +
service mysqld start
 +
mysqladmin -u root password 'mySecurePassword'
 +
mysql -u root -p
 +
mysql> CREATE DATABASE moodle CHARSET 'utf8';
 +
mysql> exit;
 +
chkconfig mysqld on
 +
--starts sql server; adds root admin user; logs into server and creates DB;
 +
--turns the service on on boot.
 +
 +
cd /var/www
 +
cvs -z3 -d:pserver:anonymous@eu.cvs.moodle.org:/cvsroot/moodle co -r MOODLE_19_STABLE moodle
 +
--download and install/update with the latest version of moodle
 +
 +
mkdir moodledata
 +
chown -R apache:apache moodle
 +
chown -R apache:apache moodledata
 +
--make directory in /var/www/ and change permissions.
 +
 +
edit the file /etc/httpd/conf/httpd.conf
 +
change DocumentRoot "/var/www/html" to DocumentRoot "/var/www/moodle"
 +
change <Directory "/var/www/html"> to <Directory "/var/www/moodle">
 +
then you must restart the apache server by issuing the command:
 +
service httpd restart
 +
 +
</pre>
    
'''Installing MySQL:''' <br>
 
'''Installing MySQL:''' <br>
236

edits

Navigation menu