wiki:KarafDistribution

Version 2 (modified by jri, 8 years ago) (diff)

adapt to 4.0.13 release

DeepaMehta Karaf Distribution

extract archive

$ tar xzvf deepamehta-4.0.13-karaf.tar.gz
$ cd deepamehta-4.0.13-karaf

first boot

$ bin/karaf
...
PluginManager ########## All Plugins Activated ##########

open the webconsole http://localhost:8080/system/console login to "DeepaMehta" with "admin/" and to "karaf" with "karaf/karaf"

stop karaf with <Ctrl + D> and start it as service

read the karaf manual http://karaf.apache.org/manual/2.2.9/users-guide/index.html

use the deploy folder to install additional plugins

SSH access

Configuration > Apache Karaf Shell

configure HTTPS

create a key and trust store

$ cd etc/ && mkdir ssl && cd ssl
$ keytool -genkey -keystore key.jks -keyalg RSA

Configuration > Apache Felix Jetty Based Http Service

  • disable HTTP
  • enable HTTPS on Port 443 (needs a boot as root)
  • set Keystore, Truststore and all passwords