Difference between revisions of "Moodle: Konfigurasi CMS"

From OnnoWiki
Jump to navigation Jump to search
(New page: Parameter wwwroot menentukan tampilan Moodle akan bermasalah jika CMS berbeda IP address $CFG->wwwroot = 'http://192.168.0.1/moodle'; harus di pasang pada IP Address ...)
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Parameter wwwroot==
 +
 
Parameter wwwroot menentukan tampilan [[Moodle]] akan bermasalah jika [[CMS]] berbeda [[IP address]]
 
Parameter wwwroot menentukan tampilan [[Moodle]] akan bermasalah jika [[CMS]] berbeda [[IP address]]
  
Line 34: Line 36:
 
  // MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
 
  // MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
 
  // RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
 
  // RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
  ?>
+
  ?>      
~               
 
  
  
Line 42: Line 43:
 
* [[Moodle]]
 
* [[Moodle]]
 
* [[Instalasi Moodle]]
 
* [[Instalasi Moodle]]
 +
* [[Moodle: Mengubah Hostname atau wwwroot]]
 
* [[Moodle: Konfigurasi CMS]]
 
* [[Moodle: Konfigurasi CMS]]
 
* [[Moodle: Administrasi User]]
 
* [[Moodle: Administrasi User]]
 +
* [[SchoolOnffLine: Moodle Upload User]]
 
* [[Moodle: Administrasi Kuliah]]
 
* [[Moodle: Administrasi Kuliah]]
 +
* [[Moodle: Install Dragmath]]
 +
* [[Moodle: Penggunaan Dragmath]]
 +
* [[Moodle: Aktifasi Latex]]
 +
* [[Moodle: Authentikasi LDAP]]
 
* [[Linux Howto]]
 
* [[Linux Howto]]

Latest revision as of 08:54, 15 July 2011

Parameter wwwroot

Parameter wwwroot menentukan tampilan Moodle akan bermasalah jika CMS berbeda IP address

$CFG->wwwroot   = 'http://192.168.0.1/moodle';

harus di pasang pada IP Address

192.168.0.1

Isi File /var/www/moodle/config.php

<?php  /// Moodle Configuration File ^

unset($CFG);

$CFG = new stdClass();
$CFG->dbtype    = 'mysql';
$CFG->dbhost    = 'localhost';
$CFG->dbname    = 'moodle';
$CFG->dbuser    = 'moodle';
$CFG->dbpass    = 'moodle';
$CFG->dbpersist =  false;
$CFG->prefix    = 'mdl_';

$CFG->wwwroot   = 'http://192.168.0.1/moodle';
$CFG->dirroot   = '/var/www/moodle';
$CFG->dataroot  = '/var/moodledata';
$CFG->admin     = 'admin';

$CFG->directorypermissions = 00777;  // try 02777 on a server in Safe Mode

$CFG->passwordsaltmain = '?eod=]YO; [4vWRVamy`lY(}';

require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>       


Pranala Menarik