MongoDB installation procedure
MongoDB can be installed separately on a server different from the node.js server. In this case, the installation can be done by using this procedure. But it can also be installed in a single step with the Syracuse platform installation. This is the embedded Syracuse+MongoDB installation. This is described in the Syracuse installation description document.
To launch this separate installation, double-click the '.jar' file in the SafeX3Mongodb folder.
The first screen allows you to choose the installation language: |
![]() |
The second screen is a welcome page: |
![]() |
This screen is followed by a description page of the components that will be installed: |
![]() |
The next screen is the license agreement that must be accepted if you want to continue the installation: |
![]() |
On the next screen, you choose between proceeding with a new installation, or changing the characteristics of an existing installation. The new installation should be chosen:
|
![]() |
Let us first see what happens when a new installation is chosen. The setup dialog box asks for the root directory associated with the MongoDb installation files. If the directory does not exist, it is possible to create it: |
![]() |
The packages to be installed can be selected. The only mandatory package contains the core file to run MonoDB: |
![]() |
The information needed to configure the service are requested, if the corresponding check box is selected (recommended). The information entered is the following:
|
![]() |
The next step is related to the service configuration. If the `The server accepts only SSL encrypted connections` check box is not selected, nothing else needs to be entered here.
But if the check box is selected, you need to set up the certificate that is used for the secured connection. Two options exist in this case:
|
![]() |
The first information to be entered here is the passphrase associated with the master certificate (CA) that is created: |
![]() |
Then, the information related to the data that defines the connection certificate is entered: |
![]() |
You can now enter the passphrase associated with the connection certificate, as well as the server associated. Be sure that the server path must be the complete path including the full qualified domain name, otherwise further connections are refused: |
![]() |
The next step allows you to initialize the MongoDB database from another instance. If the check box is not selected, nothing else has to be entered; if the check box is selected, it corresponds to the case where an old version was present (V7 or V8 installed without certificate). The data associated to the previous version is then transferred as soon as the right host name and the corresponding port are entered: |
![]() |
At the next step, the screen summarizes the options entered for this installation. Check them carefully and go back if anything was incorrectly entered. |
![]() |
Otherwise, the installation runs with several steps. At the end, a summarized page displays what has been done (installation plus a test of connectivity): |
![]() ![]() |
The installation is now finished. Note that an uninstallation script has been generated, that can be used if you want to uninstall the software. A last option is available that generates an automated installation script. This script is an XML file that stores the answers given to all the previous dialog boxes. This file can be modified and reused in order to run a setup automatically, for example on another server. Automatically running an installation script associated with an XML answer file (let us call it responses.xml) is done by launching the following command (in a shell with the path to java.exe set, setup.jar being accessible): `java -jar setup.jar responses.xml` |
![]() |
Let us go back to the case where an installation modification is requested. In this case, you need to select the MongoDB instance you want to modify: |
![]() |
The next screen allows you to modify the previous entered options (re-configure the service, and then change the service number if necessary and change the ipv6 option). |
![]() |
The next screen allows you to change the SSL option (enable it if it was disabled, or disable it if it was enabled). If the SSL option is set, you can also choose to recreate the certificates. For example, if the certificate and/or the passphrase were lost. In this case, you need to re-enter the path to the certificate files and choose between a simplified installation or reusing an existing certificate: The procedure continues to run as previously until its end. |
![]() |
Take note of the server name for MongoDB database and the corresponding port number that have been setup, and keep this information at hand while launching the V11 web server installation.