Checking the Installation Environment
- Go to the tool directory.
1cd /home/tsdbtool
- Run the check command.
1sh tsdbtool.sh check dbtype=postgresql conf=postgresqlconf.csv sourcedir=postgresql-11.3.tar.gz

If the command output does not contain failed, the environment is normal. In this case, perform the install operation. If the command output contains failed, rectify the fault based on the command output and then run the check command.
For RPM package installation (for details about RPM compilation, 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:
1sh tsdbtool.sh check dbtype=postgresql conf=postgresqlconf.csv rpmdir=postgresql-11.3-1.el7.aarch64.rpm

Parent topic: Deploying PostgreSQL