Skip to content

PostgreSQL ‐ Setup

Dennis edited this page Jun 19, 2020 · 23 revisions

Install xServer on your VPS or dedicated PC Test First, we will install xServer’s database using PostgreSQL.

PostgreSQL Installation Steps:

  1. Download the latest version of PostgreSQL to your operating system: https://www.postgresql.org/download/

  2. Install PostgreSQL by following these steps:

a. Open the file you have downloaded, if you are prompted to run the program click ‘Yes’ or ‘Allow’, then click ‘Next >’

pgre1

b. Select the default Installation Directory, click ‘Next >’

pgre2

c. Stack Builder does not need to be installed, uncheck it, click ‘Next >’

pgre3

d. Use the default Data Directory, click ‘Next >’

pgre4

e. This section will only show for machines that had previously installed PostgreSQL, if it does not show up for you that is not a problem, click ‘Next >’

pgre5

f. Choose a password you will remember and retype it, for this example we will be using ‘123456’ as a password for ease of configuration, your password should be stronger than that, click ‘Next >’

pgre6

g. You can use the default PostgreSQL port, if you don't save that port selection somewhere, you will need it later, click ‘Next >’

pgre7

h. You can change the default locale, if you do save that selection somewhere, you will need it later, click ‘Next >’

pgre8

i. You will receive a Pre Installation Summary, click ‘Next >’

pgre9

j. Click ‘Next >’

pgre10

k. PostgreSQL will begin to install, this will take a few minutes.

pgre11

l. You are done with the installation of PostgreSQL, click ‘Finish’

pgre12

m. Now you will be prompted to reboot your computer, save your work and click ‘Yes’.

pgre13

The PostgreSQL database is now installed, you can move on to the next steps of installation for xServer.