Installing FortiClient EMS using the CLI
Installing FortiClient EMS using the CLI allows you to enable certain options during installation, such as customizing the EMS installation directory, using custom port numbers, and so on.
The following table provides a description of all options available when installing FortiClient EMS using the CLI. These options are case-sensitive:
Option |
Description |
---|---|
AllowedWebHostnames |
The default value is localhost, 127.0.0.1. To clear this value, first enter |
ApacheServerAdminEmail |
Enter the Apache Server administrator's email address. By default, this is admin@yourcompany.com. |
BackupDir |
Enter the desired backup directory path for SQL Server. |
|
Enter the HTTP port number. The default is 80. |
RemoteManagementPort |
Enter the HTTPS port number. The default is 443. |
InstallFolder |
Specify the directory to install EMS to. |
InstallSQL |
Controls whether the installer will install SQL Server Express on the same server as FortiClient EMS. Enter |
ScriptDB |
Controls where the installer will attempt to create the database from db scripts. Enter |
ServerHostname |
Enter the preferred hostname (the remote hostname). The default is the local host. |
SQLAuthType |
Enter |
SQLCmdlineOptions="/INSTANCEDIR" |
Enter the desired directory to install SQL Server Express to. |
SQLCmdlineOptions="/INSTANCENAME" |
Enter the SQL Server instance name. |
SQLEncryptConnection |
(Optional) Enter |
SQLPort |
Enter the port number the remote SQL Server instance is listening on. You should configure SQL Server to use a static port number. |
SQLServer |
Enter the DSN name of the computer where SQL Server is already installed. |
SQLServerInstance |
Enter the SQL Server instance name. |
SQLService |
If using a default database instance, enter the instance name. If using a named database instance, enter |
SQLTrustServerCertificate |
(Optional) Enter |
SQLUser |
Enter the SQL username used to connect to the database instance. You must preconfigure this user in SQL Server. |
SQLUserPassword |
Enter the SQL password used to connect to the database instance. |
WindowsUser |
Enter the Windows username that EMS services, once installed, will use to connect to the database instance. You must preconfigure this user in SQL Server. |
WindowsUserPassword |
Enter the Windows password that EMS services, once installed, will use to connect to the database instance. |