This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docpublic:systemes:esup:esup_socle [2010/09/08 08:35] PROCACCIA |
docpublic:systemes:esup:esup_socle [2011/05/20 15:37] (current) PROCACCIA |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Socle Esup ===== | + | ===== Socle Esup 3.1 ===== |
Installation d'un socle esup-portail 3.1.2 sous centos 5 | Installation d'un socle esup-portail 3.1.2 sous centos 5 | ||
Line 36: | Line 36: | ||
[root@esup3dev / | [root@esup3dev / | ||
$ wget http:// | $ wget http:// | ||
+ | </ | ||
+ | |||
+ | ==== Java JDK ==== | ||
+ | |||
+ | depuis le package non-free de jpackage, nous avons recompilé sur un repository maison | ||
+ | |||
+ | < | ||
+ | [root@esup32dev yum.repos.d]# | ||
+ | |||
+ | =========================================================================================================================== | ||
+ | | ||
+ | =========================================================================================================================== | ||
+ | Installing: | ||
+ | | ||
+ | Installing for dependencies: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | =========================================================================================================================== | ||
+ | Install | ||
+ | Upgrade | ||
+ | |||
+ | Total download size: 68 M | ||
+ | Is this ok [y/N]: y | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | au final entre le jdk et le jre java-sun nous avons | ||
+ | |||
+ | < | ||
+ | [root@esup32dev ~]# ls -l / | ||
+ | total 4 | ||
+ | lrwxrwxrwx 1 root root 26 May 20 12:18 java -> / | ||
+ | lrwxrwxrwx 1 root root 32 May 20 12:18 java-1.6.0 -> / | ||
+ | lrwxrwxrwx 1 root root 23 May 20 12:18 java-1.6.0-sun -> java-1.6.0-sun-1.6.0.21 | ||
+ | drwxr-xr-x 6 root root 4096 May 20 12:18 java-1.6.0-sun-1.6.0.21 | ||
+ | lrwxrwxrwx 1 root root 30 May 20 12:18 java-sun -> / | ||
+ | lrwxrwxrwx 1 root root 21 May 20 12:18 jre -> / | ||
+ | lrwxrwxrwx 1 root root 27 May 20 12:18 jre-1.6.0 -> / | ||
+ | lrwxrwxrwx 1 root root 27 May 20 12:18 jre-1.6.0-sun -> java-1.6.0-sun-1.6.0.21/ | ||
+ | lrwxrwxrwx 1 root root 25 May 20 12:18 jre-sun -> / | ||
+ | </ | ||
+ | |||
+ | Soit, en suivant les liens, un java_home de : | ||
+ | |||
+ | < | ||
+ | [root@esup32dev ~]# ll / | ||
+ | total 16 | ||
+ | drwxr-xr-x 2 root root 4096 May 20 12:18 bin | ||
+ | drwxr-xr-x 3 root root 4096 May 20 12:18 include | ||
+ | drwxr-xr-x 5 root root 4096 May 20 12:18 jre | ||
+ | drwxr-xr-x 3 root root 4096 May 20 12:18 lib | ||
</ | </ | ||
Line 41: | Line 106: | ||
==== probleme de dependances ==== | ==== probleme de dependances ==== | ||
- | si probleme de dependance du genre: | + | si probleme de dependance |
< | < | ||
- | Missing Dependency: / | + | java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.i386 from core-0 has depsolving problems |
+ | --> | ||
</ | </ | ||
+ | alors c'est un probleme connu: | ||
cf http:// | cf http:// | ||
Line 59: | Line 126: | ||
an erase of jpackage-utils, | an erase of jpackage-utils, | ||
- | CE que j'ai fais sur ecm3: | + | en effet |
+ | |||
+ | < | ||
+ | [root@esup32dev ~]# rpm -qa | grep jpackage-utils | ||
+ | jpackage-utils-5.0.0-2.jpp5 | ||
+ | </ | ||
+ | |||
+ | Ce que j'ai fais : | ||
disable (enable=0) sur le repo jpackage-generic | disable (enable=0) sur le repo jpackage-generic | ||
< | < | ||
- | [root@ecm3 yum.repos.d]# | + | [root@esup32dev |
[jpackage-generic] | [jpackage-generic] | ||
name=JPackage (free), generic | name=JPackage (free), generic | ||
Line 74: | Line 148: | ||
retrait sauvage (--nodeps) de jpackage-utils | retrait sauvage (--nodeps) de jpackage-utils | ||
+ | |||
< | < | ||
- | [root@ecm3 yum.repos.d]# | + | [root@esup32dev yum.repos.d]# |
+ | error: Failed dependencies: | ||
+ | jpackage-utils >= 0:1.5.38 is needed by (installed) java-1.6.0-sun-1.6.0.21-1jpp.i586 | ||
+ | [root@esup32dev | ||
</ | </ | ||
+ | |||
installation (depuis centos repo !) | installation (depuis centos repo !) | ||
< | < | ||
- | [root@ecm3 yum.repos.d]# | + | [root@esup32dev |
+ | =========================================================================================================================== | ||
+ | | ||
+ | =========================================================================================================================== | ||
+ | Installing: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | =========================================================================================================================== | ||
+ | Install | ||
+ | Upgrade | ||
+ | |||
+ | Total download size: 61 k | ||
</ | </ | ||
cela passe alors avec celui ci | cela passe alors avec celui ci | ||
< | < | ||
- | $ rpm -q jpackage-utils | + | [root@esup32dev yum.repos.d]# |
jpackage-utils-1.7.3-1jpp.2.el5 | jpackage-utils-1.7.3-1jpp.2.el5 | ||
</ | </ | ||
+ | |||
+ | on pense a réactiver jpackage50.repo (enabled=1) pour le futur tomcat6 . | ||
- | ================================================================================================================================= | ||
- | | ||
- | ================================================================================================================================= | ||
- | Installing: | ||
- | | ||
===== Tomcat ===== | ===== Tomcat ===== | ||
- | l' | + | Installation |
< | < | ||
$ yum install tomcat6 | $ yum install tomcat6 | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | =========================================================================================================================== | ||
+ | | ||
+ | =========================================================================================================================== | ||
+ | Installing: | ||
+ | | ||
+ | Installing for dependencies: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
Transaction Summary | Transaction Summary | ||
- | ============================================================================================================================= | + | =========================================================================================================================== |
- | Install | + | Install |
- | Update | + | Upgrade |
- | Remove | + | |
- | Total download size: 51 M | + | Total download size: 42 M |
- | Installed: | + | Is this ok [y/N]: y |
- | tomcat6.noarch 0: | + | |
- | Dependency Installed: | ||
- | at.x86_64 0: | ||
- | avahi-compat-libdns_sd.x86_64 0: | ||
- | bitstream-vera-fonts.noarch 0: | ||
- | cups.x86_64 1: | ||
- | dbus-python.x86_64 0: | ||
- | fontconfig.x86_64 0: | ||
- | gettext.x86_64 0: | ||
- | jakarta-commons-daemon.noarch 1: | ||
- | jakarta-commons-logging.noarch 0: | ||
- | java-1.6.0-sun.x86_64 0: | ||
- | libICE.x86_64 0: | ||
- | libX11.x86_64 0: | ||
- | libXdmcp.x86_64 0: | ||
- | libXft.x86_64 0: | ||
- | libXp.x86_64 0: | ||
- | libXt.x86_64 0: | ||
- | libXxf86vm.x86_64 0: | ||
- | libdrm.x86_64 0: | ||
- | mesa-libGL.x86_64 0: | ||
- | paps.x86_64 0: | ||
- | pax.x86_64 0: | ||
- | tomcat6-el-1.0-api.noarch 0: | ||
- | tomcat6-lib.noarch 0: | ||
- | xorg-x11-filesystem.noarch 0:7.1-2.fc6 | ||
- | Dependency Updated: | ||
- | cups-libs.x86_64 1: | ||
</ | </ | ||
Line 146: | Line 256: | ||
< | < | ||
$ yum install tomcat6-webapps tomcat6-admin-webapps | $ yum install tomcat6-webapps tomcat6-admin-webapps | ||
- | Installed: | ||
- | tomcat6-webapps.noarch 0: | ||
- | Dependency Installed: | + | |
- | jakarta-taglibs-standard.noarch | + | =========================================================================================================================== |
- | tomcat5-servlet-2.4-api.noarch | + | |
- | xerces-j2.noarch | + | =========================================================================================================================== |
- | | + | Installing: |
+ | | ||
+ | | ||
+ | Installing for dependencies: | ||
+ | | ||
+ | tomcat5-jsp-2.0-api | ||
+ | | ||
+ | xalan-j2 | ||
+ | |||
+ | Transaction Summary | ||
+ | =========================================================================================================================== | ||
+ | Install | ||
+ | Upgrade | ||
+ | |||
+ | Total download size: 2.5 M | ||
+ | Is this ok [y/N]: y | ||
</ | </ | ||
=== repertoire lib 5->6 === | === repertoire lib 5->6 === | ||
+ | |||
+ | [video1 3.2 ~29mn] | ||
en tomcat5 il y avait des librairies dans common et shared, depuis le 6 il y a seulement un repertoire lib. pour la compatibilité avec les anciens canaux esup , il faut recreer cette arborescence de lib. | en tomcat5 il y avait des librairies dans common et shared, depuis le 6 il y a seulement un repertoire lib. pour la compatibilité avec les anciens canaux esup , il faut recreer cette arborescence de lib. | ||
Line 191: | Line 317: | ||
lrwxrwxrwx 1 root root 23 Apr 24 17:01 work -> / | lrwxrwxrwx 1 root root 23 Apr 24 17:01 work -> / | ||
</ | </ | ||
+ | |||
+ | initialement | ||
+ | |||
+ | < | ||
+ | [root@esup32dev tomcat6]# ls -l / | ||
+ | total 4 | ||
+ | drwxrwxr-x 7 root tomcat 4096 May 20 12:36 webapps | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [root@esup32dev tomcat6]# cd / | ||
+ | [root@esup32dev lib]# pwd | ||
+ | / | ||
+ | [root@esup32dev lib]# ls | ||
+ | annotations-api-6.0.29.jar | ||
+ | annotations-api.jar | ||
+ | catalina-6.0.29.jar | ||
+ | catalina-ant-6.0.29.jar | ||
+ | catalina-ant.jar | ||
+ | catalina-ha-6.0.29.jar | ||
+ | catalina-ha.jar | ||
+ | catalina.jar | ||
+ | catalina-tribes-6.0.29.jar | ||
+ | catalina-tribes.jar | ||
+ | </ | ||
+ | |||
adaptation | adaptation | ||
< | < | ||
+ | [root@esup32dev tomcat6]# mkdir -p / | ||
+ | [root@esup32dev tomcat6]# mkdir -p / | ||
+ | [root@esup32dev tomcat6]# mkdir -p / | ||
+ | [root@esup32dev tomcat6]# chgrp -R tomcat / | ||
+ | |||
+ | [root@esup32dev tomcat6]# pwd | ||
+ | / | ||
+ | [root@esup32dev tomcat6]# ln -s / | ||
+ | [root@esup32dev tomcat6]# ln -s / | ||
+ | [root@esup32dev tomcat6]# ll | ||
+ | total 4 | ||
+ | drwxr-xr-x 2 root root 4096 May 20 12:32 bin | ||
+ | lrwxrwxrwx 1 root root 23 May 20 15:46 common -> / | ||
+ | lrwxrwxrwx 1 root root 12 May 20 12:32 conf -> / | ||
+ | lrwxrwxrwx 1 root root 23 May 20 12:32 lib -> / | ||
+ | lrwxrwxrwx 1 root root 16 May 20 12:32 logs -> / | ||
+ | lrwxrwxrwx 1 root root 23 May 20 15:46 shared -> / | ||
+ | lrwxrwxrwx 1 root root 23 May 20 12:32 temp -> / | ||
+ | lrwxrwxrwx 1 root root 24 May 20 12:32 webapps -> / | ||
+ | lrwxrwxrwx 1 root root 23 May 20 12:32 work -> / | ||
+ | </ | ||
+ | |||
+ | avant 2010... | ||
+ | |||
+ | < | ||
+ | |||
[root@esup3dev / | [root@esup3dev / | ||
$ mkdir -p / | $ mkdir -p / | ||
Line 215: | Line 393: | ||
</ | </ | ||
- | + | === Server.xml | |
- | ==== Java JDK ==== | + | |
- | + | ||
- | depuis le package non-free de jpackage, noius avons recompilé sur un repository maison | + | |
< | < | ||
- | [root@esup3dev ~] | + | [root@esup32dev / |
- | $ yum install java-1.6.0-sun-devel | + | $ diff server.xml.orig server.xml |
- | =========================================================================================================================== | + | 102c102 |
- | Package | + | < < |
- | =========================================================================================================================== | + | --- |
- | Installing: | + | > < |
- | java-1.6.0-sun-devel | + | 129c129 |
- | + | < | |
- | Transaction Summary | + | --- |
- | =========================================================================================================================== | + | > |
- | Install | + | |
- | Update | + | |
- | Remove | + | |
- | + | ||
- | Total download size: 9.4 M | + | |
- | Is this ok [y/N]: y | + | |
</ | </ | ||
- | au final entre le jdk et le jre java-sun nous avons | ||
- | < | + | === catalina.properties === |
- | $ ls -l / | + | |
- | total 4 | + | |
- | lrwxrwxrwx 1 root root 26 Apr 27 17:50 java -> / | + | |
- | lrwxrwxrwx 1 root root 32 Apr 27 17:50 java-1.6.0 -> / | + | |
- | lrwxrwxrwx 1 root root 22 Apr 27 17:50 java-1.6.0-sun -> java-1.6.0-sun-1.6.0.6 | + | |
- | drwxr-xr-x 6 root root 4096 Apr 27 17:50 java-1.6.0-sun-1.6.0.6 | + | |
- | lrwxrwxrwx 1 root root 30 Apr 27 17:50 java-sun -> / | + | |
- | lrwxrwxrwx 1 root root 21 Apr 24 17:01 jre -> / | + | |
- | lrwxrwxrwx 1 root root 27 Apr 24 17:01 jre-1.6.0 -> / | + | |
- | lrwxrwxrwx 1 root root 26 Apr 24 17:01 jre-1.6.0-sun -> java-1.6.0-sun-1.6.0.6/ | + | |
- | lrwxrwxrwx 1 root root 25 Apr 24 17:01 jre-sun -> / | + | |
- | </ | + | |
- | Soit, en suivant | + | les librairies pluto* etc .. vont encore suivre l' |
< | < | ||
- | $ ls -l /usr/lib/ | + | [root@esup32dev |
- | total 16 | + | $ diff catalina.properties.orig catalina.properties |
- | drwxr-xr-x 2 root root 4096 Apr 27 17:50 bin | + | 74c74 |
- | drwxr-xr-x 3 root root 4096 Apr 27 17:50 include | + | < shared.loader= |
- | drwxr-xr-x 4 root root 4096 Apr 24 17:01 jre | + | --- |
- | drwxr-xr-x 2 root root 4096 Apr 27 17:50 lib | + | > shared.loader=${catalina.base}/ |
</ | </ | ||
+ | |||
==== Ant ==== | ==== Ant ==== | ||
Line 272: | Line 429: | ||
< | < | ||
$ yum install ant | $ yum install ant | ||
- | --> | + | --> |
- | https:// | + | java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.i386 from installed has depsolving problems |
- | | + | --> Missing |
+ | Error: | ||
</ | </ | ||
- | retrait de jpckage-utils (from jpackage 5.0) | + | retrait de jpckage-utils (from jpackage 5.0, enabled = 0 dans le fichier .repo) |
< | < | ||
- | Removing: | + | $ rpm -e jpackage-utils |
- | | + | error: Failed dependencies: |
- | [root@esup3dev ~] | + | jpackage-utils |
+ | jpackage-utils is needed by (installed) antlr-2.7.6-6.jpp5.noarch | ||
+ | jpackage-utils >= 0:1.7.2 is needed by (installed) jakarta-commons-logging-1.1-8.jpp5.noarch | ||
+ | jpackage-utils >= 0: | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | on force un --nodeps | ||
+ | |||
+ | < | ||
+ | [root@esup32dev / | ||
$ rpm -e jpackage-utils --nodeps | $ rpm -e jpackage-utils --nodeps | ||
+ | warning: / | ||
+ | </ | ||
+ | |||
+ | |||
</ | </ | ||
reinstallation depuis le repo centos en version 1.7 incluant le fameux rebuild-security-providers | reinstallation depuis le repo centos en version 1.7 incluant le fameux rebuild-security-providers | ||
< | < | ||
- | [root@esup3dev ~] | + | [root@esup32dev / |
$ yum install jpackage-utils | $ yum install jpackage-utils | ||
- | Installing: | + | Installed: |
- | | + | jpackage-utils.noarch |
- | [root@esup3dev ~] | ||
$ rpm -qli jpackage-utils | grep rebuild-security | $ rpm -qli jpackage-utils | grep rebuild-security | ||
/ | / | ||
- | |||
</ | </ | ||
Line 302: | Line 472: | ||
< | < | ||
+ | [root@esup32dev / | ||
$ yum --disablerepo=jpackage-generic install ant ant-apache-regexp ant-contrib | $ yum --disablerepo=jpackage-generic install ant ant-apache-regexp ant-contrib | ||
+ | |||
=========================================================================================================================== | =========================================================================================================================== | ||
- | | + | |
=========================================================================================================================== | =========================================================================================================================== | ||
Installing: | Installing: | ||
- | | + | |
- | | + | |
- | | + | |
Installing for dependencies: | Installing for dependencies: | ||
- | alsa-lib | + | junit |
- | | + | regexp |
- | | + | xerces-j2 |
- | gjdoc x86_64 | + | xml-commons |
- | | + | xml-commons-apis i386 |
- | | + | xml-commons-resolver |
- | java-1.4.2-gcj-compat | + | |
- | | + | |
- | | + | |
- | | + | |
- | libXinerama | + | |
- | | + | |
- | | + | |
- | libgcj | + | |
- | | + | |
- | | + | |
Transaction Summary | Transaction Summary | ||
=========================================================================================================================== | =========================================================================================================================== | ||
- | Install | + | Install |
- | Update | + | Upgrade |
- | Remove | + | |
- | Total download size: 30 M | + | Total download size: 5.8 M |
Is this ok [y/N]: y | Is this ok [y/N]: y | ||
</ | </ | ||
Line 451: | Line 612: | ||
==== archive ==== | ==== archive ==== | ||
- | recuperer l' | + | recuperer l' |
- | ici esup-3.1.2-esup-0.5-RC3.tar.gz | + | |
travailler en tant qu' | travailler en tant qu' | ||
Line 461: | Line 621: | ||
$ cd src | $ cd src | ||
$ wget https:// | $ wget https:// | ||
+ | [esup@esup32dev ~] | ||
+ | $ ls -l | ||
+ | total 2132 | ||
+ | -rw-rw-r-- 1 esup esup 2178865 May 20 17:24 esup-uPortal-3.2.4-esup-1.0.0-RC3.tar.gz | ||
</ | </ | ||
Line 1598: | Line 1762: | ||
ProxyPass / | ProxyPass / | ||
</ | </ | ||
+ | |||
+ | le retry=1 demande a apache de ressayer apres 1s si echec d' | ||
+ | cf video 3.2 ~50mn | ||
===== SSL ===== | ===== SSL ===== | ||
Line 2390: | Line 2557: | ||
compile: | compile: | ||
[javac] Compiling 25 source files to / | [javac] Compiling 25 source files to / | ||
- | [javac] / | + | [javac] / |
- | </ | + | |
- | + | ||
- | alors | + | |
- | + | ||
- | < | + | |
- | $ diff -ur build.xml.orig build.xml | + | |
- | --- build.xml.orig 2010-08-25 17: | + | |
- | +++ build.xml 2010-08-25 17: | + | |
- | @@ -62,6 +62,9 @@ | + | |
- | + | ||
- | | + | |
- | | + | |
- | + | ||
- | + <!-- https:// | + | |
- | + < | + | |
- | + | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ ant all | + | |
- | Buildfile: build.xml | + | |
- | + | ||
- | clean: | + | |
- | | + | |
- | + | ||
- | undeploy: | + | |
- | + | ||
- | prepare: | + | |
- | [mkdir] Created dir: / | + | |
- | [mkdir] Created dir: / | + | |
- | + | ||
- | prepareINSTALL: | + | |
- | + | ||
- | prepareUPGRADE: | + | |
- | + | ||
- | prepareREADME: | + | |
- | + | ||
- | prepareLICENCE: | + | |
- | + | ||
- | prepareCHANGELOG: | + | |
- | + | ||
- | compile: | + | |
- | [javac] Compiling 25 source files to / | + | |
- | [javac] / | + | |
- | [javac] logLevel = Priority.DEBUG; | + | |
- | [javac] ^ | + | |
- | [javac] / | + | |
- | [javac] xslParameters.put(" | + | |
- | [javac] ^ | + | |
- | [javac] / | + | |
- | [javac] getXSLParameter().put(" | + | |
- | [javac] ^ | + | |
- | [javac] / | + | |
- | [javac] String redirect = runtimeData.getBaseActionURL(true) + "?"; | + | |
- | [javac] ^ | + | |
- | [javac] Note: Some input files use unchecked or unsafe operations. | + | |
- | [javac] Note: Recompile with -Xlint: | + | |
- | [javac] 4 warnings | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | deploy: | + | |
- | | + | |
- | + | ||
- | all: | + | |
- | + | ||
- | BUILD SUCCESSFUL | + | |
- | Total time: 1 second | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | Retour au deployement de CStockage maintenant que MAG est disponible: | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ ant all | + | |
- | Buildfile: build.xml | + | |
- | + | ||
- | clean: | + | |
- | | + | |
- | + | ||
- | undeploy: | + | |
- | + | ||
- | prepareBuild: | + | |
- | [mkdir] Created dir: / | + | |
- | [mkdir] Created dir: / | + | |
- | + | ||
- | compile: | + | |
- | [javac] Compiling 123 source files to / | + | |
- | [javac] / | + | |
- | [javac] String downloadUrl = runtimeData.getBaseWorkerURL(UPFileSpec.FILE_DOWNLOAD_WORKER, | + | |
- | [javac] ^ | + | |
- | [javac] / | + | |
- | [javac] int reasonCode = ex.getReasonCode(); | + | |
- | [javac] ^ | + | |
- | [javac] / | + | |
- | [javac] ex.setReasonCode(status); | + | |
- | [javac] ^ | + | |
- | [javac] Note: Some input files use unchecked or unsafe operations. | + | |
- | [javac] Note: Recompile with -Xlint: | + | |
- | [javac] 3 warnings | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | deploy: | + | |
- | | + | |
- | + | ||
- | all: | + | |
- | + | ||
- | BUILD SUCCESSFUL | + | |
- | Total time: 2 seconds | + | |
- | </ | + | |
- | + | ||
- | fichier de publication du canal | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ cat custom/ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | publication | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ ant db.import -Ddir=/ | + | |
- | ... | + | |
- | [java] Base Import Directory=/ | + | |
- | | + | |
- | | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ===== fragments ===== | + | |
- | + | ||
- | ils permettent d' | + | |
- | il faut preparer des contenu ciblé, onglet, colonne , canaux pour qu'une population est ce pre-remplissage a la connexion . | + | |
- | + | ||
- | Deux composantes: | + | |
- | * definition du fragment (nom-destination) properties/ | + | |
- | * puis ralisation du contenu du fragment | + | |
- | + | ||
- | ==== definition ==== | + | |
- | + | ||
- | ownerID pour trouver le contenu de ce fragment, on crée un utilisateur pour lequel on crée un environement onglets/ | + | |
- | + | ||
- | bonne pratique creer un fragment par onglet afin de pouvoir intercaler de nouveaux onglets en cours d' | + | |
- | + | ||
- | audiance => deepMemberOf de "tout le monde" (heritage), mais memberOf " | + | |
- | + | ||
- | ==== users-lo ==== | + | |
- | + | ||
- | l' | + | |
- | + | ||
- | en Esup3 la simple déclaration du user-lo dans le fichier dlm.xml créé automatiquement l' | + | |
- | comme il n'a pas de mot de passe, on peut se connecter en tant qu' | + | |
- | + | ||
- | Principes d' | + | |
- | + | ||
- | === définition des utilisateurs === | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ ls | + | |
- | enseignant-lo.user | + | |
- | [esup@esup3dev ~/ | + | |
- | $ cat enseignant-lo.user | + | |
- | + | ||
- | <user script=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | === import des utilisateurs === | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ ant db.import -Ddir=/ | + | |
- | Buildfile: build.xml | + | |
- | + | ||
- | db.import: | + | |
- | + | ||
- | prodPrompt: | + | |
- | + | ||
- | crn-import: | + | |
- | + | ||
- | install-parent-pom: | + | |
- | [artifact: | + | |
- | [touch] Creating / | + | |
- | | + | |
- | [artifact: | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | BUILD SUCCESSFUL | + | |
- | Total time: 8 seconds | + | |
- | </ | + | |
- | + | ||
- | il est de bon usage d' | + | |
- | + | ||
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ cat Proprietaires_de_fragment.group_membership | + | |
- | + | ||
- | <group script=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | db import | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ ant db.import -Ddir=/ | + | |
- | Buildfile: build.xml | + | |
- | + | ||
- | db.import: | + | |
- | + | ||
- | prodPrompt: | + | |
- | + | ||
- | crn-import: | + | |
- | + | ||
- | install-parent-pom: | + | |
- | [artifact: | + | |
- | [touch] Creating / | + | |
- | | + | |
- | [artifact: | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | BUILD SUCCESSFUL | + | |
- | Total time: 8 seconds | + | |
- | </ | + | |
- | + | ||
- | === delete d' | + | |
- | + | ||
- | a des fin de test des fragments / profiles, il peut-etre utile d' | + | |
- | + | ||
- | Litse de tache ant et description: | + | |
- | http:// | + | |
- | + | ||
- | + | ||
- | ici c'est "ant user.del -Dusername=test" | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ ant user.del -Dusername=test | + | |
- | | + | |
- | ... | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | BUILD SUCCESSFUL | + | |
- | </ | + | |
- | + | ||
- | ==== Fragments Import XML ==== | + | |
- | + | ||
- | on prepare nos fragments par type de population (associées aux utilisateurs modeles) | + | |
- | + | ||
- | < | + | |
- | [esup@esup3dev ~/ | + | |
- | $ ls | + | |
- | admin-lo.fragment-layout | + | |
- | all-lo.fragment-layout | + | |
- | </ | + | |
- | + | ||
- | ==== Fragments par GUI ==== | + | |
- | + | ||
- | on peux aussi les administrer via l' | + | |
- | + | ||
- | + | ||
- | ==== import des xml ==== | + | |
- | + | ||
- | < | + | |
- | + | ||
- | [esup@esup3dev ~/ | + | |
- | $ ant db.import -Ddir=/ | + | |
- | Buildfile: build.xml | + | |
- | + | ||
- | db.import: | + | |
- | + | ||
- | prodPrompt: | + | |
- | + | ||
- | crn-import: | + | |
- | + | ||
- | install-parent-pom: | + | |
- | [artifact: | + | |
- | [touch] Creating / | + | |
- | | + | |
- | [artifact: | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | BUILD SUCCESSFUL | + | |
- | Total time: 10 seconds | + | |
- | </ | + | |
- | + | ||
- | ===== DLM ===== | + | |
- | + | ||
- | ===== Skin ===== | + | |
- | + | ||
- | + | ||
- | ==== skinList ==== | + | |
- | principe de separation entre le html et la css | + | |
- | + | ||
- | on peux avoir plusieurs css et l' | + | |
- | + | ||
- | Fichier skinList.xml de base avec 2 skin | + | |
- | + | ||
- | < | + | |
- | uportal-war/ | + | |
- | </ | + | |
- | + | ||
- | pour notre skin on reprend ce fichier dans custom | + | |
- | + | ||
- | < | + | |
- | [esup@esup3prod ~/ | + | |
- | $ mkdir -p uportal-war/ | + | |
- | [esup@esup3prod ~/ | + | |
- | $ cp ~/ | + | |
- | </ | + | |
- | + | ||
- | et on l'edit pour ajouter la notre | + | |
- | + | ||
- | + | ||
- | < | + | |
- | [esup@esup3prod ~/ | + | |
- | $ vim uportal-war/ | + | |
- | + | ||
- | $ diff uportal-war/ | + | |
- | 27,34d26 | + | |
- | < | + | |
- | < < | + | |
- | < < | + | |
- | < < | + | |
- | < < | + | |
- | < Skin de Telecom SudParis et Telecom Ecole de Management. | + | |
- | < </ | + | |
- | < </ | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | ==== Skin maison ==== | + | |
- | + | ||
- | Creation d'une skin itsp, preparation de l' | + | |
- | + | ||
- | < | + | |
- | [esup@esup3prod ~/ | + | |
- | $ mkdir -p uportal-war/ | + | |
- | + | ||
- | [esup@gaspar-dev universality]$ scp -r itsp/* root@esup3prod.it-sudparis.eu:/ | + | |
- | </ | + | |
- | + | ||
- | le point d' | + | |
- | + | ||
- | ensuite pour mettre en ligne on init et deploy | + | |
- | + | ||
- | ==== skin par defaut ==== | + | |
- | + | ||
- | le changement du theme par defaut se via le fichier qui gere le profile DLM XML | + | |
- | DLM_XHTML.theme a recopier dans notre custom . | + | |
- | + | ||
- | < | + | |
- | [esup@esup3prod ~/ | + | |
- | $ cp / | + | |
- | </ | + | |
- | + | ||
- | modification | + | |
- | + | ||
- | < | + | |
- | [esup@esup3prod ~/ | + | |
- | $ diff DLM_XHTML.theme / | + | |
- | 23c23 | + | |
- | < < | + | |
- | --- | + | |
- | > < | + | |
- | 28c28 | + | |
- | < </ | + | |
- | --- | + | |
- | > </ | + | |
- | </ | + | |
- | + | ||
- | importation de cette nouvelle xsl | + | |
- | + | ||
- | < | + | |
- | [esup@esup3prod ~/ | + | |
- | $ ant db.import -Ddir=/ | + | |
- | Buildfile: build.xml | + | |
- | ... | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | BUILD SUCCESSFUL | + | |
- | Total time: 7 seconds | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | Tout utilisateur ayant deja personnelement changer son skin, le gardera , donc si on le fait trop tard il faut modifier dans le BD le choix du skin pour chaque users ! | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Tutoriel esup3 en video ==== | + | |
- | + | ||
- | Vidéo tutoriel eSup V3 | + | |
- | + | ||
- | http:// | + | |
- | + | ||
- | http:// | + | |
- | + | ||
- | ==== sujets video1 ==== | + | |
- | + | ||
- | > 9mn tomcat5 -> tomcat6 | + | |
- | > 34mn context /cas et serialisation de sessions au demarrage/ | + | |
- | > 39mn installation du portail | + | |
- | >41,30 java_home build.properties | + | |
- | >42 tomcat.update mettre les jar dont esup a besoin dans tomcat, lors du deployement il les met là où il faut . true une fois, puis a false , sauf si necessité d'une MAJ | + | |
- | >47 real.host quand load balancing | + | |
- | /guest acces a un canal en mode non authentifié | + | |
- | >48 context uportal et contexServingWebapps | + | |
- | >54 sidebar de gauche uportalv3 desactivé | + | |
- | >60 ant get-components (chercher le uportal du jasig) | + | |
- | >61 ant unzip decompacte les zip des package exterieurs esup | + | |
- | * ant init prend les update esup les copie dans uportal et customisation dans uportal | + | |
- | * ant deploy compile les class (1 milliers !) et les deploient dans webapps/ | + | |
- | * ant db_init cree les tables | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ==== video2 ==== | + | |
- | * 20mn le compte admin: | + | |
- | handler file | + | |
- | webapps/ | + | |
- | login:: | + | |
- | + | ||
- | * 27mn ldap persondir | + | |
- | * 38mn ldap groups, smartGroupstore | + | |
- | * 46mn group locaux | + | |
- | * 52mn db.import | + | |
- | * | + | |
- | * | + | |
- | + | ||
- | ==== video3 ==== | + | |
- | + | ||
- | * 0,30mn rappel group PAGS | + | |
- | * 10mn rattachement des groupe PAGS ldap au groupe locaux en db.import | + | |
- | * 15mn discussion sur les types de groups (pags, ldap, smart ...) | + | |
- | * 26mn publication d'un canal | + | |
- | * 38mn les fragments | + | |
- | * 48mn users-lo; utilisateurs modeles de layout | + | |
- | * 51mn DLM | + | |
- | + | ||
- | ==== video4 ==== | + | |
- | + | ||
- | * 0mn contenu des fragments | + | |
- | * 14mn fragment cache: fragment_cache_refresh 5mn par defaut | + | |
- | * 25mn allow disallow move colonne, canal etc ... | + | |
- | * 26mn un fragment commun webmail mais avec cannal iframe masqué par type de population, droits des canaux | + | |
- | * 28,5mn Skin | + | |
- | * 35mn skin par defaut , 35,5 principe de generation xsl structure -> xsl theme | + | |
- | * 41,20 choix du theme par population; uPortalTemplateUserName | + |