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.In text mode, the installer uses a series of command line questions to establish the configuration parameters. Text-mode installations are valid only on Linux or Mac systems.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 textWhen the installation begins, the text mode installer welcomes you to the Setup Wizard (shown in Figure 5.1).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).You must provide a password for the database superuser (see Figure 5.3). The specified password must conform to any security policies (minimum length, use of special characters, and so on) in place on the host.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.When the setup wizard has gathered the information that it needs to perform the installation, it will prompt you that it is ready to begin installing PostgreSQL (see Figure 5.6). Press Enter to continue.