|
|
|
@ -370,6 +370,47 @@ july 2019:
@@ -370,6 +370,47 @@ july 2019:
|
|
|
|
|
|
|
|
|
|
so we only backup the trash! Which is most of the time the data users want back after error-deletion |
|
|
|
|
|
|
|
|
|
metalnx webfrontend for irods: |
|
|
|
|
|
|
|
|
|
checkout software: |
|
|
|
|
|
|
|
|
|
$ git clone https://github.com/irods-contrib/metalnx-web.git |
|
|
|
|
|
|
|
|
|
create db for metalnx on postgres: |
|
|
|
|
|
|
|
|
|
$ (sudo) su - postgres |
|
|
|
|
postgres$ psql |
|
|
|
|
psql> CREATE USER metalnx WITH PASSWORD '<db password metalnx>'; |
|
|
|
|
psql> CREATE DATABASE "IRODS-EXT"; |
|
|
|
|
psql> GRANT ALL PRIVILEGES ON DATABASE "IRODS-EXT" TO metalnx; |
|
|
|
|
|
|
|
|
|
change config: |
|
|
|
|
|
|
|
|
|
vi /home/ger/metalnx/metalnx-web/etc/irods-ext/metalnx.properties: |
|
|
|
|
|
|
|
|
|
$ cat metalnx.properties |
|
|
|
|
irods.host=<ipaddress icat-server> |
|
|
|
|
irods.port=1247 |
|
|
|
|
irods.zoneName=<your zone-name> |
|
|
|
|
irods.admin.user=irods |
|
|
|
|
irods.admin.password=<irods admin pass> |
|
|
|
|
|
|
|
|
|
# metalnx database settings |
|
|
|
|
|
|
|
|
|
db.driverClassName=org.postgresql.Driver |
|
|
|
|
db.url=jdbc:postgresql://<ip-address icat-server:5432/IRODS-EXT |
|
|
|
|
db.username=metalnx |
|
|
|
|
db.password=<db password metalnx> |
|
|
|
|
|
|
|
|
|
run: |
|
|
|
|
|
|
|
|
|
$ docker run -d -p 8080:8080 -v /home/ger/metalnx/metalnx-web/etc/irods-ext:/etc/irods-ext --add-host hostcomputer:172.17.0.1 --name metalnx irods/metalnx:latest |
|
|
|
|
|
|
|
|
|
connect: |
|
|
|
|
|
|
|
|
|
http://icat-server:8080/metalnx/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Future work: |
|
|
|
|
|
|
|
|
|