The following instructions provide a recommended approach for setting up InterFormNG2 on Linux. This setup has been tested on Ubuntu v20 and is also compatible with other distributions like Red Hat Linux 8, provided the headless version is not used.
Install Java Runtime v8 (if not already installed)
sudo apt install openjdk-8-jre
sudo useradd -m ifng
sudo passwd ifng
sudo usermod -aG
sudo ifng
sudo -u ifng -s
cd ~
Alternatively, log in as an existing user.
sudo mkdir /opt/InterFormNG2_Linux
sudo chown ifng /opt/InterFormNG2_Linux/
unzip InterFormNG2_Linux.zip
-d /opt/InterFormNG2_Linux
Within the folder, move the keystore to the correct location:
cd /opt/InterFormNG2_Linux
mkdir keystore
mv interformng2.p12 keystore/
mkdir /opt/InterFormNG2_Linux/libext
Edit the file /opt/InterFormNG2_Linux/application-default.properties and add this line:
interformng2.privateKey=<RANDOM-STRING>
chmod -R 500 /opt/InterFormNG2_Linux/
[Unit] Description=InterFormNG2 After=syslog.target [Service] User=ifng Environment="INTERFORMNG2_HOME=/home/ifng/NG2Home" WorkingDirectory=/opt/InterFormNG2_Linux ExecStart=/bin/java -Xms512M -Xmx4096M \ -Djava.locale.providers=COMPAT,CLDR \ -Djava.io.tmpdir=/home/ifng/NG2Home/temp \ -cp /opt/InterFormNG2_Linux/InterformNG2-3.5.0.jar:libext/* \ org.springframework.boot.loader.JarLauncher SuccessExitStatus=143 [Install] WantedBy=multi-user.target
sudo systemctl enable iformng2
sudo service iformng2 start
sudo journalctl --unit=iformng2
In the example, the maximum memory allocation for InterFormNG2 is set to 4GB using -Xmx4096M. This value can be adjusted as required.
To upgrade the Linux installation to a newer version of InterFormNG2, without touching any configuration changes made to application-default.properties or keystores, follow this procedure (this assumes that the recommended installation procedure was previously followed):
Log in as the user running the application (typically user ifng).
Download the latest version of InterFormNG2:
wget http://download.interform400.com/shares/SW/InterFormNG2_Linux.zip
Unzip to a temporary folder:
unzip InterFormNG2_Linux.zip -d temp/
sudo service iformng2 stop
chmod -R 700 /opt/InterFormNG2_Linux/
rm /opt/InterFormNG2_Linux/InterformNG2-x.y.z.jar
(replace x.y.z with the OLD InterFormNG2 version)
rm -r /opt/InterFormNG2_Linux/modules
cp temp/InterformNG2-X.Y.Z.jar /opt/InterFormNG2_Linux/
cp -r temp/modules /opt/InterFormNG2_Linux/
chmod -R 500 /opt/InterFormNG2_Linux/
Edit the existing /etc/systemd/system/iformng2.service (with sudo) and change the version number on InterformNG2-x.y.z.jar to the new version number.
sudo systemctl daemon-reload
sudo service iformng2 start
On the Linux setup above you can change the recommended iformng2.service description above to include temp directory with the highlighted/bold text below:
ExecStart=/bin/java -Xms256M -Xmx4096M \ -Djava.io.tmpdir=/home/ifng/NG2Home/temp \ -jar /opt/InterFormNG2_Linux/InterformNG2-1.5.1.jar
As of January 13, 2025, we are excited to announce that our new Help Center is in the final stages of development. While the Knowledge Base is already accessible, our current JIRA system will continue to manage support tickets during this transition period. For assistance with InterForm Output Management Software, please refer to the Support for InterForm Output Management Software.
We appreciate your patience and understanding as we work to enhance your support experience. If you have any questions or encounter any issues, please do not hesitate to reach out via the existing support channels.
Best regards,
The InterForm Support Team