Problemes per instal·lar un moodle en local, al Fedora

Problemes per instal·lar un moodle en local, al Fedora

per Marta Jimenez Albiol -
Nombre de respostes: 1
Hola a tots, vull instal·lar un moodle en local, sistema operatiu Fedora muntat en un Virtual Vox, he seguit la “xuleta” que tenia per l'Ubuntu ( i que m'havia anat mot bé) amb les modificacions corresponents però al posar al navegador:


Em diu:


The requested URL /moodle/install.php was not found on this server
Apache/2.2.11 (Fedora) Server at localhost Port 80

si poso:





Error: Database connection failed.

It is possible that the database is overloaded or otherwise not running properly.

The site administrator should also check that the database details have been correctly specified in config.php

He l'he posat a la carpeta moodle aquest config.php:



<?php /// Moodle Configuration File

unset($CFG);


$CFG->dbtype = 'mysql'; // Valid values include: mysql postgres7
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodatahome';
$CFG->dbuser = 'root';
$CFG->dbpass = 'micontrasenya';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';


$CFG->wwwroot = 'http://localhost/moodle';
$CFG->dirroot = '/var/www/moodle/web';
$CFG->dataroot = '/var/www/moodle/data/roodata';
$CFG->admin = 'admin';

$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode

require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>


i d'altres canviant alguns detalls, però res! No puc solucionar-ho, algú em podria dir alguna cosa?
En resposta a Marta Jimenez Albiol

Re: Problemes per instal·lar un moodle en local, al Fedora

per Raül Fernández -

Hola Marta, nomes per ananr descartant coses...

Has creat prèviament la base de dades "moodatahome" en MySQL?

Per altra banda, no cal anar al directament al install.php, simplement anant a localhost/moodle n'hi ha prou. Tampoc cal que li posis el config.php fins que no t'ho demani.