Fedora Linux Support Community & Resources Center
  #1  
Old 16th November 2006, 10:40 PM
hermouche Offline
Registered User
 
Join Date: Apr 2006
Location: Algeria
Posts: 807
Installing Moodle

hy

i' ve downloaded moodle.

I have actually all the moodle directories inside /var/www/html
From the browser i have the moodle installation window.
After two or three windows it stop's me saying that the
"The 'Data Directory' you specified could not be found or created. Either correct the path or create that directory manually"

I guess it is talking about moodledata, if so i 've created manually moodledata in /var/www/, but without any success!!
how to deal with?
may be permissions?
cretion of a database?

Thanks

red

Last edited by hermouche; 17th November 2006 at 06:32 AM.
Reply With Quote
  #2  
Old 17th November 2006, 06:29 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
Posts: 7,909
Run:
Code:
yum install moodle
Done. Well, you need to configure it, and setup the database I believe...
Reply With Quote
  #3  
Old 17th November 2006, 06:45 AM
hermouche Offline
Registered User
 
Join Date: Apr 2006
Location: Algeria
Posts: 807
yes Jman i went through your command.
yum install moodle

itinstalled moodle and a couple of other dependencies. It's ok. Perfectly installed.
I also edited the php as it is said in the installation process (site of moodle)
Actually moodle is in his place, i mean: /var/www/html.
If i want to go to moodle with my browser, i have a nice moodle installation page.
The first page saysa bout the language installation(good), the second test the PHP , i've a PASS every where, so it's good, in the third page i got the message:
The 'Data Directory' you specified could not be found or created. Either correct the path or create that directory manually.

I think i've a database problem!!!
Thanks for replying Jman
red
Reply With Quote
  #4  
Old 19th November 2006, 05:44 AM
hermouche Offline
Registered User
 
Join Date: Apr 2006
Location: Algeria
Posts: 807
Quote:
Originally Posted by Jman
Run:
Code:
yum install moodle
Done. Well, you need to configure it, and setup the database I believe...
Hy again

How to create a database with mysql?
That's what it is needed by moodle so far?

thanks
red
Reply With Quote
  #5  
Old 19th November 2006, 06:43 AM
Zigzagcom Offline
Registered User
 
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 87
Posts: 1,657
You need to have mysql, php-mysql, gd, gd-devel and probably a couple of other items installed. A lot of that info can be had from the moodle site.

Mysql needs to be set up correctly, i.e., create a password for the root user, create new mysql users and passwords if required and then create the database (call it moodle or whatever) in mysql.

I don't have the mysql commands of the top of my head, but google should be of help.
Reply With Quote
  #6  
Old 19th November 2006, 06:07 PM
hermouche Offline
Registered User
 
Join Date: Apr 2006
Location: Algeria
Posts: 807
OK Zigzagcom, thanks for replying.
I am using fedora and i've installed all the required utilities and software. i am sure for that.
My problem is that when ever i try to create a database , i t doesn't allow me to do so.
I am following the install process from the moodle site which says among other things that i should create a databaselike this:
# mysql -u root -p
> CREATE DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTE R ON moodle.*
TO moodleuser@localhost IDENTIFIED BY 'yourpassword';
> quit
# mysqladmin -p reload


So actually i couldn't go forward, i stopped in the first line commands: mysql -u root -p
I tryed this command as a root user!!
it says access denied.

red
Reply With Quote
  #7  
Old 21st November 2006, 09:10 PM
bitsofme Offline
Registered User
 
Join Date: Jul 2004
Location: Isle of Man
Age: 45
Posts: 75
I had the same problem access denied.
Do not give mysql your root password just hit return (blank password) and it should connect.

Hope this helps.

Andrew
Reply With Quote
  #8  
Old 23rd November 2006, 06:11 AM
hermouche Offline
Registered User
 
Join Date: Apr 2006
Location: Algeria
Posts: 807
thanks bitsofme, It works.

red
Reply With Quote
  #9  
Old 24th November 2006, 05:28 AM
Zigzagcom Offline
Registered User
 
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 87
Posts: 1,657
Yeah, sorry about that...I forgot to mention that by default, initially there is no root password in mysql; in addition, it does not need to be the same as the system root password.

Here are a couple of links, just in case you run into trouble creating a password or having to reset it after you forgot...

http://dev.mysql.com/doc/refman/5.0/...rmissions.html
http://news.softpedia.com/news/MySQL...de-37081.shtml

Last edited by Zigzagcom; 24th November 2006 at 05:35 AM.
Reply With Quote
Reply

Tags
installing, moodle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems setting up Moodle on FC9 whitecloud1 Servers & Networking 10 22nd January 2009 12:08 AM
A can of worms opened installing moodle nenenaiad Using Fedora 0 2nd February 2008 11:54 PM
phpMyAdmin and Moodle installations from the repos xpan Using Fedora 1 1st February 2008 01:40 PM
Need moodle help Snowflake Using Fedora 3 31st May 2006 03:43 AM
Moodle and Fedora yeehi Using Fedora 5 6th November 2005 06:37 AM


Current GMT-time: 14:34 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Riehen - Hovsan - Kodar Photos on Instagram