Installation and Configuration > ThingWorx Foundation Installer > Running a Silent Installation of ThingWorx Foundation
Running a Silent Installation of ThingWorx Foundation
Starting with ThingWorx Foundation 8.5.3, you can perform a silent, unattended installation from the command line interface (CLI).
To see the various parameters that should be passed to the silent installer, you can run the ThingWorx Foundation installer with the --help parameter. For example:
For Windows: ThingWorxFoundationPostgres-8.5.3-x64.exe --help
For Linux: ThingWorxFoundationPostgres-8.5.3-x64.run --help
The following is a sample command to deploy ThingWorx Foundation on Windows with PostgreSQL and SSL enabled:
./ThingWorxFoundationPostgres-8.5.3-x86_64.exe --mode unattended --unattendedmodeui minimal --accept_eula YES
--NEW_TWX_PASSWORD <userpassword> --CONFIGURE_SSL 1 --POSTGRES_IP_ADDR localhost --TWX_DB_LOGIN_USERNAME <dbusername>
--TWX_DB_LOGIN_PASSWORD "DBPASSWORD" --TWX_DB_NAME <database name> --SSLTWX_PORT <SSL port> --KEYSTORE_FILE_PATH <.jks file path>
--KEYSTORE_FILE_PASSWORD <keystore-password> --CERTIFICATE_ALIAS_NAME <aliasname> --CERTIFICATE_ALIAS_PASSWORD <keystore-alias-password>
The following is a sample command to deploy ThingWorx Foundationon Red Hat Enterprise Linux (RHEL) 7.5 with PostgreSQL and SSL enabled:
./ThingWorxFoundationPostgres-8.5.3-x86_64.run --mode unattended --unattendedmodeui minimal --accept_eula YES
--NEW_TWX_PASSWORD <userpassword> --CONFIGURE_SSL 1 --POSTGRES_IP_ADDR localhost --TWX_DB_LOGIN_USERNAME user6
--TWX_DB_LOGIN_PASSWORD '<dbuser>' --TWX_DB_NAME <dbusername> --SSLTWX_PORT 8443 --KEYSTORE_FILE_PATH <keystorefilepath>
--KEYSTORE_FILE_PASSWORD '<keystore>' --CERTIFICATE_ALIAS_NAME mydomain --CERTIFICATE_ALIAS_PASSWORD '<keystorepassword>'
* 
The value for the --NEW_TWX_PASSWORD parameter cannot contain or be enclosed in single quotes ('), double quotes (''), or angle brackets (< >).
Was this helpful?