Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save caisback/f651c2449688e37d42b4e06d3e0dbc54 to your computer and use it in GitHub Desktop.
Save caisback/f651c2449688e37d42b4e06d3e0dbc54 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 LTS - nstalling RedHat Fuse 7.6 on Apache Karaf over AdoptOpenJDK 8 (LTS)

Reference

https://access.redhat.com/documentation/en-us/red_hat_fuse/7.6/html/installing_on_apache_karaf/install-fuse-on-karaf-for-developer#prepare-to-install-fuse-on-karaf

  1. Download Redhat Fuse 7.6 - Kafra Installer and save it to Downloads folder
  2. Extract the zip file to /opt
bboy:~$ pwd
/home/bboy
bboy:~$ cd /opt/
bboy:/opt$ sudo unzip /home/bboy/Downloads/fuse-karaf-7.6.0.zip 
  1. Add an administrator user to enable remote access to the Fuse on Karaf container and to access the Fuse Console.
bboy:/opt$ cd fuse-karaf-7.6.0.fuse-760025-redhat-00001/
bboy:/opt/fuse-karaf-7.6.0.fuse-760025-redhat-00001$ sudo nano etc/users.properties 
  • Locate the following lines with below entries;
    #admin = admin,_g_:admingroup
    #_g_\:admingroup = group,admin,manager,viewer,systembundles,ssh 
    
  • Uncomment the 2 lines by removing the #
  • Save the file by Ctrl+X > Y > Enter
  1. Running RedHat Fuse
bboy:/opt/fuse-karaf-7.6.0.fuse-760025-redhat-00001$ sudo bin/fuse

karaf: JAVA_HOME not set; results may vary
Red Hat Fuse starting up. Press Enter to open the shell now...
100% [========================================================================]

Karaf started in 4s. Bundle stats: 239 active, 239 total

 ____          _   _   _       _     _____                
|  _ \ ___  __| | | | | | __ _| |_  |  ___|   _ ___  ___  
| |_) / _ \/ _` | | |_| |/ _` | __| | |_ | | | / __|/ _ \ 
|  _ <  __/ (_| | |  _  | (_| | |_  |  _|| |_| \__ \  __/ 
|_| \_\___|\__,_| |_| |_|\__,_|\__| |_|   \__,_|___/___| 

  Red Hat Fuse (7.6.0.fuse-760025-redhat-00001)
  http://www.redhat.com/products/jbossenterprisemiddleware/fuse/

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.

Open a browser to http://localhost:8181/hawtio to access the management console

Hit '<ctrl-d>' or 'shutdown' to shutdown Red Hat Fuse.

karaf@root()> 
@caisback
Copy link
Author

Installing as default user on /home/<YOUR_USER>/ESB

~$ cd ESB/
~/ESB$ unzip ../Downloads/fuse-karaf-7.6.0.zip 
~/ESB$ cd fuse-karaf-7.6.0.fuse-760025-redhat-00001/
~/ESB/fuse-karaf-7.6.0.fuse-760025-redhat-00001$ nano etc/users.properties
~/ESB/fuse-karaf-7.6.0.fuse-760025-redhat-00001$ bin/fuse
Red Hat Fuse starting up. Press Enter to open the shell now...
100% [========================================================================]

Karaf started in 1s. Bundle stats: 13 active, 13 total

 ____          _   _   _       _     _____                
|  _ \ ___  __| | | | | | __ _| |_  |  ___|   _ ___  ___  
| |_) / _ \/ _` | | |_| |/ _` | __| | |_ | | | / __|/ _ \ 
|  _ <  __/ (_| | |  _  | (_| | |_  |  _|| |_| \__ \  __/ 
|_| \_\___|\__,_| |_| |_|\__,_|\__| |_|   \__,_|___/___| 

  Red Hat Fuse (7.6.0.fuse-760025-redhat-00001)
  http://www.redhat.com/products/jbossenterprisemiddleware/fuse/

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.

Open a browser to http://localhost:8181/hawtio to access the management console

Hit '<ctrl-d>' or 'shutdown' to shutdown Red Hat Fuse.

karaf@root()> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment