Installation de Maarch sous ubuntu

Résolu/Fermé
achraf - 21 juil. 2010 à 14:59
mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 - 27 juil. 2010 à 10:35
Bonjour,
j'ai passer un long temps pour installer l'Opensource Maarch pour faire une gestion électronique des document au sein d'un stage d'été, mais j'ai pas encore réussit,
Etant donné que ce logiciel n'est pas préconfiguré pour Ubuntu.
En fait, j'ai installé les pré-requis (apache, php et postgresql), et j'ai suivie le guide d'installation sous ubuntu ci-dessous mais j'ai pas arriver à une installation complète.
je me demande est-ce quelqu'un a une idée pour installer Maarch.
merci d'avance.


-----------------------------------------------------------------------------------------------------------

-Récupérer les paquets Maarch Entreprise :

wget https://sourceforge.net/projects/maarch/files/ -O /var/www/MaarchEntreprise-1.0.zip

# Décompresser l'archive :

unzip !$ -d /var/www/entreprise
# Compléter l'installation des répertoires :
mkdir /var/maarch /var/maarch/docservers /var/maarch/docservers/{documents,documents_ai,invoices,invoices_ai} /var/maarch/indexes

# Adaptation de la release :

rm /var/www/entreprise/apps/maarch_entreprise/{export,tmp}
mkdir /var/www/entreprise/{tmp,apps/maarch_entreprise/{export,tmp}}

# Configurer les droits :

chown -R www-data:www-data /var/maarch
chmod -R 700 !$
chown www-data:www-data /var/www/entreprise/{tmp,apps/maarch_entreprise/tmp,modules/physical_archive/tmp_print}
chmod 700 /var/www/entreprise/{tmp,apps/maarch_entreprise/tmp,modules/physical_archive/tmp_print}

Modification des fichiers de configuration avec les variables suivantes :

## corepath=/var/www/entreprise/
## tmppath=/var/www/entreprise/tmp
## coreurl=http://127.0.0.1/entreprise/
## businessapppath=/var/www/entreprise/apps/maarch_entreprise/
## databaseserver=127.0.0.1
## databaseserverport=5432
## databasetype=POSTGRESQL
## databasename=maarch_entreprise
## databaseuser=postgres
## databasepassword=maarch
## tmppath(apps/maarch_entreprise)=/var/www/entreprise/apps/maarch_entreprise/tmp/
## path_to_lucene_index(letterbox_coll)=/var/maarch/indexes/letterbox_coll/
## path_to_lucene_index(coll_2)=/var/maarch/indexes/coll_2/
## MaarchDirectory=/var/www/entreprise/
## AutofolderingUrl=http://127.0.0.1/entreprise/modules/autofoldering/
## BASE_DIRECTORY=/var/www/entreprise/modules/full_text/
## INDEX_FILE_DIRECTORY=/var/maarch/indexes/letterbox_coll/
## MAARCH_TOOLS_PATH=/var/www/entreprise/apps/maarch_entreprise/tools/
## path(physical_archive)=/var/www/entreprise/modules/physical_archive/
cp /var/www/entreprise/core/xml/config.xml.default /var/www/entreprise/core/xml/config.xml
vim !$
cp /var/www/entreprise/apps/maarch_entreprise/xml/config.xml.default /var/www/entreprise/apps/maarch_entreprise/xml/config.xml
vim !$
vim /var/www/entreprise/modules/autofoldering/xml/config.xml
vim /var/www/entreprise/modules/indexing_searching/xml/config.xml
vim /var/www/entreprise/modules/full_text/xml/config_entreprise.xml
vim /var/www/entreprise/modules/physical_archive/xml/config.xml

# Création et configuration de la base

su postgres
psql
ALTER USER postgres WITH ENCRYPTED PASSWORD 'maarch';
CREATE DATABASE maarch_entreprise WITH ENCODING = 'UTF8';
\connect maarch_entreprise
\i /var/www/entreprise/structure.sql
\i /var/www/entreprise/data.sql
\q
exit

7 réponses

mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 7 748
22 juil. 2010 à 00:08
Peux-tu nous dire ce qui te bloque ?
0