Step 1: Make One more Directory.
Command >> mkdir JBOSS2
Screenshot 1:
Step 2: Copy previously created JBOSS1 instance to JBOSS2
Command >> cp -pr jboss-eap-6.4 /JBOSS/JBOSS2/
Screenshot 2:
If doesn't have already jboss instance click here:-)
Step 3: Locate to /JBOSS/JBOSS2/jboss-eap-6.4/bin and run ./standalone.sh
Command >> ./standalone.sh -b=192.168.216.134 -bmanagement=192.168.216.134 -Djboss.socket.binding.port-offset=100
Where,
-b=XXX.XXX.XXX.XXX is use to bind Application “public” interface to a specific IP address.
-bmanagement=XXX.XXX.XXX.XXX is use to bind “management” interface to a specific IP address.
-Djboss.socket.binding.port-offset=100 is use to avoid port conflict.
Screenshot 3-1:
Screenshot 3-2:
Screenshot 3-3:
Screenshot 3-4:
No comments:
Post a Comment