Table of Contents Previous Next


5 Invoking the Installer from the Command Line : 5.1 Performing a Text Mode Installation

To specify that the installer should run in text mode, include the –mode text command line option when invoking the installer. Text-mode installations are useful if you need to install on a remote server using ssh tunneling (and have access to a minimal amount of bandwidth), or if you do not have access to a graphical interface.
You must assume superuser privileges before performing a text-mode installation. At any point during the installation process, you can press Ctrl-C to abort the installation. To perform a text-mode installation on a Linux system, navigate to the directory that contains the installation binary file and enter:
# ./postgres-version-platform.run --mode text
Press Enter to continue.
By default, PostgreSQL data is installed in /opt/PostgreSQL/9.5. Enter an alternate location, or press Enter to accept the default and continue (see Figure 5.2).
After entering a password in the Password field, confirm the password and press Enter to continue.
When prompted, enter the Port that the PostgreSQL service will monitor for connections (see Figure 5.4). By default, PostgreSQL chooses the first available port after port 5432.
Specify a Locale by entering a locale number from the list shown. Accept the Default locale value to instruct the installer to use the system locale as the server locale.

5 Invoking the Installer from the Command Line : 5.1 Performing a Text Mode Installation

Table of Contents Previous Next