Skip to content

Commit

Permalink
Merge pull request #2365 from ome/create-pull-request/patch
Browse files Browse the repository at this point in the history
Changes from upstream repositories:  openmicroscopy
  • Loading branch information
jburel authored Nov 16, 2023
2 parents a0f2eb6 + 03c0ced commit fac5e46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions omero/sysadmins/unix/walkthrough/walkthrough_rocky9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ ldconfig
# install Postgres
dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf -qy module disable postgresql
dnf -y install postgresql15-server postgresql15
PGSETUP_INITDB_OPTIONS=--encoding=UTF8 /usr/pgsql-15/bin/postgresql-15-setup initdb
dnf -y install postgresql14-server postgresql14
PGSETUP_INITDB_OPTIONS=--encoding=UTF8 /usr/pgsql-14/bin/postgresql-14-setup initdb

sed -i.bak -re 's/^(host.*)ident/\1md5/' /var/lib/pgsql/15/data/pg_hba.conf
sed -i 's/ ident/ trust/g' /var/lib/pgsql/15/data/pg_hba.conf
sed -i.bak -re 's/^(host.*)ident/\1md5/' /var/lib/pgsql/14/data/pg_hba.conf
sed -i 's/ ident/ trust/g' /var/lib/pgsql/14/data/pg_hba.conf
systemctl start postgresql
systemctl enable postgresql
#end-step01
Expand Down

0 comments on commit fac5e46

Please sign in to comment.