Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Teacher Reporting
(view source)
Revision as of 12:16, 18 May 2009
1,121 bytes added
,
12:16, 18 May 2009
→Booting the XO from the SD
Line 136:
Line 136:
<pre>
<pre>
ok boot sd:\boot\olpc.fth
ok boot sd:\boot\olpc.fth
+
</pre>
+
+
=====Post XS School Server Installation Configuration:=====
+
<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>
</pre>
Jrgreen118
44
edits