Table of Contents Previous Next


3 Using a Package Manager to Install Advanced Server : 3.2 Configuring a Package Installation : 3.2.2 Creating a Database Cluster and Starting the Service

To create a database cluster in the PGDATA directory that listens on the port specified by the PGPORT specified in the service configuration file described in Section 3.2, assume root privileges, navigate into the /usr/ppas-9.5/bin directory, and invoke the service script:
You can also assign a locale to the cluster when invoking initdb. By default, initdb will use the value specified by the $LANG operating system variable, but if you append a preferred locale when invoking the script, the cluster will use the alternate value. For example, to create a database cluster that uses simplified Chinese, invoke the command:
To invoke initdb on a RHEL or CentOS 7.x system, with the options specified in the service configuration file, assume the identity of the operating system superuser:

3 Using a Package Manager to Install Advanced Server : 3.2 Configuring a Package Installation : 3.2.2 Creating a Database Cluster and Starting the Service

Table of Contents Previous Next