Performing a Silent Installation (Linux)
Silent installation ofFME Flowon Linux 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:
./<filename> -- --file install.cfg
Example <filename>:fme-flow-2023.0.0.3-b23319-linux-x64~ubuntu.20.04.run
Properties are listed in the install.cfg file in the form:
<property>=<value>
To obtain the installer, seeObtain the Installer.
SpecifyingFME FlowComponents to Install
To select which components ofFME Flowto 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 FlowCore | FEATURE_FMEServerCore_INSTALL |
Web Services | FEATURE_Services_INSTALL |
FME FlowConsole | FEATURE_ServerConsole_INSTALL |
FME Engine | FEATURE_FMEEngine_INSTALL |
FME FlowDatabase (on PostgreSQL) | FEATURE_FMEServerDatabase_INSTALL |
Installation Properties
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 machine name on which the installer is running | Host name of the machine that runs theFME Flow Core. |
INSTALLDIR | /opt/fmeserver |
TheFME Flowinstall directory. |
FMESERVERSHAREDDATA | [INSTALLDIR] | The path to theFME FlowSystem Share directory, whereFME FlowstoresRepositoriesandResourcesfiles. Path names are case-sensitive. |
NODENAME | The machine name on which the installer is running |
如果you are installing only the FME Engine component, use this property to advertise a fully-qualified domain name (FQDN) for the machine hosting the FME Engine to FMESERVERHOSTNAME. Specify a FQDN that resolves to the IP address of the machine via DNS. |
DATABASETYPE | Default | The database server type that will be used for theFME Flow Database. Possible values areDefault,MSSQL,Oracle,PostGreSQL.Defaultassumes the PostgreSQL database that is included with theFME Flowinstaller and located on the same machine. |
DATABASEHOST | [FMESERVERHOSTNAME] | The host that the database is on. This should only be specified if DATABASETYPE is notDefault. |
DATABASEPORT | MSSQL: 1433 PostGreSQL: 5432 Oracle: 1521 |
The port to connect to the database. This should only be specified if DATABASETYPE is notDefault. |
INSTANCENAME | 如果DATABASETYPE isMSSQL, the SQL Server instance name to use for connecting to the database, instead of DATABASEPORT. | |
DATABASECONNECTIONSTRING | A connection string is generated based on the values of DATABASETYPE, DATABASEHOST, DATABASEPORT, and (if specified) INSTANCENAME. | The JDBC connection string for connecting to theFME FlowDatabase. |
ORACLESID | The SID for the Oracle database. Must be specified only if DATABASETYPE isOracle. | |
JDBCDRIVER | 如果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. | |
DATABASEUSER | fmeserver | TheFME FlowDatabase user account name. This property applies regardless of the value specified byDATABASETYPE. Warning ">
战争ning如果DATABASETYPEisDefault, do not specifypostgres. This name corresponds to the PostgreSQL master user. If the corresponding passwords do not match, the database will not install. |
DATABASEPASSWORD | The password for theFME FlowDatabase user name. Note ">
NoteThe password for theFME FlowDatabase user account is encrypted inFME Flowinstallation files. |
|
PGDATADIR | /opt/fmeserver//Utilities/pgsql/data | 如果DATABASETYPE=Default, the directory to contain the data for theFME FlowPostgreSQL database. |
SERVLETTYPE | Default | The type of Application Server (servlet engine) you will use withFME Flow. Possible values areDefaultorApache(Tomcat).Defaultinstalls the Apache Tomcat servlet provided with theFME Flowinstaller. |
WEBSERVERHOSTNAME | [FMESERVERHOSTNAME] | The host on which the servlet engine is installed. |
EXTERNALPORT | 80 | The port that the servlet engine host uses or, if SERVLETTYPE isDefault, the listening port of the NGINX reverse proxy. |
SERVLETPORT | 8080 | 如果SERVLETTYPE isDefault, the listening port of the Apache Tomcat servlet engine host. Must be different from EXTERNALPORT. |
WEBAPPSDIR | [INSTALLDIR]\Utilities\tomcat\webapps | 如果an Apache Tomcat servlet is already installed on the machine, the path to the webapps directory for the servlet engine, for installing WAR files. This is a necessary property for distributed web applications. |
SHAREDTOMCATLIB | [INSTALLDIR]\Utilities\tomcat\lib | 如果an Apache Tomcat servlet is already installed on the machine, the path to the lib directory for the servlet engine, for installing JAR files. This is a necessary property for distributed web applications. |
CONFIGSELINUX | Yes | 如果SERVLETTYPE is "Default" and installation is on a Red Hat or Rocky Linux distribution, the SELinux module must be configured to work with the NGINX reverse proxy. Note ">
NoteSSL configurat NGINX反向代理允许容易ion with the Apache Tomcat web application server, and the ability to choose ports under 1024 without root permission. To configure SELinux, specifyYes. Else,No. |
NOLOGPREFIX | No | 如果Yes,FME Flowlog filenames are not prefixed with the server host name. |
FIRSTLOGINCHANGEPASSWORD | true | 如果true, the user will be prompted to update theadminpassword upon initial login to theFME Flow Web User Interfacefollowing installation. Iffalse, updating theadminpassword will not be required upon initial login. |
Post-Install: MSSQL Formats Only
如果you plan to runworkspaces that reference Microsoft SQL Server and Azure SQL Database (MSSQL_*) readers and writers, you must manually install the SQL Server Native Client and Microsoft System CLR Types for SQL Server on all machines that host FME Engines. To install, navigate to the [INSTALLDIR] and run the following:
msiexec /i sqlncli.msi /qb
msiexec /i SQLSysClrTypes.msi /qb
例子
Install with all default options (similar to Express install), to /home/user/fmeserver
INSTALLDIR="/home/user/fmeserver"
Install theFME FlowCore only with anFME FlowSystem Share directory on a share on another machine named "\\machine1\share"
FMESERVERSHAREDDATA="/mnt/machine1/share"
FEATURE_FMEServerCore_INSTALL="Yes"
FEATURE_FMEEngine_INSTALL="No"
FEATURE_FMEServerSMTPRelay_INSTALL="No"
FEATURE_ServerConsole_INSTALL =“不”
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 an Apache Tomcat Servlet Engine:
FMESERVERSHAREDDATA="\\CoreMachine\share"
SERVLETTYPE=Apache
SERVLETPORT=8080
WEBAPPSDIR="C:\Program Files\tomcat\webapps"
FEATURE_FMEServerCore_INSTALL="No"
FEATURE_FMEEngine_INSTALL="No"
FEATURE_FMEServerSMTPRelay_INSTALL="No"
FEATURE_ServerConsole_INSTALL =“不”
FEATURE_Services_INSTALL="Yes"
FME Engine-only install, with all otherFME Flowcomponents on another server named "machine1"
FMESERVERHOSTNAME="machine1"
INSTALLDIR="/home/user/FMEServer"
FMESERVERSHAREDDATA="\\machine1\FMEServerSystemShare"
DATABASETYPE="PostGreSQL"
DATABASEHOST="FMEServerCore"
DATABASEPORT="7082" SERVLETPORT="80"
FEATURE_FMEServerCore_INSTALL="No"
FEATURE_FMEEngine_INSTALL="Yes"
FEATURE_FMEServerSMTPRelay_INSTALL="No"
FEATURE_ServerConsole_INSTALL =“不”
FEATURE_Services_INSTALL="No"