Version 3 (modified by dgf, 12 years ago) (diff) |
---|
DeepaMehta Karaf Distribution
extract archive
$ tar xzvf deepamehta-4.0.13-karaf.tar.gz $ cd deepamehta-4.0.13-karaf
configure DeepaMehta specific network and security properties
$ cat etc/system.properties # DeepaMehta specific configuration dm4.security.read_requires_login=true dm4.security.write_requires_login=true dm4.security.subnet_filter=0.0.0.0/0 dm4.host.url=http://<FQDN>:18081/ dm4.database.path=${karaf.home}/deepamehta-db dm4.filerepo.path=${karaf.home}/deepamehta-files
and optionally configure the HTTP environment
$ cat etc/org.apache.felix.http.cfg org.apache.felix.http.enable = true org.osgi.service.http.port = 18081
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