Wiki source code of Guide d'Installation Linux
Last modified by Aurelie Bertrand on 2023/05/11 10:24
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | |||
| 2 | {{ddtoc/}} | ||
| 3 | |||
| 4 | DigDash Enterprise installation can be done in two different ways on Linux: | ||
| 5 | |||
| 6 | * Use the Tomcat application server included in the DigDash Enterprise install archive | ||
| 7 | * Use another Tomcat or a JEE compatible application server. | ||
| 8 | |||
| 9 | This document describe how to use the Tomcat server included with DigDash Enterprise and also how to install/use another Tomcat server. | ||
| 10 | |||
| 11 | To install on Windows, read document [[install_guide_windows>>doc:Digdash.deployment.installation.install_guide_windows.WebHome]]. | ||
| 12 | |||
| 13 | To update an existing install, read document [[upgradeDDE>>doc:Digdash.deployment.installation.upgrade_dde.WebHome]]. | ||
| 14 | |||
| 15 | = Use Tomcat Included in DigDash = | ||
| 16 | |||
| 17 | == Unzipping == | ||
| 18 | |||
| 19 | Unzip the archive file **install_dd_20xx.zip** in the folder of your choice, preferably **/user/share/install_dd_20xx.zip**. | ||
| 20 | |||
| 21 | == Owner And Rights == | ||
| 22 | |||
| 23 | Give the ownership of the folder **/usr/share/install_dd_20xx **to the user <USER> of your choice, and give him the rights to read and write to this folder using the following command : | ||
| 24 | |||
| 25 | USER@domain:~~# chown –R USER /usr/share/install_dd_20xx | ||
| 26 | |||
| 27 | USER@domain:~~# chmod –R 755 /usr/share/install_dd_20xx | ||
| 28 | |||
| 29 | == Start Tomcat == | ||
| 30 | |||
| 31 | With your user <USER> run the Tomcat startup script : | ||
| 32 | |||
| 33 | USER@domain:~~# cd /usr/share/install_dd_20xx/apache-tomcat/bin/ | ||
| 34 | |||
| 35 | USER@domain:~~# sh startup.sh | ||
| 36 | |||
| 37 | = Using your own TOMCAT SERVER = | ||
| 38 | |||
| 39 | If you want to configure your own Tomcat server (existing or not), you can configure it by following the steps below: | ||
| 40 | |||
| 41 | == Tomcat7 Installation == | ||
| 42 | |||
| 43 | If you do not already have a Tomcat server installed on the system. | ||
| 44 | |||
| 45 | Enter the command: | ||
| 46 | |||
| 47 | root@domain:~~# apt-get install tomcat7 | ||
| 48 | |||
| 49 | == Copy The Web Applications To Tomcat == | ||
| 50 | |||
| 51 | Extract WAR files from the DigDash Enterprise archive zip file (install_dd_20xx/apache-tomcat/webapps/) : | ||
| 52 | |||
| 53 | * adminconsole.war | ||
| 54 | * ddenterpriseapi.war | ||
| 55 | * digdash_dashboard.war | ||
| 56 | * adswrapper.war | ||
| 57 | * « ROOT » folder if it does not already exist in your Tomcat. | ||
| 58 | If you do not copy the ROOT folder, DigDash can be accessed at URL __http:~/~/localhost:8080/adminconsole__ but not at __http:~/~/localhost:8080__ | ||
| 59 | |||
| 60 | Copy these files to the Tomcat folder **/var/lib/tomcat7/webapps**. | ||
| 61 | |||
| 62 | Make sure the user tomcat7 has the right to read and write on these four files. | ||
| 63 | |||
| 64 | |||
| 65 |