Bladeren bron

Update 'Readme.md'

gogsadmin 1 jaar geleden
bovenliggende
commit
6a38b51f45
1 gewijzigde bestanden met toevoegingen van 10 en 4 verwijderingen
  1. 10 4
      Readme.md

+ 10 - 4
Readme.md

@@ -6,8 +6,8 @@ Installation
 Build requirements:
 Build requirements:
 * libpq-dev
 * libpq-dev
 * libkrb5-dev
 * libkrb5-dev
-* postgresql-server-dev-13
-* openjdk-11-jdk-headless
+* postgresql-server-dev-15
+* openjdk-17-jdk-headless
 
 
 ## Install the postgresql repo
 ## Install the postgresql repo
 
 
@@ -24,12 +24,13 @@ See the postgresql documentation for other systems: https://www.postgresql.org/d
 
 
 On a debian system:
 On a debian system:
 ```
 ```
-apt-get install install libpq-dev libkrb5-dev postgresql-server-dev-13 openjdk-11-jdk-headless
+apt install libpq-dev libkrb5-dev postgresql-server-dev-15 openjdk-17-jdk-headless
 ```
 ```
 
 
 ## Build pljava
 ## Build pljava
 ```
 ```
 git clone https://github.com/tada/pljava.git
 git clone https://github.com/tada/pljava.git
+git checkout V1_6_6
 mvn clean install
 mvn clean install
 ```
 ```
 ## Install pljava into postgresql server
 ## Install pljava into postgresql server
@@ -44,9 +45,14 @@ java -jar pljava-packaging/target/pljava-pgX.jar
 As postgres user, connect to the database for which you wish to enable pljava extension.
 As postgres user, connect to the database for which you wish to enable pljava extension.
 In this example, the database is **pljavadb**
 In this example, the database is **pljavadb**
 
 
-Run SQL:
+Create role and extension:
 ```
 ```
+CREATE ROLE pljavarole;
 CREATE EXTENSION pljava;
 CREATE EXTENSION pljava;
+```
+
+Apply ACLs
+``
 GRANT USAGE ON LANGUAGE java TO pljavarole;
 GRANT USAGE ON LANGUAGE java TO pljavarole;
 ALTER DATABASE pljavadb SET pljava.libjvm_location TO '/usr/lib/jvm/java-11-openjdk-arm64/lib/server/libjvm.so';
 ALTER DATABASE pljavadb SET pljava.libjvm_location TO '/usr/lib/jvm/java-11-openjdk-arm64/lib/server/libjvm.so';
 ```
 ```