Dotclear

Installer sur Lost-Oasis

Introduction

Dotclear 2 fonctionne chez Lost-Oasis mais uniquement avec une base de données Mysql. Une version de mysql compatible avec dotclear 2 est disponible sur leur serveur sql3.lo-data.net. Si vous venez de vous créer une base, celle-ci sera automatiquement créée sur ce serveur, par contre si vous avez une ancienne base, vous pouvez demander la migration gratuite vers le serveur sql3.lo-data.net en suivant ces instructions.

Préparation de l'environnement

Déposez les fichiers de dotclear dans un répertoire de votre choix sur votre espace FTP sur ftp.lost-oasis.net.

Vous devez également permettre l'execution de PHP 5 sur votre espace. Pour cela, ajoutez un fichier .htaccess à la racine de votre espace, contenant :

PHP_Version 5.0

Fichier de configuration

Vous devez maintenant créer un fichier de configuration, voici à quoi celui-ci doit ressembler :

 
<?php
# ***** BEGIN LICENSE BLOCK *****
# This file is part of DotClear.
# Copyright (c) 2005 Olivier Meunier. All rights
# reserved.
#
# DotClear is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# DotClear is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with DotClear; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# ***** END LICENSE BLOCK *****
 
// Database driver (mysql, pgsql, sqlite)
define('DC_DBDRIVER','mysql');
 
// Database hostname (usually "localhost")
define('DC_DBHOST','sql3.lo-data.net');
 
// Database user
define('DC_DBUSER','VOTRE USER ICI');
 
// Database password
define('DC_DBPASSWORD','VOTRE MOT DE PASSE ICI');
 
// Database name
define('DC_DBNAME','LE NOM DE VOTRE BASE ICI');
 
// Tables' prefix
define('DC_DBPREFIX','dc_');
 
// Crypt key (password storage)
define('DC_MASTER_KEY','CHANGEZ CECI IMPERATIVEMENT!');
 
 
// Admin URL. You need to set it for some features.
define('DC_ADMIN_URL','URL COMPLETE VERS VOTRE REPERTOIRE ADMIN');
 
// Cookie's name
define('DC_SESSION_NAME','dcxd');
 
// Plugins root
define('DC_PLUGINS_ROOT',dirname(__FILE__).'/../plugins');
 
// Template cache directory
define('DC_TPL_CACHE',dirname(__FILE__).'/../cache');
 
 
// les lignes suivantes doivent être décommentées
//if (!isset($_SERVER['ORIG_PATH_INFO'])) {
//	$_SERVER['ORIG_PATH_INFO'] = '';
//}
//$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
?>

Nommez-le config.php et placez-le dans le répertoire inc/ de votre installation.

Attention :

N'oubliez pas de changer la valeur de DC_MASTER_KEY (sans y placer aucune apostrophe) et indiquer l'URL complète de votre espace d'administration dans DC_ADMIN_URL.

Installation

Avec votre navigateur, rendez vous sur le répertoire admin/install de votre copie de Dotclear et répondez à l'unique formulaire. Votre Dotclear est installé !

2.0/hosting/lost-oasis.txt · Dernière modification: 2007/04/09 11:17 par kozlika

Plan des sites