Skip to content

Commit

Permalink
Add rhel8 install steps in README.md (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ylacancellera authored May 14, 2024
1 parent 3a68e78 commit b8705b1
Showing 1 changed file with 16 additions and 0 deletions.
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

0 comments on commit b8705b1

Please sign in to comment.