This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docpublic:systemes:ssocas:cas71install [2025/02/15 21:31] adminjp [tomcat 10] |
docpublic:systemes:ssocas:cas71install [2025/02/17 17:21] (current) adminjp [personalisation des views] |
||
---|---|---|---|
Line 91: | Line 91: | ||
[root@cas7 ~]# mkdir /opt/tomcat | [root@cas7 ~]# mkdir /opt/tomcat | ||
[root@cas7 ~]# cd /opt | [root@cas7 ~]# cd /opt | ||
- | [root@cas7 opt]# wget https:// | + | [root@cas7 opt]# wget https:// |
- | [root@cas7 opt]# tar xzvf tomcat-10.1.20.tar.gz -C /opt/tomcat --strip-components=1 | + | |
+ | [root@cas7 opt]# tar xzvf apache-tomcat-10.1.35.tar.gz -C /opt/tomcat --strip-components=1 | ||
[root@cas7 opt]# useradd -m -U -d /opt/tomcat -s /bin/false tomcat | [root@cas7 opt]# useradd -m -U -d /opt/tomcat -s /bin/false tomcat | ||
Line 146: | Line 148: | ||
< | < | ||
- | [root@j21t10al9 opt]# chmod 754 / | + | [root@j21t10al9 opt]# chmod +x / |
- | [root@j21t10al9 opt]# chmod 754 / | + | |
- | [root@j21t10al9 opt]# chmod 754 / | + | |
- | + | ||
- | [root@j21t10al9 opt]# mkdir / | + | |
- | [root@j21t10al9 opt]# chown -R tomcat / | + | |
</ | </ | ||
Line 425: | Line 422: | ||
on commence par recuperer le template overlay de CAS | on commence par recuperer le template overlay de CAS | ||
- | cf https:// | + | cf https:// |
Line 431: | Line 428: | ||
[root@cas7 opt]# mkdir cas-src | [root@cas7 opt]# mkdir cas-src | ||
[root@cas7 opt]# cd cas-src/ | [root@cas7 opt]# cd cas-src/ | ||
- | [root@cas7 cas-src]# git clone https:// | + | [root@cas7 cas-src]# |
Cloning into ' | Cloning into ' | ||
- | remote: Enumerating objects: | + | remote: Enumerating objects: |
- | remote: Counting objects: 100% (588/588), done. | + | remote: Counting objects: 100% (26/26), done. |
- | remote: Compressing objects: 100% (259/259), done. | + | remote: Compressing objects: 100% (22/22), done. |
- | remote: Total 2632 (delta | + | remote: Total 2999 (delta |
- | Receiving objects: 100% (2632/2632), 11.09 MiB | 22.63 MiB/s, done. | + | Receiving objects: 100% (2999/2999), 11.04 MiB | 21.38 MiB/s, done. |
- | Resolving deltas: 100% (1396/1396), done. | + | Resolving deltas: 100% (1482/1482), done. |
</ | </ | ||
Line 448: | Line 446: | ||
build.gradle | build.gradle | ||
docker-compose.yml | docker-compose.yml | ||
+ | |||
</ | </ | ||
Line 456: | Line 455: | ||
< | < | ||
- | [root@cas7d cas-overlay-template]# | + | [root@cas7d cas-overlay-template]# |
- | Downloading https:// | + | Downloading https:// |
- | .............10%.............20%.............30%.............40%.............50%.............60%..............70%.............80%.............90%.............100% | + | .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100% |
- | Welcome to Gradle 8.8! | + | Welcome to Gradle 8.12.1! |
Here are the highlights of this release: | Here are the highlights of this release: | ||
- | | + | |
- | | + | - File-system watching support |
- | | + | |
+ | |||
+ | For more details see https:// | ||
+ | |||
+ | ... | ||
+ | BUILD SUCCESSFUL in 2m 45s | ||
+ | 1 actionable task: 1 executed | ||
</ | </ | ||
Line 474: | Line 479: | ||
* https:// | * https:// | ||
- | on choisis | + | on choisi |
< | < | ||
- | [root@cas7 cas-overlay-template]# | + | [root@cas7 cas-overlay-template]# |
- | version=7.0.4 | + | version=7.1.4 |
- | cas.version=7.0.4 | + | cas.version=7.1.4 |
</ | </ | ||
- | et downgrade de springBootVersion du fait du passage de cas version version=7.1.0-SNAPSHOT | + | et downgrade de springBootVersion du fait du passage de cas version version=7.2 RC2 vers 7.1.4 ci-dessus , |
sinon erreur de Class Not Found : " | sinon erreur de Class Not Found : " | ||
< | < | ||
- | # | + | # |
- | springBootVersion=3.2.6 | + | springBootVersion=3.3.3 |
</ | </ | ||
==== support LDAP ==== | ==== support LDAP ==== | ||
Line 526: | Line 532: | ||
[root@cas7d cas-overlay-template]# | [root@cas7d cas-overlay-template]# | ||
cas.properties | cas.properties | ||
+ | </ | ||
+ | |||
+ | ==== creation services ==== | ||
+ | il faut creer a minima le service localhost, autrement le serveur ne demarre pas avec ce type d' | ||
+ | |||
+ | < | ||
+ | 2025-02-17 13: | ||
+ | 2025-02-17 13: | ||
+ | 17-Feb-2025 13: | ||
+ | java.lang.IllegalStateException: | ||
+ | </ | ||
+ | |||
+ | on créé alors le service pour localhost et nos domains | ||
+ | |||
+ | |||
+ | < | ||
+ | [root@cas7 services]# ls -ltr | ||
+ | total 12 | ||
+ | -rw-r--r-- 1 root root 554 Feb 17 14:01 disi_star_imtbs-1718526946.json | ||
+ | -rw-r--r-- 1 root root 536 Feb 17 14:01 disi-localhost-1738144793.json | ||
+ | -rw-r--r-- 1 root root 551 Feb 17 14:04 disi_star_intevry-1739800806.json | ||
+ | |||
+ | [root@cas7 services]# cat disi-localhost-1738144793.json | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | |||
+ | } | ||
</ | </ | ||
Line 649: | Line 696: | ||
< | < | ||
- | [root@cas7 cas-overlay-template]# | + | [root@cas7 cas-overlay-template]# |
- | To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https:// | + | To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https:// |
Daemon will be stopped at the end of the build | Daemon will be stopped at the end of the build | ||
Configuration on demand is an incubating feature. | Configuration on demand is an incubating feature. | ||
- | BUILD SUCCESSFUL in 36s | + | > Configure project : |
- | 9 actionable tasks: 8 executed, 1 up-to-date | + | Using Amazon Corretto as the JVM vendor for the Java toolchain |
+ | Building CAS version 7.1.4 with application server -tomcat | ||
+ | |||
+ | [Incubating] Problems report is available at: file:/// | ||
+ | |||
+ | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. | ||
+ | |||
+ | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. | ||
- | [root@cas7 cas-overlay-template]# | + | For more on this, please refer to https://docs.gradle.org/ |
- | -rwxr--r-- | + | |
+ | BUILD SUCCESSFUL in 29s | ||
+ | 9 actionable tasks: 9 executed | ||
</ | </ | ||
+ | le resulat est dans cette arborescence | ||
+ | |||
+ | < | ||
+ | [root@cas7 cas-overlay-template]# | ||
+ | -rwxr--r-- 1 root root 122460645 Feb 17 13:37 / | ||
+ | </ | ||
==== Deployer dans tomcat ==== | ==== Deployer dans tomcat ==== | ||
Line 672: | Line 733: | ||
[root@cas7 cas-overlay-template]# | [root@cas7 cas-overlay-template]# | ||
- | [root@cas7 | + | [root@cas7 |
- | drwxr-x--- | + | total 119616 |
- | drwxr-x--- 16 tomcat tomcat | + | drwxr-x--- |
- | drwxr-x--- | + | drwxr-x--- 16 tomcat tomcat |
- | drwxr-x--- | + | drwxr-x--- |
- | drwxr-x--- | + | drwxr-x--- |
- | drwxr-x--- | + | drwxr-x--- |
- | -rwxr--r-- | + | -rwxr--r-- |
- | drwxr-x--- | + | drwxr-x--- |
- | + | ||
</ | </ | ||
Line 691: | Line 750: | ||
< | < | ||
- | 06-Jun-2024 19:06:21.431 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/ | + | 17-Feb-2025 14:05:39.342 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/ |
- | 06-Jun-2024 19:06:29.068 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. | + | 17-Feb-2025 14:05:43.267 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. |
- | 2024-06-06 19:06:30,517 INFO [org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - < | + | 2025-02-17 14:05:44,463 INFO [org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - < |
- | 2024-06-06 19:06:30,529 INFO [org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - < | + | 2025-02-17 14:05:44,472 INFO [org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - < |
- | + | | |
- | 2024-06-06 19: | + | |
- | + | ||
- | | + | |
/ | / | ||
Y o || o )/ [_ | D ) / [_ Y | Y o || o )/ [_ | D ) / [_ Y | ||
Line 707: | Line 763: | ||
l__j__jl__j | l__j__jl__j | ||
- | CAS Version: 7.0.4 | + | CAS Version: 7.1.4 |
- | CAS Branch: 7.0.x | + | CAS Branch: 7.1.x |
- | CAS Commit Id: d41ac9d5e157605fc43d97a77582c2062e864874 | + | CAS Commit Id: 59cc9c05b93de39caf993c22288742a75e381bb2 |
- | CAS Build Date/ | + | CAS Build Date/ |
- | Spring Boot Version: 3.2.1 | + | Spring Boot Version: 3.3.3 |
- | Spring Version: 6.1.2 | + | Spring Version: 6.1.12 |
- | Java Home: / | + | Java Home: / |
Java Vendor: Red Hat, Inc. | Java Vendor: Red Hat, Inc. | ||
- | Java Version: 21.0.3 | + | Java Version: 21.0.6 |
Servlet Version: 6.0 | Servlet Version: 6.0 | ||
- | JVM Free Memory: | + | JVM Free Memory: |
JVM Maximum Memory: 1 GB | JVM Maximum Memory: 1 GB | ||
- | JVM Total Memory: | + | JVM Total Memory: |
OS Architecture: | OS Architecture: | ||
OS Name: Linux | OS Name: Linux | ||
- | OS Version: | + | OS Version: |
- | OS Date/ | + | OS Date/ |
+ | OS Timezone: SystemClock[GMT] | ||
OS Temp Directory: / | OS Temp Directory: / | ||
- | ------------------------------------------------------------ | ||
- | Apache Tomcat Version: Apache Tomcat/ | ||
- | ------------------------------------------------------------ | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | |||
- | |||
- | |||
- | |||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | |||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
- | 2024-06-06 19: | ||
+ | 2025-02-17 14: | ||
+ | 2025-02-17 14: | ||
+ | 2025-02-17 14: | ||
+ | 2025-02-17 14: | ||
+ | 2025-02-17 14: | ||
+ | |||
| | ||
| \ / | | \ / | ||
Line 759: | Line 799: | ||
l__j\_jl_____jl__j__jl_____jl____/ | l__j\_jl_____jl__j__jl_____jl____/ | ||
- | CAS is now running at https://cas7d.imtbs-tsp.eu:443/cas | + | CAS is now running at https://cas7dev.imtbs.fr:443/cas |
> | > | ||
- | 2024-06-06 19:06:43,846 INFO [org.apereo.cas.web.CasWebApplicationReady] - <> | + | 2025-02-17 14:05:54,560 INFO [org.apereo.cas.web.CasWebApplicationReady] - <> |
- | 2024-06-06 19:06:43,846 INFO [org.apereo.cas.web.CasWebApplicationReady] - <Ready to process requests @ [2024-06-06T17:06:43.822Z]> | + | 2025-02-17 14:05:54,561 INFO [org.apereo.cas.web.CasWebApplicationReady] - <Ready to process requests @ [2025-02-17T14:05:54.531Z]> |
- | 2024-06-06 19:06:43,846 INFO [org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - < | + | 2025-02-17 14:05:54,561 INFO [org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - < |
- | 06-Jun-2024 19:06:43.860 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/ | + | 2025-02-17 14:05:54,773 INFO [org.apereo.cas.services.mgmt.AbstractServicesManager] - <Loaded [3] service(s) from [JsonServiceRegistry].> |
+ | 17-Feb-2025 14:05:54.789 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/ | ||
</ | </ | ||
Line 1000: | Line 1040: | ||
===== personalisation des views ===== | ===== personalisation des views ===== | ||
+ | * https:// | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
- | * https:// | + | |
Line 1199: | Line 1240: | ||
[root@cas7 cas-overlay-template]# | [root@cas7 cas-overlay-template]# | ||
-rw-r--r-- 1 root root 1955 Jun 6 19:34 casLoginView.html | -rw-r--r-- 1 root root 1955 Jun 6 19:34 casLoginView.html | ||
+ | </ | ||
on va egalement prendre header.html (extrait vers src/ | on va egalement prendre header.html (extrait vers src/ |