执行静默安装(Linux)
Silent installation of FME Server on 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:
./fme-server-linux-x64.run - - --file install.cfg
Properties are listed in the install.cfg file in the form:
<财产> = <value>
要获取安装程序,请参阅Obtain the Installer。
下表列出了可以在install.cfg文件中指定的安装属性,如果左未命令,则为其默认值。这些属性对应于可以在标准安装的用户对话框中调整的属性。
财产 | 默认值 | 描述 |
---|---|---|
FMESERVERHOSTNAME | 安装程序正在运行的计算机名称 | Host name for this installation of FME Server. |
INSTALLDIR | ~/fmeserver |
FME服务器安装目录。 |
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. | 行政 | 管理员帐户的用户名。有关更多信息,请参阅默认用户帐户和密码。 |
AdminUserPassword. | 行政 | 管理员帐户的密码。 |
rootdir. | [installdir] | 在分布式安装中,核心机器上的根文件夹的路径。在仅发动机安装中,FME服务器系统共享目录的路径。 |
DATABASETYPE | 默认 | The type of database that will be used with the FME Server installation. Possible values are默认那MSSQL.那甲骨文那PostGreSQL。默认安装内置PostgreSQL数据库。 |
数据库 | [fmeserverhostname] | 数据库所在的主机。只有在数据库类型不是默认。 |
databaseport. | MSSQL:1433 PostGreSQL: 5432 甲骨文:1521 |
连接到数据库的端口。只有在数据库类型不是默认。 |
oraclesid. | Oracle数据库的SID。只有在数据库类型是时必须指定甲骨文。 | |
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. | |
servlettype. | 默认 | 应用程序服务器类型(servlet引擎)您将与FME服务器一起使用。可能的值是默认那Apach.那and甲骨文。选择默认安装内置应用程序服务器。 |
WEBSERVERHOSTNAME | [fmeserverhostname] | 安装Servlet引擎的主机。 |
servletport. | 80(如果开放) | 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 | 用于Servlet引擎的WebApps目录的路径。 |
nologprefix. | No | 如果是的那FME服务器日志文件名称不会以服务器主机名为前缀。 |
选择要安装的功能
要选择要安装的功能,请使用以下属性集。这些属性可以设置为“是”或“否”(区分大小写)。默认值为“是”。
特征 | 财产 |
---|---|
FME服务器核心 | feature_fmeservercore_install. |
Web Services | FEATURE_Services_INSTALL |
FME服务器控制台 | feature_serverconsole_install. |
FME发动机 | feature_fmeengine_install. |
例子
安装所有默认选项(类似于Express Install),到/ home / mess / fmeserver
installdir =“/ home / user / fmeserver”
仅使用FME Server系统共享目录安装FME服务器核心,该目录在另一个名为“\\ machine1 \ share”的另一台机器上
installDistRibutedRepository.=Yes
fmeservershareddata =“/ mnt / machine1 / share”
feature_fmeservercore_install =“是”
feature_fmeengine_install =“否”
FEATURE_FMEServerSMTPRelay_INSTALL="No"
feature_serverconsole_install =“否”
feature_services_install =“否”
快递安装,但使用位于另一台服务器上的MSSQL数据库
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 =“否”
feature_fmeengine_install =“否”
FEATURE_FMEServerSMTPRelay_INSTALL="No"
feature_serverconsole_install =“否”
feature_services_install =“是”
仅使用Engine Install Install,其他服务器上的所有其他FME服务器组件名为“\\ machine1 \ fmeserversystemshare”
fmeserverhostname =“machine1”
INSTALLDIR="/home/user/FMEServer"
ROOTDIR = " \ \ machine1上\ FMEServerSystemShare"
fmeservershareddata =“/ mnt / machine1 / fmeserversystemshare /”
installDistRibutedRepository.="Yes"
feature_fmeservercore_install =“否”
feature_fmeengine_install =“是”
FEATURE_FMEServerSMTPRelay_INSTALL="No"
feature_serverconsole_install =“否”
feature_services_install =“否”