Installing & Using Moodle on an exsisting WebServer that host other pages

Installing & Using Moodle on an exsisting WebServer that host other pages

by Jon Smith -
Number of replies: 5
Hello all, Im a newbie to the moodle scene. I manage the web-site www.cehs.wright.edu for the college. I've been asked to investigate using moodle
for a few classes here @ wright state. I've played with it and it's very cool. My question now is: Since we have a X-serve currently hosting our colleges pages, could I, make a folder in my current web structure, lets say its called "others"
and install or place the moodle stuff there and have the moodle part of the page
run from that directory....  so that if someone were to type:
www.cehs.wright.edu/others         the moodle page would run from there ?


Average of ratings: -
In reply to Jon Smith

Re: Installing & Using Moodle on an exsisting WebServer that host other pages

by Michael Penney -
Yep. Easy way is to unzip the Moodle download folder and then upload the files to your webserver/others folder from the Moodle folder, then visit yourwebserver/others and the Moodle installer will fire up.
In reply to Michael Penney

Re: Installing & Using Moodle on an exsisting WebServer that host other pages

by Jon Smith -
Ok thank you....  Im going through the install process now,
got stuck with
" we could not connect to the database you specified. please check your database settings "

Im thinking, is it looking for the moodledata folder ?
I see it in the same folder moodle is in... should it be somewhere else ?

The host server generically says    localhost    Im sure that should be changed
correct ?    and should it be an IP address  or a directory type structure ?

( man this was easy when I did it on my laptop   LOL   )
In reply to Jon Smith

Re: Installing & Using Moodle on an exsisting WebServer that host other pages

by Steve Hyndman -
No...if you get that error, then it's looking for the database. The moodledata folder is a different thing. Have you created a database and included the correct  information during the set-up process (database name, username, password, etc,) for moodle to connect to it?
In reply to Steve Hyndman

Re: Installing & Using Moodle on an exsisting WebServer that host other pages

by Jon Smith -
no i haven't... Is that better done directly on the server?  using command line
and involving those commands that have:
 # mysql -u root -p
> CREATE DATABASE moodle;
> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER ON moodle.*
TO moodleuser@localhost IDENTIFIED BY 'yourpassword';
> quit
# mysqladmin -p reload
moodleuser is the admin user
and "indentfied by" ______ would be your password... 

we're currently running MYSQL 4    and PHP 4    
In reply to Steve Hyndman

Re: Installing & Using Moodle on an exsisting WebServer that host other pages

by Jon Smith -
after tripping over my own shoe-strings    I did get the moodle up & running
so now everything is cool.....

But now that I have my cake, I want to eat it & have pie also   LOL  LOL

ok moodle gurus:
if I have a moodle page running for; lets say the math dept
and the english dept want their own moodle page.

can I, or should I, install moodle again in its place according to my web directory
and run it through the config ?  do I then need to set another MYSQL database ?