unable to logon to moodle server from other machine on network

unable to logon to moodle server from other machine on network

by Danny Pereira -
Number of replies: 1

am new to moodle installation and configuration.
Recently I downloaded moodle 2.3.8  and installed it on Cent OS 6. Installation directory is /root/dDownloads/moodle. I am able to log on in Moodle from server machine.
My doubt here is what configurations need to be carried out so as Moodle can be accessed over network.

I made one change in config.php file
I updated value of $CFG->wwwroot as

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

Where 192.168.0.10 is IP of Server machine where moodle is installed. Still I am unable to access moodle from other machine..
Help in this regard is appreciated..

Average of ratings: -
In reply to Danny Pereira

Re: unable to logon to moodle server from other machine on network

by Ken Task -
Picture of Particularly helpful Moodlers

Apache serves out apps/files/folders from /var/www/html/

So move the moodle folder to that location:

cd /root/dDownloads/

mv moodle /var/www/html/

cd /var/www/html/

chown apache:apache moodle -R

(sets permissions properly)

cd ../

mkdir moodledata

chown apache:apache moodledata

Apache (httpd) daemon needs to be running as well as MySQL (DB),

To check if they are running:

ps aux |grep httpd

ps aux |grep mysqld

Suggest installing Webmin.  It helps administer the server.

http://www.webmin.com/

It's ok to install webmin in /root

Check, in Webmin, bootup shutdown for httpd and mysqld.  Set them to start on boot up.  Webmin will help with MySQL settings and creating databases as well as exploring the backend of Moodle.

'spirit of sharing', Ken