1. Jalankan Apache dan Mysql server
2. Extract file Moodle 1.9 nya di drive C:\xampp\htdocs
3. Buat folder "moodledata" d C:\Xampp\. Trus klik kanan folder tersebut, pilih Properties. Pada tab security, klik Edit. Pilih "User/", centang allow pada "Full control".OK.
4. Buat file "C:\Xampp\htdocs\moodle\config.php"
<?PHP unset($CFG); // Ignore this line $CFG= new stdClass(); $CFG->dbtype = 'mysql'; // mysql or postgres7 (for now) $CFG->dbhost = 'localhost'; // eg localhost or db.isp.com $CFG->dbname = 'dbmoodle'; // database name, eg moodle $CFG->dbuser = 'root'; // your database username $CFG->dbpass = ''; // your database password $CFG->prefix = 'mdl_'; // Prefix to use for all table names $CFG->dbpersist = false; // Should database connections be reused? $CFG->wwwroot = 'http://localhost/moodle'; $CFG->dirroot = 'C:\xampp\htdocs\moodle'; $CFG->dataroot = 'C:\xampp\moodledata'; $CFG->directorypermissions = 777; $CFG->admin = 'admin'; $CFG->unicodedb = true; require_once($CFG->dirroot.'\lib\setup.php'); ?> |
5. Ketik http://localhost/phpmyadmin/ pada web browser. Trus pada "Create new database" ketikkan "dbmoodle". klik Create.
6. Ketikkan http://localhost/moodle/ pada web browser untuk memulai instalasi. Ikuti petunjuk sampai instalasi selesai.
0 komentar:
Posting Komentar