Installer Command Line Upgrade
Download the Informat Installation Package
Obtain the installation package link for the corresponding version through the Informat Installation Package Source and download it to the same level directory as the informat_next_installer folder.
shell
informat_next_dev.zip informat_next_installerExample: Download the dev version of the Informat installation package
shell
curl -O https://repo.informat.cn/downloads/packages/informat_next_dev.zipModify the Configuration File upgrade.properties
shell
cd informat_next_installer
vi upgrade.propertiesFind the line package-path=../informat_next_1.0.zip
Modify it to the actual installation package file name:
package-path=../informat_next_dev.zip
Run the Installer via Command Line
After confirming the configuration, run the installation from the command line:
shell
$ cd informat_next_installer
Upgrade via configuration file
$ ./jdk/bin/java -jar InformatNextInstaller-1.0.0.jar upgrade.propertiesConfiguration File upgrade.properties Parameter Description
properties
linux.distribution=RedHat
linux.distribution-version=7.9
home-path=/informat-next
package-path=../informat_next_1.0.zip
instance=true
update-config=true
web-url=http://127.0.0.1/
# db
db.home-path=/data/pgsql # Database data storage path
db.upgrade-account=true # Whether to upgrade the account database
db.upgrade-biz=true # Whether to upgrade the biz database
db.account.name=db_informat2_account_prd # Account database name
db.biz.name=db_informat2_biz_prd_0 # Biz database name
db.host=127.0.0.1 # Database host name
db.port=5432 # Database port
db.user=postgres # Database username
db.password=Informat-Next_#,.20221001 # Database password
db.opt-db-name=postgres # Default database
# instance
instance.account.node=informat-account # Account node list (comma-separated for multiple nodes)
instance.account.port=9881 # Account node port list (comma-separated for multiple nodes)
instance.biz.node=informat-biz # Biz node list (comma-separated for multiple nodes)
instance.biz.port=8881 # Biz node port list (comma-separated for multiple nodes)TIP
If only updating the account service, remove the lines for instance.biz.node and instance.biz.port

