Professional Documents
Culture Documents
com
Originally published on
LinuxTechLab.com
Wildfly is a free, open source & cross platform application server (formely known as
Jboss AS or Jboss). It is written in java programming language & currently it is being
maintained, developed by Redhat. It is very fast, lightweight application that can handle
millions of connections & is used to create applications easily. WildFlys architecture is
based on plug-gable subsystems, so you can easily add or remove.
In this tutorial, we are going to install latest stable version of Wildly i.e. 10.1.0 on our
Linux machine. So lets start,
Pre-requisites
We need a Linux machine (using CentOS 7 machine for this tutorial) with java 8
configured & all the environmental variables set. Kindly refer to our article Installing
JAVA 7 & 8 on Centos/RHEL 7 for installing java 8 on the machine.
<subsystem xmlns=urn:jboss:domain:webservices:2.0>
<wsdl-host>${jboss.bind.address:192.168.1.100}</wsdl-host>
<endpoint-config name=Standard-Endpoint-Config/>
<interface name=management>
<inet-address value=${jboss.bind.address.management:192.168.1.100}/>
</interface>
<interface name=public>
<inet-address value=${jboss.bind.address:192.168.1.100}/>
</interface>
These are total 3 places where you need to change the IP address. Once the IP address
has been changed, save file & exit. We will now make a couple of changes to file
standalone.conf where we need to add our JAVA_HOME & JBOSS_HOME paths,
$ vi /data/wildfly-10.1.0.Final/bin/standalone.conf
JAVA_HOME=/data/jdk1.8.0_73
JBOSS_HOME=/data/wildfly-10.1.0.Final
Save file & exit. We can now start the wildfly instance on our server.
http://192.168.1.100:8080
This will open default wildfly page on the browser.
But we cant access the page just yet, we need to create a management user to access
the console. To create a management user, firstly stop the running instance by pressing
ctrl + c & then in bin directory itself, run script named add-user.sh ,
$ cd /data/wildfly-10.1.0.Final/bin
$ sh add-user.sh
Once the script starts, follow the onscreen steps to create a management user. After the
username and password has been set up, same can be used to access the management
console from the URL mentioned above.
This was our step by step tutorial on wildfly 10.1.0 installation. Please feel free to send
your queries/questions or suggestions using the comment box below.
If you think we have helped you or just want to support us, please consider
these :-
Connect to us: Facebook | Twitter | Google Plus
LinuxTechLab.com