Esecuzione di un programma di installazione invisibile all'utente per ThingWorx Foundation
È 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 di ThingWorx Foundation con il parametro
--help. Ad esempio:
• In ambiente Windows: ThingWorxFoundationPostgres-9.0.0-x64.exe --help
• In ambiente Linux: ThingWorxFoundationPostgres-9.0.0-x64.run --help
Di seguito è riportato un comando di esempio che consente di distribuire ThingWorx Foundation in Windows con PostgreSQL e SSL attivati:
./ThingWorxFoundationPostgres-9.0.0-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-9.0.0-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 sezione (§).
|
Di seguito è riportato un comando di esempio per eseguire un aggiornamento invisibile all'utente per ThingWorx Foundation Windows 2016 con PostgreSQL e SSL attivato:
ThingWorxFoundationPostgres-9.0.0-x64.exe --mode unattended --unattendedmodeui minimal --THINGWORX_ADMIN_PASSWORD <password> --accept_eula YES
Di seguito è riportato un comando di esempio che consente di distribuire ThingWorx Foundation in Red Hat Enterprise Linux (RHEL) 7.5 con PostgreSQL e SSL attivati:
ThingWorxFoundationPostgres-9.0.0-x64.exe --mode unattended --unattendedmodeui minimal --THINGWORX_ADMIN_PASSWORD <password> --accept_eula YES