nzymedefense / nzyme

Network Defense System.
https://www.nzyme.org/
Other
1.42k stars 143 forks source link

Newer openjdk / postgresql packages #1116

Open padey opened 2 months ago

padey commented 2 months ago

Hi Lennar,

Since “openjdk-11-jre-headless postgresql-14” and are quite old, they can no longer be installed under Debian 12, for example. Is there a possibility that newer versions can be used here?

Ubuntu has become somewhat difficult with its license policy... I'm trying to get node&tap running on a NanoPi R6C and there is only Debian 12 a good OS. :/

Best regards Patrick

lennartkoopmann commented 2 months ago

Hi Patrick,

I understand. There is #557 but it has been delayed because Raspberry Pi OS was not shipping with any recent enough Java Runtime Environments. I believe this has changed and I re-prioritized the issue.

OpenJDK 11 will be EOL in just about 2 months, so we have to do something anyways. We will move to the latest LTE version that Raspberry Pi OS offers. (simply because of how widespread Raspberry Pi usage is in the nzyme community)

If possible, go with a manual install of a JRE 11 for now?

More recent PostgreSQL versions are already well supported by nzyme. You can go ahead and run those as you wish. The only change is that you have to add additional permissions to the public schema since version 15. See also: https://stackoverflow.com/a/75876944

Hope that helps!

Thanks, Lennart

padey commented 2 months ago

Hi Lennart.

many thanks for the fast response. I tried the manual installation but all the required packages need to be installed manually. I'm gonna try it again on Monday :)

Gruß/Best Patrick

renini commented 2 months ago

The current Raspberry PI OS is based on Debian 12 / Bookworm. Would this be an option to also build the packages for? Or is that easier said than done? I just installed a new Rapberry pi to try it out, but now have to downgrade the OS it seems. Could I help in anyway with testing or?

The package postgresql on bookworm is 15.8 and default-jre-headless will install openjdk-17-jre-headless.

And nzyme-tap_2.0.0-alpha.14_rpios11_arm64.deb depends on libssl1.1, where libssl3 is now installed with bookworm.

lennartkoopmann commented 2 months ago

Yes, there will be official RPI OS / Debian 12 packages and docs soon.

padey commented 1 month ago

Nice @lennartkoopmann !