Skip to content

Commit c81134d

Browse files
committed
Component started, some Debian fixes
Signed-off-by: Dj Walker-Morgan <dj.walker-morgan@enterprisedb.com>
1 parent c475ac8 commit c81134d

File tree

10 files changed

+95
-17
lines changed

10 files changed

+95
-17
lines changed

install_template/templates/products/edb-postgres-extended-server/base.njk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ redirects:
1313
{% endblock frontmatter %}
1414
{% block installCommand %}
1515
{{super()}}
16-
1716
{% endblock installCommand %}
18-
1917
{% block postinstall %}
18+
2019
## Initial configuration
2120
{% block debian_ubuntu %}
2221
Getting started with your cluster involves logging in, ensuring the installation and initial configuration was successful, connecting to your cluster, and creating the user password.

install_template/templates/products/edb-postgres-extended-server/debian-10.njk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@
55
```shell
66
sudo {{ packageManager }} {{ packageManagerNoninteractive }} install {{ packageName }}
77
```
8-
9-
Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.
10-
118
{% endblock installCommand %}

install_template/templates/products/edb-postgres-extended-server/debian-11.njk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@
55
```shell
66
sudo {{ packageManager }} {{ packageManagerNoninteractive }} install {{ packageName }}
77
```
8-
9-
Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.
10-
118
{% endblock installCommand %}
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
{% extends "products/edb-postgres-extended-server/base.njk" %}
2-
{% block debian_ubuntu %}This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.
2+
{% block debian_ubuntu %}
3+
This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.
4+
5+
First, you need to initialize and start the database cluster. The `edb-pge-{{ product.version | replace(".", "") }}-setup` script creates a cluster.
6+
7+
```shell
8+
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/lib/edb-pge/{{ product.version }}/bin/edb-pge-{{ product.version | replace(".", "") }}-setup initdb
9+
10+
sudo systemctl start edb-pge-{{ product.version }}
11+
```
312

413
{% endblock debian_ubuntu %}

product_docs/docs/pge/15/installing/linux_x86_64/pge_debian_10.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,18 @@ Before you begin the installation process:
3838
sudo apt-get -y install edb-postgresextended-15
3939
```
4040

41-
Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.
42-
4341
## Initial configuration
4442

4543
This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.
4644

45+
First, you need to initialize and start the database cluster. The `edb-pge-15-setup` script creates a cluster.
46+
47+
```shell
48+
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/lib/edb-pge/15/bin/edb-pge-15-setup initdb
49+
50+
sudo systemctl start edb-pge-15
51+
```
52+
4753
To work in your cluster, log in as the postgres user. Connect to the database server using the psql command-line client. Alternatively, you can use a client of your choice with the appropriate connection string.
4854

4955
```shell

product_docs/docs/pge/15/installing/linux_x86_64/pge_debian_11.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,18 @@ Before you begin the installation process:
3838
sudo apt-get -y install edb-postgresextended-15
3939
```
4040

41-
Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.
42-
4341
## Initial configuration
4442

4543
This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.
4644

45+
First, you need to initialize and start the database cluster. The `edb-pge-15-setup` script creates a cluster.
46+
47+
```shell
48+
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/lib/edb-pge/15/bin/edb-pge-15-setup initdb
49+
50+
sudo systemctl start edb-pge-15
51+
```
52+
4753
To work in your cluster, log in as the postgres user. Connect to the database server using the psql command-line client. Alternatively, you can use a client of your choice with the appropriate connection string.
4854

4955
```shell

product_docs/docs/pge/16/installing/linux_x86_64/pge_debian_10.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,18 @@ Before you begin the installation process:
3838
sudo apt-get -y install edb-postgresextended-16
3939
```
4040

41-
Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.
42-
4341
## Initial configuration
4442

4543
This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.
4644

45+
First, you need to initialize and start the database cluster. The `edb-pge-16-setup` script creates a cluster.
46+
47+
```shell
48+
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/lib/edb-pge/16/bin/edb-pge-16-setup initdb
49+
50+
sudo systemctl start edb-pge-16
51+
```
52+
4753
To work in your cluster, log in as the postgres user. Connect to the database server using the psql command-line client. Alternatively, you can use a client of your choice with the appropriate connection string.
4854

4955
```shell

product_docs/docs/pge/16/installing/linux_x86_64/pge_debian_11.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,18 @@ Before you begin the installation process:
3838
sudo apt-get -y install edb-postgresextended-16
3939
```
4040

41-
Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.
42-
4341
## Initial configuration
4442

4543
This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.
4644

45+
First, you need to initialize and start the database cluster. The `edb-pge-16-setup` script creates a cluster.
46+
47+
```shell
48+
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/lib/edb-pge/16/bin/edb-pge-16-setup initdb
49+
50+
sudo systemctl start edb-pge-16
51+
```
52+
4753
To work in your cluster, log in as the postgres user. Connect to the database server using the psql command-line client. Alternatively, you can use a client of your choice with the appropriate connection string.
4854

4955
```shell
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: Default component locations
3+
description: "Provides information about accessing EDB Postgres Extended Server components after installation"
4+
---
5+
6+
The package managers for the various Linux variations install EDB Postgres Extended Server components in different locations. If you need to access the components after installation, see:
7+
8+
- [RHEL/OL/Rocky Linux/AlmaLinux/CentOS/SLES locations](#rhelolrocky-linuxalmalinuxcentossles-locations)
9+
- [Debian/Ubuntu locations](#debianubuntu-locations)
10+
11+
## RHEL/OL/Rocky Linux/AlmaLinux/CentOS/SLES Locations
12+
13+
The RPM installers place EDB Postgres Extended Server components in the directories listed in the table.
14+
15+
| Component | Location |
16+
|-----------------------------|--------------------------------|
17+
| Executables | `/usr/edb/pge16/bin` |
18+
| Libraries | `/usr/edb/pge16/lib` |
19+
| Cluster configuration files | `/var/lib/edb-pge/16` |
20+
| Documentation | `/usr/edb/pge16/share/man` |
21+
| Contrib | `/usr/edb/pge16/share/contrib` |
22+
| Data | `/var/lib/edb-pge/16/data` |
23+
| Logs | `/var/log/edb/pge16` * |
24+
| Lock files | `/var/lock/edb/pge16` * |
25+
| Backup area | `/var/lib/edb-pge/16/backups` |
26+
| Templates | `/usr/edb/pge16/share` |
27+
| Procedural Languages | `/usr/edb/pge16/lib` |
28+
| Development Headers | `/usr/edb/pge16/include` |
29+
| Shared data | `/usr/edb/pge16/share` |
30+
31+
## Debian/Ubuntu Locations
32+
33+
The Debian package manager places EDB Postgres Extended Server components in the directories listed in the table.
34+
35+
| Component | Location |
36+
|-----------------------------|------------------------------------|
37+
| Executables | `/usr/lib/edb-pge/16/bin` |
38+
| Libraries | `/usr/lib/edb-pge/16/lib` |
39+
| Cluster configuration files | `/var/lib/edb-pge/16/main` |
40+
| Data | `/var/lib/edb-pge/16/main` |
41+
| Logs | `/var/log/edb-pge/` |
42+
| Lock files | `/var/lock/edb/pge16` * |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Linux Installation Details
3+
navigation:
4+
- component_locations
5+
---
6+
7+
In this section we provide reference information on the default configuration of EDB Postgres Extended Server.
8+
9+
* [Component Locations](component_locations) provides a table noting the default paths and locations of Postgres components on different Linux distributions.
10+

0 commit comments

Comments
 (0)