How to setup Moodle on local server

How to setup Moodle on local server

by Fred Frazelle -
Number of replies: 1
i'm experimenting with setting up my Moodle on a local server here at the house. The original, hosted, site was zipped and downloaded with JoomlaPack because the "main" webpage area is actually Joomla, but the hoster also had Cpanel and i installed and setup Moodle as well and added all kinds of courses, etc. The JoomlaPack script allowed me to set up the database for Joomla just fine however it didn't "popup" any window to set up the Moodle database. So, when i click on the link from the local Joomla site to go to Moodle, it still points to www.fundacionanisa.org/moodle_anisa/.

i hope this is the correct forum for this.

Uh, any ideas on how to proceed to get the Moodle database setup? i've already created the blank database in MySql so i guess i just need to "point" Moodle to it -- is this correct? If so, how might this be done?

Thanks in advance for any help and have a great evening! smile
Average of ratings: -
In reply to Fred Frazelle

Re: How to setup Moodle on local server

by Richard Enison -
FF,

If all you want to do is point Moodle to the blank db you've created, try
  1. making sure all the db parameters in config.php are correct,
  2. making sure your db is utf8, and
  3. browse to http://localhost/moodle/admin (assuming you've set up the URL for your Moodle site at the house as http://localhost/moodle)
This should create the tables in the db, but all the data from your courses, etc. will still be missing.

Instead, why not restore the db b/u's from the original (I know nothing about JoomlaPack, but I'm assuming it contains some sort of b/u of your Moodle db from the original server, and that you can somehow extract it)? If you have a db b/u, do a db restore; if you have course b/u's, restore them.

RLE