Performing a Silent Installation (Linux)
Silent installation of FME Server on Linux installer is controlled by an install.cfg file that is passed to the installer. This file contains a list of properties that control different options in the installer. The command for silent installation is:
./fme-server-linux-x64.run -- --file install.cfg
Properties are listed in the install.cfg file in the form:
<property>=<value>
The following table lists the installation properties that you can specify in the install.cfg file, and their default values if left unset. These properties correspond to properties that can be adjusted in the user dialogs of a standard installation.
Property | Default Value | Description |
---|---|---|
FMESERVERHOSTNAME | The Computer Name on which the installer is running | Host name for this installation of FME Server. |
INSTALLDIR | ~/fmeserver
|
The FME Server install directory. |
INSTALLDISTRIBUTEDREPOSITORY | No | Whether the FME Server System Share is stored on a separate server and not on the Core machine. |
FMESERVERSHAREDDATA | [INSTALLDIR] | The path to the FME Server System Share directory. |
ADMINUSERNAME | admin | The user name for the admin account. |
ADMINUSERPASSWORD | admin | The password for the admin account. |
ROOTDIR | [INSTALLDIR] | In a distributed installation, the path to the root folder on the Core machine. In an Engine-only installation, the path to the FME Server System Share directory. |
DATABASETYPE | Default | The type of database that will be used with the FME Server installation. Possible values are Default, MSSQL, Oracle, PostGreSQL. Default installs the built-in PostGreSQL database. |
DATABASEHOST | [FMESERVERHOSTNAME] | The host that the database is on. This should only be specified if DATABASETYPE is not Default. |
DATABASEPORT |
MSSQL: 1433 PostGreSQL: 5432 Oracle: 1521 |
The port to connect to the database. This should only be specified if DATABASETYPE is not Default. |
ORACLESID | The SID for the Oracle database. Must be specified only if DATABASETYPE is Oracle. | |
JDBCDRIVER | If your database requires a JDBC driver that Safe does not provide, specify the full path to it here, and it will be copied to the appropriate place in the install directory. | |
SERVLETTYPE | Default | The type of Application Server (servlet engine) you will use with FME Server. Possible values are Default, Apache, and Oracle. Choosing Default installs the built-in Application Server. |
WEBSERVERHOSTNAME | [FMESERVERHOSTNAME] | The host on which the servlet engine is installed. |
SERVLETPORT | 80 (if open) | The port that the servlet engine host uses or that the built-in Apache server uses. If not specified, the installer checks ports 80, 8080-8085 and uses the first one that is not in use. |
WEBAPPSDIR | [INSTALLDIR]\Utilities\tomcat\webapps | The path to the webapps directory for the servlet engine. |
NOLOGPREFIX | No | If Yes, FME Server log file names are not prefixed with the server host name. |
Selecting Features to Install
To select which features to install, use the following set of properties. These properties can be set to either "Yes" or "No" (case-sensitive). The default values are "Yes".
Feature | Property |
---|---|
FME Server Core | FEATURE_FMEServerCore_INSTALL |
Web Services | FEATURE_Services_INSTALL |
FME Server Console | FEATURE_ServerConsole_INSTALL |
FME Engine | FEATURE_FMEEngine_INSTALL |
Examples
Install with all default options (similar to Express install), to /home/user/fmeserver
INSTALLDIR="/home/user/fmeserver"
Install the FME Server Core only with an FME Server System Share directory on a share on another machine named "\\machine1\share"
INSTALLDISTRIBUTEDREPOSITORY=Yes
FMESERVERSHAREDDATA="/mnt/machine1/share"
FEATURE_FMEServerCore_INSTALL="Yes"
FEATURE_FMEEngine_INSTALL="No"
FEATURE_FMEServerSMTPRelay_INSTALL="No"
FEATURE_ServerConsole_INSTALL="No"
FEATURE_Services_INSTALL="No"
Express install, but with an MSSQL database located on another server
DATABASETYPE=MSSQL
DATABASEHOST=DatabaseMachine
DATABASEPORT=1433
Install the Web Services feature only with a Weblogic Servlet Engine:
ROOTDIR="\\CoreMachine\share"
SERVLETTYPE=Oracle
SERVLETPORT=8080
WEBAPPSDIR="/home/user/Weblogic/webapps"
FEATURE_FMEServerCore_INSTALL="No"
FEATURE_FMEEngine_INSTALL="No"
FEATURE_FMEServerSMTPRelay_INSTALL="No"
FEATURE_ServerConsole_INSTALL="No"
FEATURE_Services_INSTALL="Yes"
FME Engine-only install, with all other FME Server components on another server named "\\machine1\FMEServerSystemShare"
FMESERVERHOSTNAME="machine1"
INSTALLDIR="/home/user/FMEServer"
ROOTDIR="\\machine1\FMEServerSystemShare"
FMESERVERSHAREDDATA="/mnt/machine1/FMEServerSystemShare/"
INSTALLDISTRIBUTEDREPOSITORY="Yes"
FEATURE_FMEServerCore_INSTALL="No"
FEATURE_FMEEngine_INSTALL="Yes"
FEATURE_FMEServerSMTPRelay_INSTALL="No"
FEATURE_ServerConsole_INSTALL="No"
FEATURE_Services_INSTALL="No"