Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rhel8 install steps in README.md #180

Merged
merged 1 commit into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ ALTER SYSTEM SET shared_preload_libraries = 'pg_tde';
sudo systemctl restart postgresql.service
```

* On RHEL 8 compatible OS:
```sh
sudo systemctl restart postgresql-16.service
```

4. Create the extension using the [CREATE EXTENSION](https://www.postgresql.org/docs/current/sql-createextension.html) command. Using this command requires the privileges of a superuser or a database owner. Connect to `psql` as a superuser for a database and run the following command:

```sql
Expand Down Expand Up @@ -91,6 +96,12 @@ CREATE TABLE albums (
sudo apt install make gcc autoconf libcurl4-openssl-dev postgresql-server-dev-16
```

* On RHEL 8 compatible OS:
```sh
sudo yum install epel-release
yum --enablerepo=powertools install git make gcc autoconf libcurl-devel postgresql16-devel perl-IPC-Run redhat-rpm-config openssl-devel
```

* On MacOS:
```sh
brew install make autoconf curl gettext postresql@16
Expand All @@ -113,6 +124,11 @@ cd pg_tde
make USE_PGXS=1
sudo make USE_PGXS=1 install
```
On RHEL 8 compatible OS:
```
PATH=$PATH:/usr/pgsql-16/bin/ make USE_PGXS=1
sudo PATH=$PATH:/usr/pgsql-16/bin/ make USE_PGXS=1 install
```

_See [Make Builds for Developers](https://github.com/Percona-Lab/pg_tde/wiki/Make-builds-for-developers) for more info on the build infrastructure._

Expand Down
Loading