> Source: https://docs.cyberelements.io/identity/7.1/lt/Installation/InstallDoc/PostgreSQL/PostgreSQLInstallation/

# PostgreSQL įdiegimas

Nukopijuokite PostgreSQL diegimo programą į duomenų bazės serverį.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-CopySetup.png)

Paleiskite PostgreSQL diegimo programą kaip administratorius, tada spustelėkite „Next >“.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-Welcome.png)

Nurodykite duomenų bazės modulio įdiegimo aplanką, tada spustelėkite „Next >“.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-InstallationDirectory.png)

Pasirinkite norimus komponentus, tada spustelėkite „Next >“.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-SelectComponents.png)

Nurodykite PostgreSQL duomenų saugojimo aplanką, tada spustelėkite „Next >“.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-DataDirectory.png)

Įveskite paskyros „superuser“ slaptažodį, tada spustelėkite „Next >“.

> **Pastaba**
>
> Šią paskyrą Identity naudos prisijungti prie duomenų bazės.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-SuperuserPassword.png)

Nurodykite prievado numerį, kurio turi klausytis duomenų bazės serveris, tada spustelėkite „Next >“. Pagal numatytuosius parametrus naudojamas prievadas `5432`.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-Port.png)

Palikite „Locale“ reikšmę „DEFAULT“, tada spustelėkite „Next >“.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-AdvancedOptionsLocale.png)

Spustelėkite „Next >“.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-PreInstallSummary.png)

Spustelėkite „Next >“.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-ReadyToInstall.png)

Pradedamas PostgreSQL įdiegimas.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-Installing.png)

PostgreSQL duomenų bazės modulio įdiegimas baigtas.

![](https://docs.cyberelements.io/identity/7.1/img/Identity/Identity71-PostgreSQL-Completed.png)

Po įdiegimo tęskite PostgreSQL konfigūravimą po įdiegimo:

- Konfigūracijos po įdiegimo

  ---

  Nuotolinė prieiga (`pg_hba.conf`), įrankis `psql.exe`, duomenų bazės inicijavimas ir Identity diegimo programos parametrai.

  [→ Konfigūruoti](https://docs.cyberelements.io/identity/7.1/lt/Installation/InstallDoc/PostgreSQL/PostgreSQLPostInstallConfiguration/)
