⇤ ← Version 1 à la date du 2016-09-22 21:02:04
Taille: 2264
Commentaire:
|
Taille: 2227
Commentaire:
|
Texte supprimé. | Texte ajouté. |
Ligne 4: | Ligne 4: |
ORI OAI | = ORI OAI = |
Ligne 6: | Ligne 6: |
== Installation des paquets == {{{ |
|
Ligne 7: | Ligne 10: |
}}} | |
Ligne 8: | Ligne 12: |
== Installation du moteur ORI-OAI == | |
Ligne 9: | Ligne 14: |
alter database orioai DEFAULT CHARACTER SET = 'utf8' DEFAULT COLLATE = 'utf8_general_ci'; | Se referer a la documentation AUF - IDNEUF - MOTEUR ORI-OAI. |
Ligne 11: | Ligne 16: |
DB : idneuf / XXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxx | == Configuration de la base == {{{ mysql> alter database orioai DEFAULT CHARACTER SET = 'utf8' DEFAULT COLLATE = 'utf8_general_ci'; |
Ligne 17: | Ligne 26: |
}}} | |
Ligne 18: | Ligne 28: |
fakeroot make-jpkg jdk-8u102-linux-x64.tar.gz | == Verifier la version de Java == |
Ligne 20: | Ligne 30: |
oot@prod-ori-oai01-idneuf:/opt/jdk# java -version | {{{ root@prod-ori-oai01-idneuf:/opt/jdk# java -version |
Ligne 24: | Ligne 35: |
}}} | |
Ligne 25: | Ligne 37: |
== Gestion des permissions == === Creation du user et groupe tomcat === {{{ |
|
Ligne 27: | Ligne 43: |
}}} | |
Ligne 28: | Ligne 45: |
=== Authentification Apache === {{{ |
|
Ligne 34: | Ligne 52: |
}}} | |
Ligne 37: | Ligne 56: |
{{{ | |
Ligne 38: | Ligne 58: |
}}} | |
Ligne 40: | Ligne 61: |
PROD cat commons-parameters.properties.prod | sed 's/\/var\/app\/idneuf/\/opt/g' | sed 's/ori\-oai\.idneuf\.org/prod\-ori\-oai01\-idneuf\.vpc02\.auf/g' > commons-parameters.properties DEV cat commons-parameters.properties.dev | sed 's/\/var\/app\/idneuf/\/opt/g' | sed 's/ori\-oai\.idneuf\.org/dev\-ori\-oai01\-idneuf\.vpc02\.auf/g' > commons-parameters.properties |
== Droits sur les dosseirs dans /opt.ori-oai/ == {{{ |
Ligne 66: | Ligne 78: |
}}} |
Rédiger « Projet/IDNeuf/StepByStepORIOAI » ici.
ORI OAI
Installation des paquets
apt-get install ant apache2 unzip java-package libgl1-mesa-glx libxslt1.1 libxtst6 libxxf86vm1 libcommons-lang-java libgtk2.0-0 php5
Installation du moteur ORI-OAI
Se referer a la documentation AUF - IDNEUF - MOTEUR ORI-OAI.
Configuration de la base
mysql> alter database orioai DEFAULT CHARACTER SET = 'utf8' DEFAULT COLLATE = 'utf8_general_ci'; mysql> grant all on orioai.* to 'idneuf'@'prod-ori-oai01-idneuf.vpc02.auf' identified by 'XXXXXXXXXXXXXXXXX'; Query OK, 0 rows affected (0.00 sec)
Verifier la version de Java
root@prod-ori-oai01-idneuf:/opt/jdk# java -version java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
Gestion des permissions
Creation du user et groupe tomcat
groupadd -g 1007 tomcat useradd -m -g tomcat -u 1007 -d /opt/ -s /usr/sbin/nologin tomcat
Authentification Apache
mkdir -p /opt/ori-oai/auth cd /opt/ori-oai/auth htpasswd -c idneuf-auth idneuf-adm
Pour modifier le mode passe
htpasswd idneuf-auth idneuf-adm
Droits sur les dosseirs dans /opt.ori-oai/
root@prod-ori-oai01-idneuf:/opt/ori-oai# ll total 68 drwxr-xr-x 2 root root 4096 sep 20 18:06 auth drwxr-xr-x 5 tomcat tomcat 4096 sep 22 19:02 data drwxr-xr-x 4 root root 4096 sep 21 20:24 install drwxr-xr-x 2 tomcat tomcat 4096 sep 21 21:57 logs drwx------ 2 root root 16384 sep 20 17:34 lost+found drwxr-xr-x 2 tomcat tomcat 4096 sep 21 20:31 ori-oai-repository drwxr-xr-x 7 root root 4096 sep 22 17:59 src drwxr-xr-x 9 tomcat tomcat 4096 sep 21 20:30 tomcat-harvester drwxr-xr-x 9 tomcat tomcat 4096 sep 21 20:30 tomcat-indexing drwxr-xr-x 9 tomcat tomcat 4096 sep 21 20:30 tomcat-repository drwxr-xr-x 9 tomcat tomcat 4096 sep 21 20:30 tomcat-search drwxr-xr-x 9 tomcat tomcat 4096 sep 21 20:30 tomcat-vocabulary lrwxrwxrwx 1 tomcat tomcat 59 sep 21 20:56 web -> /opt/ori-oai/install/ori-oai-quick-install-2.1.0-alpha/web/