Installing Moodle
Step 4: Go to Admin Page And Continue Configuration
Once config.php has been correctly created in the previous step, access the front page
of your site where Moodle is located (e.g. http://yoursite.com/moodle) This will take you to
the "admin" page for the rest of the configuration. The first time you access this admin
page you will be presented with a GPL "shrinkwrap" agreement, which you must agree
with before you can continue with the setup.
Now Moodle will start setting up your database and creating tables to store data. Firstly,
the main database tables are created. You should see a number of SQL statements
followed by status messages (in green or red) that look like this:
CREATE TABLE course ( id int(10) unsigned NOT NULL auto_increment, category int(10)
unsigned NOT NULL default 0 , password varchar(50) NOT NULL default , fullname varchar
(254) NOT NULL default , shortname varchar(15) NOT NULL default , summary text NOT
NULL, format tinyint(4) NOT NULL default 1 , teacher varchar(100) NOT NULL default
Teacher , startdate int(10) unsigned NOT NULL default 0 , enddate int(10) unsigned NOT
NULL default 0 , timemodified int(10) unsigned NOT NULL default 0 , PRIMARY KEY (id))
TYPE=MyISAM
SUCCESS
...and so on, followed by: Main databases set up successfully.
If you don t see these, then there must have been some problem with the database or the
configuration settings you defined in config.php. Check that PHP isn t in a restricted
"Safe Mode" (commercial web hosts sometimes have safe mode turned on). You can
check PHP variables by creating a little file containing and looking at it
through a browser. Check all these and try this page again.
Scroll down the very bottom of the page and
press the "Continue" link on each screen that
Fig. 87
successfully populates the database, as
shown above. You should now see a form
where you can define more configuration
variables (Fig. 87) for your installation, such as
the default language, SMTP hosts and so on.
Don t worry too much about getting everything
right just now you can always come back and
edit these later on using the admin interface.
The defaults are designed to be useful and
secure for most sites. Scroll down to the
bottom of the Variables page and click
"Save changes".
If (and only if) you find yourself getting stuck
on this page, unable to continue, then your
server probably has what is called the
"buggy referrer" problem. This is easy to fix:
just turn off the "secureforms" setting, then try
to continue again.
Next you will see more pages that print lots of
status messages as they set up all the tables
required
by
various
Moodle
modules.
As before, they should all be green.
Scroll down to the very bottom of the page and press the "Continue" link.
http://moodle.org
52