Running Apache Sling on Apache Karaf

NOTE: Tested and built with Apache Karaf 4.3.6

Sling Karaf Features

A features repository for easy deployment of Apache Sling on Apache Karaf (see Provisioning for details).

(GitBox | GitHub)

Sling Karaf Configs

OSGi configurations for provisioning with Apache Karaf used in Sling's Karaf Features.

(GitBox | GitHub)

Sling Karaf Distribution

A distribution of Apache Sling based on Apache Karaf (Sling's Karaf Features and artifacts in a single archive).

(GitBox | GitHub)

Getting Started

1) Start Apache Karaf or Sling's Karaf Distribution.

2) Add the Apache Sling features repository (not necessary when using Sling's Karaf Distribution):

karaf@root()> feature:repo-add

3) Sling requires OSGi R7 Http Service and Http Whiteboard Service, e.g. Apache Felix HTTP Service:

karaf@root()> feature:install felix-http

4) Install custom or default configurations for Sling:

karaf@root()> feature:install sling-configs

5) Install a Sling Quickstart feature, e.g. sling-quickstart-oak-tar or sling-quickstart-oak-mongo (requires a running and configured MongoDB):

karaf@root()> feature:install sling-quickstart-oak-tar

6) Install Starter Content (feature includes Composum):

karaf@root()> feature:install sling-starter-content

7) Browse to http://localhost:8181/.

- ( Running Apache Sling on Apache Karaf )