Skip to content

Custom Installation

Dependent Middleware

PG Database

PG database is a mandatory installation component as the system's basic database, recommended version 13 and above.

Installation Steps Reference

https://www.postgresql.org/download/

Redis

Mandatory installation component, recommended version 7.0.5 and above.

Installation Steps Reference

https://redis.com.cn/download.html

RabbitMQ

Mandatory installation component, recommended version 3.9.13 and above.

Installation Steps Reference

https://rabbitmq.org.cn/docs/download

Nginx

Mandatory installation component, recommended version 1.24.0 and above.

Configuration Files:

The default directory for the following configuration files is: /etc/nginx/

Installation Steps Reference

https://nginx.p2hp.com/en/download.html

OnlyOffice

OnlyOffice component is used for document preview, recommended version 7.1.1.

MinIO

MinIO component is used for shared storage files.

Informat Installation

After all dependent middleware is installed, you need to configure Informat's application.yml.

Modify Configuration

shell
vi {Informat installation directory}/instance/informat-account/application.yml
vi {Informat installation directory}/instance/informat-biz/application.yml

Database Configuration

Configuration ItemDescription
spring.datasource.druid.urlDatabase connection URL.
spring.datasource.druid.usernameDatabase username.
spring.datasource.druid.passwordDatabase password.

Redis Configuration

Configuration ItemDescription
spring.redis.hostRedis server host.
spring.redis.portRedis server port.
spring.redis.passwordRedis password.

RabbitMQ Configuration

Configuration ItemDescription
spring.rabbitmq.portRabbitMQ server port.
spring.rabbitmq.hostRabbitMQ server hostname.
spring.rabbitmq.nicknameRabbitMQ nickname.
spring.rabbitmq.usernameRabbitMQ username.
spring.rabbitmq.passwordRabbitMQ password.

Modify Script

Update the database password in install_db.sh

shell
export PGPASSWORD="INFORMAT_2024"

Execute Installation Script

By default, it installs in the root directory

shell
sudo chmod +x install.sh | ./install.sh