Installing PostgreSQL
- Go to the tool directory.
cd /home/tsdbtool
- Run the install command.
sh tsdbtool.sh install dbtype=postgresql conf=postgresqlconf.csv sourcedir=postgresql-11.3.tar.gz


For RPM package installation (see 3.6 PostgresSQL RPM Package Compilation), change sourcedir to rpmdir and change the source code package name to the RPM package name. For example:
sh tsdbtool.sh install dbtype=postgresql conf=postgresqlconf.csv rpmdir=postgresql-11.3-1.el7.aarch64.rpm


The database is started after it is installed. You do not need to start the database again.
Parent topic: Deploying PostgreSQL