Installer JMap Server en mode silencieux / Installing JMap Server silently
Cet article décrit comment installer JMap Server en mode silencieux, c'est-à-dire sans aucune fenêtre qui s'affiche. Les paramètres d'installation sont prédéterminés et stockés dans un fichier.
Guide étape par étape
Installer JMap Server en mode silencieux
- Créer un fichier qui contient les paramètres d'installation (par exemple installJMap.params)
sys.installationDir=/jmap7
jmsPort=7003
tomcatHttpPort=8080
tomcatHttpsPort=8443
ajp13Port=8009
smtpHost=localhost
maxHeapSize=768
sys.programGroupDisabled$Boolean=true
installService$Boolean=false
serviceName=JMapServer 7
serviceStartAsSystemAccount$Boolean=true
serviceUserName=
- Démarrer l'installeur en mode silencieux
jmap_windows_7_0_full.exe -q -varfile installJMap.params
-q indique le mode silencieux (quiet)
-varfile indique le fichier de paramètres
Voici la description des paramètres d'installation :
Paramètre | Description |
---|---|
sys.installationDir | Répertoire d'installation de JMap |
jmsPort | Port de JMap Server |
tomcatHttpPort | Port HTTP de Tomcat |
tomcatHttpsPort | Port HTTPS de Tomcat |
ajp13Port | Port AJP13 |
smtpHost | Serveur SMTP |
maxHeapSize | Mémoire heap (Mo) |
sys.programGroupDisabled$Boolean | Création d'un groupe de programme dans le menu démarrer (true = ne sera pas créé --- false = sera créé) |
installService$Boolean | Installer en service? (true | false) |
serviceName | Nom du service |
serviceStartAsSystemAccount$Boolean | Démarrer le service avec le compte Local System? (true | false) |
serviceUserName | Si serviceStartAsSystemAccount$Boolean = false, le nom d'utilisateur pour démarrer le service |
English version
This article describes how to install JMap Server in silent mode, without any window showing. The installation parameters are predefined and stored in a file.
Step-by-step guide
Installing JMap Server silently
- Create a file that contents all installation parameters (for example installJMap.params)
sys.installationDir=/jmap7
jmsPort=7003
tomcatHttpPort=8080
tomcatHttpsPort=8443
ajp13Port=8009
smtpHost=localhost
maxHeapSize=768
sys.programGroupDisabled$Boolean=true
installService$Boolean=false
serviceName=JMapServer 7
serviceStartAsSystemAccount$Boolean=true
serviceUserName=
- Start the installation program in silent mode
jmap_windows_7_0_full.exe -q -varfile installJMap.params
-q indicates the silent mode (quiet)
-varfile indicates the parameter file
The following describes the installation parameters :
Parameter | Description |
---|---|
sys.installationDir | Installation folder for JMap |
jmsPort | JMap Server port |
tomcatHttpPort | Tomcat HTTP port |
tomcatHttpsPort | Tomcat HTTPS port |
ajp13Port | AJP13 port |
smtpHost | SMTP server |
maxHeapSize | Heap memory (Mb) |
sys.programGroupDisabled$Boolean | Creation of a program group in the Start Menu (true = will not be created --- false = will be created) |
installService$Boolean | Install as a service? (true | false) |
serviceName | Name of the service |
serviceStartAsSystemAccount$Boolean | Start service with Local System account ? (true | false) |
serviceUserName | If serviceStartAsSystemAccount$Boolean = false, the name of the account used to start the service |