Installazione e configurazione > Programma di installazione di ThingWorx Foundation > Esecuzione di un'installazione invisibile all'utente di ThingWorx Foundation
Esecuzione di un'installazione invisibile all'utente di ThingWorx Foundation
A partire da ThingWorx Foundation 8.5.3, è possibile eseguire un'installazione invisibile all'utente in modalità automatica dall'interfaccia della riga di comando (CLI).
Per visualizzare i vari parametri che devono essere trasmessi al programma di installazione invisibile all'utente, è possibile eseguire il programma di installazione ThingWorx Foundation con il parametro --help. Ad esempio:
In ambiente Windows: ThingWorxFoundationPostgres-8.5.3-x64.exe --help
In ambiente Linux: ThingWorxFoundationPostgres-8.5.3-x64.run --help
Di seguito è riportato un comando di esempio che consente di distribuire ThingWorx Foundation in Windows con PostgreSQL e SSL attivati:
./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>
Di seguito è riportato un comando di esempio che consente di distribuire ThingWorx Foundationin Red Hat Enterprise Linux (RHEL) 7.5 con PostgreSQL e SSL attivati:
./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>'
* 
Il valore del parametro --NEW_TWX_PASSWORD non può contenere o essere racchiuso tra virgolette singole ('), virgolette doppie ('') o segno di maggiore/minore (< >).