Wiki source code of Guide d'installation Windows

Last modified by Aurelie Bertrand on 2023/05/11 10:24

Hide last authors
Aurelie Bertrand 20.1 1 DigDash Enterprise installation can be done in two different ways on Windows:
jhurst 1.1 2
Aurelie Bertrand 20.1 3 * Install for manual launch
4 * Install as a Windows service
jhurst 1.1 5
Aurelie Bertrand 20.1 6 This document describe how to install DigDash on Windows in both modes.
jhurst 1.1 7
Aurelie Bertrand 20.1 8 To install on Linux, read document __[[install_guide_linux>>doc:Digdash.deployment.installation.install_guide_linux.WebHome]]__.
jhurst 1.1 9
Aurelie Bertrand 20.1 10 To update an existing install, read document [[upgradeDDE>>doc:Digdash.deployment.installation.upgrade_dde.WebHome]].
jhurst 1.1 11
Aurelie Bertrand 20.1 12 {{ddtoc/}}
jhurst 1.1 13
Aurelie Bertrand 20.1 14 = INSTALLATION =
jhurst 1.1 15
Aurelie Bertrand 20.1 16 Unzip the archive file **install_dd_20xx.zip** in the folder of your choice, preferably **/user/share/install_dd_20xx.zip**. **It is mandatory to use path names without any space. **DigDash Enterprise files are now installed on your computer.
jhurst 1.1 17
Aurelie Bertrand 20.1 18 Digdash Enterprise install can also be installed by DigDash setup (read document [[setup_en.pdf>>path:/C:/workspace_ent/digdash_enterprise_install/documentation/en/setup_en.pdf]]).
jhurst 1.1 19
Aurelie Bertrand 20.1 20 = Tomcat Parameters =
jhurst 1.1 21
Aurelie Bertrand 20.1 22 Some paramters like tomcat memory allocation and network ports may have to be modified to install DigDash Enterprise.
jhurst 1.1 23
Aurelie Bertrand 20.1 24 This chapter describes how to modify three of the most important parameters at install time: Tomcat memory allocation, network ports and Windows service (if an install as a Windows service is needed).
jhurst 1.1 25
Aurelie Bertrand 20.1 26 A more complete list of parameters is in the document [[digdash_enterprise_guide_avance_systeme>>doc:Digdash.deployment.configuration.advanced_system_guide.WebHome]].
jhurst 1.1 27
Aurelie Bertrand 20.1 28 == Allocated memory ==
jhurst 1.1 29
Aurelie Bertrand 20.1 30 1. Open the folder **<install DDE>\apache-tomcat\bin** then edit the file **setenv.bat**
31 1. Modify values of **JVMMS** and **JVMMX** defined at the beginning of the file.
32 Example: **set JVMMS=4096** and **set JVMMX=4096** to increase allocated memory to 4GB.
jhurst 1.1 33
Aurelie Bertrand 20.1 34 == Network ports ==
abertrand 2.1 35
Aurelie Bertrand 20.1 36 If one or more port mandatory to Tomcat are already in use by another process, then it will not start. It is important to check for the availability of the network ports on the system. By default the three following ports are needed: 8005, 8080 and 8009.
37 Follow the following steps to modify them :
jhurst 1.1 38
Aurelie Bertrand 20.1 39 1. Open the folder **<install DDE>\apache-tomcat\bin** then edit the file **server.xml**
40 1. Find and replace all port values 8005, 8080 and 8009 by number of available ports on the system.
jhurst 1.1 41
Aurelie Bertrand 20.1 42 == Name of the Tomcat Windows service ==
jhurst 1.1 43
Aurelie Bertrand 20.1 44 In some cases it is interesting to modify the Windows service name that will be created when installing as a service (next chapter). For instance, another service already exists with the same name.
jhurst 1.1 45
Aurelie Bertrand 20.1 46 1. Open the folder **<install DDE>\configure** then edit the file **servers_install_service_64.bat**
47 1. Find and replace the value of the variable **SERVICE_NAME** at the beginning of the file. Example: **set SERVICE_NAME=Tomcat7_DEV**
jhurst 1.1 48
Aurelie Bertrand 20.1 49 = DigDash Enterprise manual Start And Stop =
jhurst 1.1 50
Aurelie Bertrand 20.1 51 When DigDash enterprise is not installed as a Windows service.
jhurst 1.1 52
Aurelie Bertrand 20.1 53 == Starting DigDash Enterprise ==
jhurst 1.1 54
Aurelie Bertrand 20.1 55 Open the DigDash Enterprise installation folder and then double click the **start_tomcat.bat **file.
jhurst 1.1 56
Aurelie Bertrand 20.1 57 Wait until the servers starts (starting the server can take several minutes the first time).
jhurst 1.1 58
Aurelie Bertrand 20.1 59 == Stopping DigDash Enterprise ==
jhurst 1.1 60
Aurelie Bertrand 20.1 61 Open the DigDash Enterprise installation folder and then double click the **stop_tomcat.bat **file.
jhurst 1.1 62
Aurelie Bertrand 20.1 63 = Installing as a Windows service =
jhurst 1.1 64
Aurelie Bertrand 20.1 65 Install as a service must be done with a user with administration rights on the Windows system.
jhurst 1.1 66
Aurelie Bertrand 20.1 67 Make sure you modified the parameters specified previously in this document, if needed, //before// you install the service.
jhurst 1.1 68
Aurelie Bertrand 20.1 69 1. Start the command line prompt as an administrator (right-click on cmd icon in Start menu and select “Run as an administrator” option)
70 1. Get into the folder **<install DDE>\configure** then enter the command **servers_install_service_64.bat** on Windows 64 bits or **servers_install_service.bat** on Windows 32 bits. The service « Apache Tomcat7 » is installed (or another previously spécified name).
71 1. The service is installed in manual start mode by default. To change that behavior start the Windows Service Manager and change the properties of the new service. You can also check in this dialog that the service will be started with the correct user.
jhurst 1.1 72
Aurelie Bertrand 20.1 73