Installing Fuse is very easy and only 4 steps process.
You can download Redhat JBoss Fuse 6.1.0.G.A. here. Older versions are also available for download on the same link. latest stable Fuse release is 6.2.1 G.A. which is also available for download on the same link.
Fuse like other JBoss products is platform independent -unzip and start . So we will be able to start Fuse very moment we unzip Fuse but that will be all default configuration which is not advisable for production environment.
After downloading Fuse, unzip it in destination directory ( where you want Fuse to be installed). Make sure this directory remains same over lifetime of Fuse instance so choose this path wisely.
Note: Even though Fuse is unzip and run. It is not advisable to move installed Fuse from one directory to other.
After you unzip Fuse you will find some directories created inside Fuse installation directory. Out of which we will be using just below 2 for this tutorial
- bin – here all executable files for managing fuse are available
- etc – here all configuration files for fuse are available
- Open Fuse installation directory under that edit etc/users.properties in your favorite text editor.
- Locate line #admin=admin,admin
- Remove #
- Note: you can use any value in first tow syntax is username=password,role. Above line makes user named admin having password as admin with role as admin.
Now there are two options to run fuse
- Using bin/fuse.sh
- This will start Fuse and will show Fuse console (CLI to control Fuse) but when you close the session or terminal from where Fuse was started Fuse will also be stopped this makes it less useful in production or development environment
- Using bin/start.sh
- This will start fuse in background mode means you will not get any CLI to interact with Fuse but even if you close session from which this script was launched Fuse will still be running in background.
- This is the script which is used for starting Fuse in production and development environment.
That’s it!! Now you have up and running Fuse environment.
Fuse onward 6.1.0 comes with cool browser based interface known as hawtio. you can access hawtio using http://localhost:8181. here you have to enter username and password you configured in users.properties