Installare Moodle su WampServer
Transcript
Installare Moodle su WampServer
Installare Moodle con WampServer Installare Moodle con WampServer Moodle è un CMS (Course Management System) che permette di creare e gestire corsi on-line con ampie possibilità di interazione tra studente e docente. Moodle è open source in accordo alla Licenza GPL. Se si vuole provare la piattaforma per Windows con WampServer, occorre seguire i seguenti passi: 1. Eseguire il download di WampServer (32 o a 64 bit) dal sito http://www.wampserver.com/en/ WampServer è un software libero con licenza GPL 2. Installare WampServer accettando tutte le opzioni di default 3. Eseguire il download di Moodle per Windows (ultima release stabile 2.2.1+) dal sito http://download.moodle.org/windows/ 4. Scompattare in una cartella 5. Copiare la cartelle moodle e moodledata, che si trovano in MoodleWindowsInstaller-latest22\Server, nella cartella C:\wamp\www 6. Utilizzando phpMyAdmin creare il database moodle ("create database moodle") con collation di tipo UTF8 general_ci 7. Utilizzando NotePad, NotePad++, WordPad (ma non Word) editare il file c:\wamp\www\moodle\config-dist.php apportando le seguenti modifiche: //=============================================================== // 1. DATABASE SETUP //================================================================= // First, you need to configure the database where all Moodle data // will be stored. This database must already have been created // and a username/password created to access it. $CFG->dbtype = 'mysqli'; $CFG->dbname // // 'native' only at the moment = 'localhost'; // eg 'localhost' or 'db.isp.com' or IP = 'moodle'; // database name, eg moodle $CFG->dbuser = 'root'; // your database username $CFG->dbpass = ''; // your database password $CFG->prefix // // 'pgsql', 'mysqli', 'mssql' or 'oci' $CFG->dblibrary = 'native'; $CFG->dbhost // = 'mdlx'; // prefix to use for all table names //========================================================= // 3. WEB SITE LOCATION //========================================================= // Now you need to tell Moodle where it is located. Specify the full // web address to where moodle has been installed. If your web site // is accessible via multiple URLs then choose the most natural one // that your students would use. Do not include a trailing slash // If you need both intranet and Internet access please read // http://docs.moodle.org/en/masquerading $CFG->wwwroot = 'http://localhost/moodle'; //$CFG->wwwroot = 'http://192.168.1.4/moodle'; //attenzione: la riga commentata è alternativa alla precedente. L'indirizzo IP è quello della //macchina in cui è installato Moodle e permette di accedere a Moodle da un pc della rete locale //========================================================= // 4. DATA FILES LOCATION //========================================================= // Now you need a place where Moodle can save uploaded files. This // directory should be readable AND WRITEABLE by the web server user // (usually 'nobody' or 'apache'), but it should not be accessible // directly via the web. // - On hosting systems you might need to make sure that your "group" has // no permissions at all, but that "others" have full permissions. // - On Windows systems you might specify something like 'c:\moodledata' $CFG->dataroot = 'c:\wamp\www\moodledata'; 8. Salvare il file modificato con il nome config.php 9. Mandare in esecuzione Moodle (localhost/moodle), seguendo le istruzioni e abilitando le estensioni php richieste Feb 2012: Happy Moodling ! mdb