diff --git a/Proxy/installation.md b/Proxy/installation.md index 6949c34b68ff0f2dc56d6685429835c2ab0039b5..bd0231ddd0bc46d3d81c594f96369a7c9851374f 100755 --- a/Proxy/installation.md +++ b/Proxy/installation.md @@ -2,7 +2,7 @@ title: Installation Manual subtitle: Gazelle Proxy author: Nicolas BAILLIET -date: 09/06/2023 +date: 17/07/2023 toolversion: 5.0.8 function: Engineer version: 2.01 @@ -30,48 +30,55 @@ You will get an EAR in the gazelle-proxy-ear/target folder. Then, follow the instructions below: -1. In your database (postgresql 9.1 or higher) create a database named "gazelle-proxy", using UTF-8 encoding and owned by the user gazelle +1. In your database (postgresql 9.1 or higher) create a database named "gazelle-proxy", using UTF-8 encoding and owned by the user gazelle + ```bash createdb -U gazelle -E UTF8 gazelle-proxy ``` -2. On your file system, create a directory /opt/proxy/DICOM +2. On your file system, create a directory `/opt/proxy/DICOM` and an empty file `/opt/proxy/proxyPersistentChannels.csv` + ```bash -sudo mkdir /opt/proxy/DICOM +sudo mkdir -p /opt/proxy/DICOM +sudo touch /opt/proxy/proxyPersistentChannels.csv sudo chown -R jboss:jboss-admin /opt/proxy sudo chmod -R 775 /opt/proxy ``` -3. Put the ear in the deploy folder of your Jboss AS +3. Put the ear in the deploy folder of your Jboss AS + ```bash cp gazelle-proxy-ear/target/gazelle-proxy.ear /usr/local/jboss7/standalone/deployments/gazelle-proxy.ear ``` -4. **WARNING** : From version 4.7.0, datasources have been extracted from the **ear**. The template file can be found in /src/main/application/datasource in the source or in the file gazelle-proxy-X.X.X-datasource.zip from the nexus. +4. **WARNING** : From version 4.7.0, datasources have been extracted from the **ear**. The template file can be found in /src/main/application/datasource in the source or in the file gazelle-proxy-X.X.X-datasource.zip from the nexus. For more informations about how to manage that externalization, please refer to [general considerations for JBoss7](https://gazelle.ihe.net/gazelle-documentation/General/jboss7.html). - * Datasource name : gazelle-proxyDS * Database name : gazelle-proxy -5. Start Jboss AS 7 +5. Start Jboss AS 7 + ```bash sudo /etc/init.d/jboss7 start ``` -6. Execute the sql script available in your workspace at gazelle-proxy-ear/src/main/sql/schema-5.0.0.sql +6. Execute the sql script available in your workspace at gazelle-proxy-ear/src/main/sql/schema-5.0.0.sql + ```bash psql -U gazelle gazelle-proxy < schema-5.0.0.sql ``` -7. Execute the sql script available in your workspace at gazelle-proxy-ear/src/main/sql/init-5.0.0.sql + +7. Execute the sql script available in your workspace at gazelle-proxy-ear/src/main/sql/init-5.0.0.sql + ```bash psql -U gazelle gazelle-proxy < init-5.0.0.sql ``` -8. Open your favorite browser (we recommand Chrome or Firefox) and go to [*http://yourServer:8080/proxy*](http://yourServer:8080/proxy) +8. Open your favorite browser (we recommand Chrome or Firefox) and go to [*http://yourServer:8080/proxy*](http://yourServer:8080/proxy) -9. The proxy is now up and running, see the next section for information on the configuration. +9. The proxy is now up and running, see the next section for information on the configuration. This new instance of the proxy is running without the CAS feature, that means that anyone accessing the tool has the administrator privileges. @@ -80,6 +87,7 @@ If you rather want to use a single-sign one authentication, configure the applic ## Called tools Check that **dcmtk** is installed on the machine. Actually, the proxy uses dcmdump to render the dicom files. + ```bash sudo apt get install dcmtk ```