我要评分
获取效率
正确性
完整性
易理解

Installing PostgreSQL

  1. Go to the tool directory.
    cd /home/tsdbtool
  2. 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.