CDS Invenio 0.99.3. Installation et configuration de base



Documents pareils
Installation GLPI-OCSNG-SSL Linux Debian Sarge

Installation du serveur WEB Apache ( MySQL, PHP) sous Debian 7.

Déploiement d OCS 1.02 RC2 sous Debian Etch 64

Installation d un hébergement Web à domicile

Procédure d'installation

Installation d OwnCloud 8.0 sous Debian Avec connexion des utilisateurs active directory et mise en place de HTTPS

Documentation d'installation Plateforme femme actuelle

Installation UpdatEngine serveur (CentOs apache2 / MySQL)

04/02/2014 Tutoriel. Lubuntu & glpi. thomas [NOM DE LA SOCIETE]

REPARTITION DE CHARGE LINUX

Tutoriel compte-rendu Mission 1

TP HTTP. Université Pierre Mendès France U.F.R. Sciences de l Homme et de la Société Master IC²A

windows. deb etch main deb-src etch main

Serveur Subversion Debian GNU/Linux

Projet de mise en œuvre d un serveur ftp sur serveur dédié

L installation a quelque peu changée depuis les derniers tutos, voici une actualisation.

2013 Installation de GLPI-OCS. Florian MICHEL BTS SIO LYCEE SAINTE URSULE

GLPI OCS Inventory. 1. Prérequis Installer un serveur LAMP : apt-get install apache2 php5 libapache2-mod-php5 apt-get install mysql-server php5-mysql

équipement radio Procédure

Installation d' OCS inventory et de GLPI

Serveur Web Apache - SSL - PHP Debian GNU/Linux

CASE-LINUX MAIL - ROUNDCUBE

Installation de Zabbix

Différentes installations sur un serveur Windows 2000 ou 2003.

installer_un_serveur_debian - Documentation Ubuntu Francophone Installation complète d'un serveur web sous Debian 6.0

Afin d'éviter un message d'erreur au démarrage du service Apache du type :

Réaliser un inventaire Documentation utilisateur

GUIDE D INSTALLATION. Portaneo Enterprise Portal version 4.0

Les serveurs WEBUne introduction

SERVEUR HTTP Administration d apache

SERVEUR WEB LINUX LAMP. Raymond RAZAFIMAMONJY Administration LINUX / UNIX Chapitre 15

Linux et le Shell. Francois BAYART. Atelier du samedi 20 Novembre

HowTo Installer egroupware 1.2 sur SME Serveur 7.0

LAMP : une nouvelle infrastructure LAMP. Une architecture modulaire. Installation

Installation d'un serveur FTP géré par une base de données MySQL

Préparation d un serveur Apache pour Zend Framework

Module 7 : Configuration du serveur WEB Apache

Serveur Linux : FTP. Mise en place d un service FTP sous Linux. Bouron Dimitri 20/04/2014

Ocs Inventory et GLPI s appuie sur un serveur LAMP. Je vais donc commencer par installer les paquets nécessaires.

NOTE: Pour une meilleure sécurisation, nous vous recommandons de faire l installation des outils web à l intérieur d un serveur virtuel.

Administration Linux - Apache

2011 Hakim Benameurlaine 1

INSTALLATION NG V2.1 D OCS INVENTORY. Procédure d utilisation. Auteur : GALLEGO Cédric 23/10/2014 N version : v1

Installation d un Serveur de Messagerie

SÉCURITÉ DU SI. Mini PKI. Denoun Jérémy De Daniloff Cyril Bettan Michael SUJET (3): Version : 1.0

Serveur de partage de documents. Étude et proposition d'une solution afin de mettre en place un serveur de partage de documents.

Comment avoir le logiciel? Le serveur web APACHE peut être téléchargé gratuitement du site web de APACHE:

Apache 2.4 Installation et configuration

BTS SIO Dossier BTS. PURCHLA Romain

Faire fonctionner symfony sous wamp et windows avec des vhost. Installation de wamp

Installation et configuration d OCS/GLPI sur un Serveur Debian

Côté Labo : le service Web

Gérer ses environnements de développement avec Vagrant RMLL 2012

SECURIDAY 2012 Pro Edition

TP Service HTTP Serveur Apache Linux Debian

APACHE 2.4. Installation et configuration. Nicolas MARTINEZ

PPE GESTION PARC INFORMATIQUE

Formation subversion (svn) Marc-Olivier Buob

Configuration du serveur Web Apache. Master 1 STIC-Informatique 1

Guide d installation rapide

ITRAINONLINE MMTK INFRASTRUCTURES BASÉES SUR LINUX

TD4 - Supervision et métrologie des réseaux. 1 Supervision des applications et services réseaux et des ressources locales

GUIDE INSTALL IDS. Snort

Installation Installation. Windows. Tout-en-un. Un livre de Wikilivres.

BTS SIO SISR3 TP 1-I Le service Web [1] Le service Web [1]

titre : CENTOS_CUPS_install&config Système : CentOs 5.7 Technologie : Cups Auteur : Charles-Alban BENEZECH

Autorité de certification

INTRODUCTION. Mysql-server est un serveur de bases de données. Cest un logiciel libre.

Dans l'épisode précédent

Projet de Semestre. Page Web Didactique de Visualisation d Algorithme. Université de Genève - semestre de printemps 2012

Installation et configuration d Apache sous Linux RedHat 7.1. Pascal AUBRY Ambroise DIASCORN IFSIC Université de Rennes 1

Installation du DNS (Bind9)

Configuration d'un serveur pour l'hébergement d'un site ezpublish V4

Installation du Hub. Installation du Hub. 1. Description de l installation. by LegalBox. 2 types de serveur sont à installer :

Fonctionnement et mise en place d un reverse proxy sécurisé avec Apache. Dimitri ségard 8 mai 2011

Créer son propre serveur Mail.

CYBERGATE -TP-APACHE_2.DOC

Table des matières Hakim Benameurlaine 1

Tuto 2 : Configuration Virtual box, Configuration et installation du serveur XiBO

Installer un gestionnaire de parc GLPI sous Linux

INSTALLATION APACHE POUR WINDOWS (XP OU 2000)

OCS INVENTORY-GLPI Guide de Procédure

Déploiement de owncloud à la DT/INSU

GUIDE D INSTALLATION DE L APPLICATION GECOL SUR

Maintenance et gestion approfondie des Systèmes d exploitation Master 2 SILI. Année universitaire David Genest

Exemple : vous voulez tester votre site en local avant de l uploader via FTP chez votre hébergeur externe.

Installation de la plate-forme Liberacces 2.0 «Intégrale» avec LiberInstall

Séquence 8 - Bases des réseaux - suite Jean.Saquet@info.unicaen.fr, Gaetan.Richard@info.unicaen.fr

XMBox. Help red team pentester

Le serveur Web : Apache

Published : License : None

DOCUMENTATION ADMINISTRATEUR

table des matières Administration système

INSTALLATION CONFIGURATION D'UN SERVEUR WEB

Architecture de la plateforme SBC

TP 7, 8 & 9 : Installation et Gestion de GLPI et Télédéploiement SISR 1 HUBERT JULIEN LABBE RICHARD DAY MICKAEL DOGNY CHRISTOPHE

Pratique et administration des systèmes

WEBMESTRE : CONCEPTION DE SITES ET ADMINISTRATION DE SERVEURS WEB

Virtualisation : Ce qu il faut savoir :

Transcription:

CDS Invenio 0.99.3 Installation et configuration de base Installation Pour une installation d Invenio sur serveur Linux Debian Lenny, nous nous inspirons des instructions de la page : http://invenio-software.org/wiki/installation/invenioondebian Le fichier «INSTALL» contenu dans l archive d Invenio donne également une procédure à suivre. Installation des paquetages Debian nécessaires aptitude install python-dev apache2-mpm-prefork mysql-server mysql-client pythonmysqldb python-4suite-xml python-simplejson python-xml python-libxml2 pythonlibxslt1 gnuplot poppler-utils gs-common antiword catdoc wv html2text ppthtml xlhtml clisp gettext libapache2-mod-wsgi unzip python-numpy python-rdflib python-gnuplot python-magic pdftk html2text giflib-tools pstotext make sudo Lors de l installation du serveur Mysql, le mot de passe de l utilisateur «root» de la base de données est fixé. aptitude install python-psyco sbcl cmucl pylint pychecker pyflakes python-profiler pythonepydoc libapache2-mod-xsendfile netpbm python-pypdf aptitude install postfix L installation du serveur de messagerie Postfix entre en conflit avec le serveur Exim déjà installé sur le serveur. Nous acceptons la proposition du système : désinstallation du serveur de messagerie Exim qui est remplacé par Postfix. L installation de Postfix nécessite de préciser le type de serveur de messagerie. Nous choisissons la configuration «Système satellite» qui permettra à notre serveur Debian de soumettre les messages email au serveur SMTP local (smtp.obs-vlfr.fr). Quelques derniers paquetages sont nécessaires pour assembler Invenio : aptitude install automake1.9 autoconf aptitude install git-core git-gui giggle git-buildpackage zip Des paquetages optionnels sont également installés : aptitude install rxp python-psyco sbcl cmucl pylint pychecker pyflakes python-profiler python-epydoc libapache2-mod-xsendfile openoffice.org Récupération d Invenio et copie sur le serveur Nous téléchargeons l archive cds-invenio-0.99.3.tar.gz et déplions l archive dans un répertoire temporaire: cd /tmp wget http://invenio-software.org/download/cds-invenio-0.99.3.tar.gz tar xvzf cds-invenio-0.99.3.tar.gz cd /tmp/cds-invenio-0.99.3 Le fichier «INSTALL» indique le procedure à suivre pour continuer l installation.

Configuration de Mysql Nous vérifions certains paramètres dans le fichier de configuration /etc/mysql/my.cnf au niveau de la section [mysqld]. Le paramètre «max_allowed_packet» doit être supérieur à 4M. max_allowed_packet = 16M default-character-set=utf8 Préparation d Invenio cd /tmp/cds-invenio-0.99.3./configure make make install ln -s /opt/cds-invenio/lib/python/invenio /usr/lib/python2.5/site-packages/invenio ln -s /opt/cds-invenio/lib/python/invenio /usr/local/lib/python2.5/site-packages/invenio make install make install-jsmath-plugin Configuration d Invenio Invenio est maintenant installé sur le serveur Edition du fichier /opt/cds-invenio/etc/invenio.conf (voir annexe) Edition du fichier /opt/cds-invenio/etc/invenio-local.conf [Invenio] CFG_SITE_URL = http://entrepot.obs-vlfr.fr CFG_SITE_SECURE_URL = https://entrepot.obs-vlfr.fr CFG_DATABASE_HOST = localhost CFG_DATABASE_NAME = cdsinvenio CFG_DATABASE_USER = cdsinvenio CFG_DATABASE_PASS = mot de passe CFG_SITE_NAME = Entrepot OOV CFG_SITE_NAME_INTL_en = OOV repository CFG_SITE_NAME_INTL_fr = Entrepot OOV CFG_SITE_NAME_INTL_de = OOV repository CFG_SITE_NAME_INTL_es = OOV repository CFG_SITE_LANG = fr CFG_SITE_LANGS = de,en,es,fr CFG_SITE_SUPPORT_EMAIL = Olivier.Boebion@obs-vlfr.fr CFG_SITE_ADMIN_EMAIL = invenio@obs-vlfr.fr CFG_WEBSEARCH_USE_JSMATH_FOR_FORMATS = Lancement de la configuration du site à partir des fichiers de configuration /opt/cds-invenio/bin/inveniocfg --update-all

Création de la base de données cdsinvenio dans MySQL mysql -h localhost -u root -p mysql mysql> CREATE DATABASE cdsinvenio DEFAULT CHARACTER SET utf8; mysql> GRANT ALL PRIVILEGES ON cdsinvenio.* TO root@localhost IDENTIFIED BY 'motdepasse'; mysql> QUIT Création des tables de la base de données cdsinvenio dans MySQL /opt/cds-invenio/bin/inveniocfg --create-tables Création des fichiers de configuration pour le serveur Web Apache /opt/cds-invenio/bin/inveniocfg --create-apache-conf Les 2 fichiers suivants sont créés : Fichier /opt/cds-invenio/etc/apache/invenio-apache-vhost-ssl.conf AddDefaultCharset UTF-8 ServerSignature Off ServerTokens Prod NameVirtualHost *:80 Listen 80 <Files *.pyc> <Files *~> <VirtualHost *:80> ServerName entrepot.obs-vlfr.fr ServerAlias entrepot ServerAdmin invenio@obs-vlfr.fr DocumentRoot /opt/cds-invenio/var/www Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ErrorLog /opt/cds-invenio/var/log/apache.err LogLevel warn CustomLog /opt/cds-invenio/var/log/apache.log combined DirectoryIndex index.en.html index.html <LocationMatch "^(/+$ /index /collection /record /author /search /browse /youraccount /youralerts /yourbaskets /y ourmessages /yourgroups /submit /getfile /comments /error /oai2d /rss /help /journal /openurl /stats)"> SetHandler python-program PythonHandler invenio.webinterface_layout </LocationMatch> AddHandler python-program.py PythonHandler mod_python.publisher </VirtualHost>

Fichier /opt/cds-invenio/etc/apache/invenio-apache-vhost-ssl.conf ServerSignature Off ServerTokens Prod #Listen 443 #NameVirtualHost *:443 #SSLCertificateFile /etc/apache2/ssl/apache.pem #SSLCertificateFile /etc/apache2/ssl/server.crt #SSLCertificateKeyFile /etc/apache2/ssl/server.key <Files *.pyc> <Files *~> <VirtualHost *:443> ServerName entrepot.obs-vlfr.fr ServerAlias entrepot ServerAdmin invenio@obs-vlfr.fr SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.pem DocumentRoot /opt/cds-invenio/var/www Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ErrorLog /opt/cds-invenio/var/log/apache-ssl.err LogLevel warn CustomLog /opt/cds-invenio/var/log/apache-ssl.log combined DirectoryIndex index.en.html index.html <LocationMatch "^(/+$ /index /collection /record /author /search /browse /youraccount /youralerts /yourbaskets /y ourmessages /yourgroups /submit /getfile /comments /error /oai2d /rss /help /journal /openurl /stats)"> SetHandler python-program PythonHandler invenio.webinterface_layout </LocationMatch> AddHandler python-program.py PythonHandler mod_python.publisher </VirtualHost> Correction du fichier de configuration /opt/cds invenio/etc/apache/invenio apache vhost.conf en commentant les 2 lignes suivantes : #NameVirtualHost *:80 #Listen 80 Correction du fichier de configuration /opt/cds invenio/etc/apache/invenio apache vhostssl.conf avec les 3 lignes suivantes : SSLCertificateFile /etc/apache2/ssl/apache.pem #SSLCertificateFile /etc/apache2/ssl/server.crt #SSLCertificateKeyFile /etc/apache2/ssl/server.key

Configuration d Apache aptitude install ssl-cert mkdir /etc/apache2/ssl /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem chown -R www-data.www-data /opt/cds-invenio ln -s /opt/cds-invenio/etc/apache/invenio-apache-vhost.conf /etc/apache2/sitesavailable/invenio ln -s /opt/cds-invenio/etc/apache/invenio-apache-vhost-ssl.conf /etc/apache2/sitesavailable/invenio-ssl /usr/sbin/a2dissite default /usr/sbin/a2ensite invenio /usr/sbin/a2ensite invenio-ssl /usr/sbin/a2enmod ssl Redémarrage du serveur Web Apache /etc/init.d/apache2 restart Le site http://entrepot.obs-vlfr.fr répond