Book Image

Learning Karaf Cellar

By : Jean Baptiste Onofre, Jean-Baptiste Onofré
Book Image

Learning Karaf Cellar

By: Jean Baptiste Onofre, Jean-Baptiste Onofré

Overview of this book

Table of Contents (16 chapters)

Apache Karaf Cellar installation and first commands


Apache Karaf Cellar is provided as a Karaf feature.

Throughout this book, we will use the following installation:

  • Node 1 is a server running with the 192.168.1.1 network address. It hosts an Apache Karaf 2.3.3 instance running in the /opt/apache-karaf folder.

  • Node 2 is another server running with the 192.168.1.2 network address. It hosts an Apache Karaf 2.3.3 instance running in the /opt/apache-karaf folder.

  • Both servers have Internet access.

We connect to the Apache Karaf instance on node 1 (using SSH or client) to install the Apache Karaf Cellar feature, as follows:

karaf@node1> features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.1/xml/features
karaf@node1> features:install cellar

It's done! Apache Karaf Cellar is installed and operating on node1.

We can now install Apache Karaf Cellar on node 2. We connect on node 2 (using SSH or client) and install the Apache Karaf Cellar feature, as follows:

karaf@node2> features...