22:17, EET
February 21, 2014
Hi there,
I tried to install the ModbusServer on a headless RHEL box. I noticed dependency conflicts with other installed applications, interestingly on postfix (email???) and mysql/mariadb packages. None of those packages should actually be required by the ModbusServer.
Would it be possible to publish a second set of RPM and DEB packages with minimal dependencies just for headless deployments?
Prior to the attempted installation on the RHEL box I test-installed the ModbusServer in a CentOS VM. apart from the huge list of dependencies, the installation and directory layout looks really good.
Thanks,
Hans-Uwe
10:06, EET
April 3, 2012
Hi,
The list of dependencies is mostly what the java(fx)packager (of a JDK 8) has given by default. It has few added as e.g. the UI should be able to control the service.
We can look into this in future versions, but with our current toolchain (javapackager) it would be harder to do (but we’ll probably anyway need to update that as the tool was removed in newer java versions..).
If you wish to try/test, the rpm should be editable via ‘rpmrebuild -enp ‘.
Current list of Requires: polkit redhat-lsb ld-linux.so.2 libX11.so.6 libXext.so.6 libXi.so.6 libXrender.so.1 libXtst.so.6 libasound.so.2 libc.so.6 libdl.so.2 libgcc_s.so.1 libm.so.6 libpthread.so.0 libthread_db.so.1
Assuming you will only run it as the service, the polkit probably is not needed. And since you should have systemd, the redhat-lsb should not be needed either (need to check at some point, probably redhat-lsb-core here would be enough anyway; that is needed for SystemV).
Alternatively you could try running the portable version (however you would need to do service install yourself and additionally install a Java 8 runtime).
8:58, EET
February 21, 2014
Good morning,
I created bash scripts to perform an installation/update/uninstallation based on the portable installation package (tar.gz). These are effectively the same scripts which a native package (DEB, RPM) would be performing (NB: all it requires as external dependencies is indeed OpenJdk 1.8). This includes putting the files in the right location, creating an application user, creating systems service files etc. Would it be permissible from a license perspective to create an RPM package from those scripts and host them on a company repository? This would ease the installation and the documentation significantly.
Thanks,
Hans-Uwe
Most Users Ever Online: 1919
Currently Online:
47 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1