Page tree
Skip to end of metadata
Go to start of metadata

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. 

/etc/init.d/ubilogin-server stop

First, extract the 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.

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: 

useradd -d /usr/local/wildfly-x.x.x.Final –M wildfly
chown -R wildfly. /usr/local/wildfly-x.x.x.Final

On Enterprise Linux 6 and older:

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

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

Open /etc/default/wildfly in your favorite text editor, and set the following variables properly:


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

chkconfig --level 2345 wildfly on

On Enterprise Linux 7 and newer:

Create the file wildfly-service in /etc/systemd/system/:

Description=WildFly {{ wildfly_version }} Java EE Application Server
User={{ wildfly_user }}
Group={{ wildfly_user }}
ExecStart={{ wildfly_home }}/bin/ -b= -bmanagement=
systemctl daemon-reload

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

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. 

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

Then either delete the WildFly installation folder or backup it to a different location.

  • No labels