Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space IDS and version 8.2

Ubisecure SSO service needs to be stopped at this point if SSO is installed on the same server as CID and SSO is using port 8443. 

Code Block
languagetext
themeRDark
systemctl stop /etc/init.d/ubilogin-server stop

First, extract WildFly distribution package to /usr/local/. The newly created folder /usr/local/wildfly-x.x.x.Final will henceforth be referred to as $WILDFLY_HOME. 

Code Block
languagetext
themeRDark
cd /usr/local/
tar xzvf ~/customerid/wildfly-x.x.x.Final-linux.tar.gz

Next, create the user "wildfly" and make wildfly the owner of the $WILDFLY_HOME folder: 

Code Block
languagetextthemeRDark
useradd -d /usr/local/wildfly-x.x.x.Final -M wildfly
chown -R wildfly:wildfly /usr/local/wildfly-x.x.x.Final

Copy the files from the $WILDFLY_HOME/docs/contrib/scripts/service/init.d folder as follows: 

Code Block
languagetextthemeRDark
cd /usr/local/wildfly-x.x.x.Final/docs/contrib/scripts/init.d
cp wildfly.conf /etc/default/
cp wildfly-init-redhat.sh /etc/init.d/wildfly
chmod 544 /etc/init.d/wildfly

Next, open the /etc/default/wildfly.conf in your favorite text editor, and set the following variables properly: 

Code Block
languagetextthemeRDark
JAVA_HOME=/usr/local/java/jdk1.8.0_144
JBOSS_HOME=/usr/local/wildfly-x.x.x.Final
JBOSS_USER=wildfly
JBOSS_MODE=standalone
JBOSS_CONFIG=standalone.xml

Having done that, use chkconfig to install WildFly as a service to all relevant run levels: 

Code Block
languagetext
themeRDark
chkconfig --level 2345 wildfly on

You can now start the Ubisecure CustomerID service with the systemctl command: 

Code Block
theme
languagetextRDark
systemctl start wildfly

Uninstalling WildFly

In case you need to uninstall WildFly here are the instructions for it. To uninstall WildFly just remove the service files. 

Code Block
languagetextthemeRDark
systemctl stop wildfly
chkconfig --level 2345 wildfly off
rm -r /etc/init.d/wildfly
rm /etc/default/wildfly.conf
userdel wildfly

...