This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:ssocas:cas6install [2021/12/11 23:02] adminjp [etat des lieux] |
docpublic:systemes:ssocas:cas6install [2022/12/14 22:25] (current) adminjp [CAS6 template overlay] |
||
|---|---|---|---|
| Line 295: | Line 295: | ||
| on commence par recuperer le template overlay de CAS | on commence par recuperer le template overlay de CAS | ||
| - | cf https:// | + | cf https:// |
| Line 674: | Line 674: | ||
| May 22 11:27:55 ldap slapd[2086]: | May 22 11:27:55 ldap slapd[2086]: | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ==== attributes ==== | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| ==== Registering Applications ==== | ==== Registering Applications ==== | ||
| - | les appplications clientes | + | les appplications clientes |
| - | nous délarons | + | nous déclarons |
| < | < | ||
| Line 966: | Line 973: | ||
| < | < | ||
| - | [root@ssocas6d | + | [root@ssocas6dev |
| screen.pm.button.forgotpwd=< | screen.pm.button.forgotpwd=< | ||
| </ | </ | ||
| Line 1062: | Line 1069: | ||
| </ | </ | ||
| - | => on a modifier | + | => on a modifié |
| < | < | ||
| Line 1121: | Line 1128: | ||
| fatal: refus de fusionner des historiques sans relation | fatal: refus de fusionner des historiques sans relation | ||
| </ | </ | ||
| + | |||
| + | on a un soucis fusion des versions | ||
| < | < | ||
| Line 1129: | Line 1138: | ||
| (utilisez "git pull" pour fusionner la branche distante dans la vôtre) | (utilisez "git pull" pour fusionner la branche distante dans la vôtre) | ||
| </ | </ | ||
| + | |||
| + | notre branche locale a divergé avec la remote (origin/ | ||
| + | |||
| < | < | ||
| Line 1148: | Line 1160: | ||
| </ | </ | ||
| - | tentative de rebase sur la derniere version | + | premiere |
| < | < | ||
| Line 1168: | Line 1180: | ||
| </ | </ | ||
| - | on doit corriger manuellement build.gradle | + | on doit corriger manuellement |
| < | < | ||
| Line 1196: | Line 1208: | ||
| </ | </ | ||
| - | on retire les commentaire | + | on retire les commentaires |
| Line 1224: | Line 1236: | ||
| modifié des deux côtés : gradle.properties | modifié des deux côtés : gradle.properties | ||
| </ | </ | ||
| + | |||
| + | === merger / edit conflit === | ||
| + | |||
| + | on corrige les conflits de tous les fichiers énoncés ci-dessus | ||
| + | |||
| + | < | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | [HEAD détachée 088681c] merged build.gradle etc/ | ||
| + | | ||
| + | |||
| + | |||
| + | 5 files changed, 55 insertions(+), | ||
| + | </ | ||
| + | |||
| + | maintenant que tout est mergé/ | ||
| + | |||
| + | < | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | Rebasage et mise à jour de refs/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== rebuild ==== | ||
| + | |||
| + | d' | ||
| + | |||
| + | < | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | </ | ||
| + | |||
| + | on peux reconstruire le projet sur cette nouvelle version maintenant | ||
| + | |||
| + | < | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | |||
| + | To honour the JVM settings for this build a single-use Daemon process will be forked. See https:// | ||
| + | Daemon will be stopped at the end of the build | ||
| + | |||
| + | Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. | ||
| + | |||
| + | You can use ' | ||
| + | |||
| + | See https:// | ||
| + | |||
| + | BUILD SUCCESSFUL in 1m 31s | ||
| + | 12 actionable tasks: 12 executed | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | / | ||
| + | |||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | cp : voulez-vous écraser '/ | ||
| + | </ | ||
| + | |||
| + | === restart tomcat === | ||
| + | |||
| + | on redemare tomcat | ||
| + | |||
| + | < | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | [root@cas6dev cas-overlay-template]# | ||
| + | |||
| + | | ||
| + | / \ | _ \| ____| _ \| ____/ _ \ / ___| / \ / ___| | ||
| + | / _ \ | |_) | _| | |_) | _|| | | | | | / _ \ \___ \ | ||
| + | / ___ \| __/| |___| _ <| |__| |_| | | |___ / ___ \ ___) | | ||
| + | / | ||
| + | |||
| + | |||
| + | CAS Version: 6.3.7 | ||
| + | CAS Branch: 6.3.x | ||
| + | CAS Commit Id: 7fd72bfc3b295ffea9c9a518a082ff701aa97afa | ||
| + | CAS Build Date/Time: 2021-12-11T22: | ||
| + | Spring Boot Version: 2.3.7.RELEASE | ||
| + | Spring Version: 5.2.12.RELEASE | ||
| + | Java Home: / | ||
| + | Java Vendor: Red Hat, Inc. | ||
| + | Java Version: 11.0.12 | ||
| + | JVM Free Memory: 348 MB | ||
| + | JVM Maximum Memory: 910 MB | ||
| + | JVM Total Memory: 623 MB | ||
| + | |||
| + | </ | ||
| + | |||
| + | On est up2date pour CAS ! . | ||
| + | |||
| + | |||
| + | ===== update tomcat ===== | ||
| + | |||
| + | depuis le passage en rhel/ | ||
| + | |||
| + | ==== download et de-tar ==== | ||
| + | < | ||
| + | [root@cas6dev opt]# wget https:// | ||
| + | [root@cas6dev opt]# tar xvfz apache-tomcat-9.0.56.tar.gz | ||
| + | [root@cas6dev opt]# chown -R tomcat: | ||
| + | |||
| + | [root@cas6dev opt]# cd apache-tomcat-9.0.56 | ||
| + | </ | ||
| + | |||
| + | ==== edit config files ==== | ||
| + | |||
| + | il faut retablir la configuration dans les fichiers configurés | ||
| + | |||
| + | - conf/ | ||
| + | - conf/ | ||
| + | - webapps/ | ||
| + | |||
| + | ==== cas.war dans webapps ==== | ||
| + | |||
| + | on remet la cas.war dans le webapps du la nouvelle version tomcat pour redeploiement automatique au lancement de tomcat | ||
| + | |||
| + | < | ||
| + | [root@cas6dev opt]# cp / | ||
| + | </ | ||
| + | |||
| + | ==== lien tomcat et restart ==== | ||
| + | |||
| + | on arrete tomcat, repositionne le lien /opt/tomcat vers notre nouvelle version et on relance tomcat | ||
| + | |||
| + | < | ||
| + | [root@cas6dev opt]# systemctl stop tomcat.service | ||
| + | [root@cas6dev opt]# rm tomcat | ||
| + | rm : supprimer ' | ||
| + | [root@cas6dev opt]# ln -s apache-tomcat-9.0.56 tomcat | ||
| + | [root@cas6dev opt]# systemctl start tomcat | ||
| + | [root@cas6dev opt]# tail -f tomcat/ | ||
| + | ... | ||
| + | / \ | _ \| ____| _ \| ____/ _ \ / ___| / \ / ___| | ||
| + | / _ \ | |_) | _| | |_) | _|| | | | | | / _ \ \___ \ | ||
| + | / ___ \| __/| |___| _ <| |__| |_| | | |___ / ___ \ ___) | | ||
| + | / | ||
| + | |||
| + | |||
| + | CAS Version: 6.3.7 | ||
| + | CAS Branch: 6.3.x | ||
| + | .. | ||
| + | ------------------------------------------------------------ | ||
| + | Apache Tomcat Version: Apache Tomcat/ | ||
| + | ------------------------------------------------------------ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||