Setting up Hazelcast

Download hazelcast-3.8
Copy hazelcast.xml from /bin into /demo.
Run demo/console.sh

Note the file name must be hazelcast.xml or else the ConsoleApp will not recognize the provided config file.

Connecting your hazelcast instance to mancenter is done through mancenter. Make sure your mancenter url appears as it does in the hazelcast.xml file.

Nexus Repository Manager

Unzip
Potentially add bin to the PATH var
./nexus start
(wait about 2 minutes for the services to start up)
visit http://localhost:8082/#browse/welcome
Top right, click Sign in
Default creds: admin / admin
Click on Settings in the top bar > Repositories
Create repository


Here is how to proxy live repositories such as maven central:
Select Recipe: maven2 (proxy)
Name: maven central, Release, Strict, maven central url
Create repository

After using the generated url to fetch 1 or 2 jars, the repository Status will change from Online - Remote Connection Pending to Online.

You can also create your own local by using Select Recipe: maven2 (hosted).

Setting up ssh tunnel

On remote windows server:

sshd start
# must create all ssh_host_keys first
# ssh-keygen -a
# the sshd_config is probably inside /etc/ssh/sshd_config

on the local client:

ssh -L [localport]:[redirect-ip]:[redirect-port] -N

you can also chain them like this:

ssh -L 10000:test.com:10000 -N \
-L 20000:test.com:20000 -N \
-L 30000:test.com:30000 -N


http://localhost:10000 will now reach test.com:10000 THROUGH your ssh tunnel (remote windows server)

Setting up karaf w/ cellar

edit bin/setenv
export JAVA_MIN_MEM=1024M
export JAVA_MAX_MEM=2048M
export JAVA_PERM_MEM=1024M
export JAVA_MAX_PERM_MEM=2048M

feature:repo-add cellar 3.0.3
feature:list | grep -i cellar
feature:install cellar
# feature:install cellar/3.0.3
feature:install cellar-obr
# feature:install cellar-obr/3.0.3
cluster:obr-[hit tab] # should show cluster:obr-add-url
cluster:group-create group # optional, I just use default
cluster:obr-add-url default file:///path/to/repo/index.xml # note the file protocol is needed
# alternatively, add the uri above to etc/config.properties under obr.repository.url
cluster:group-list
cluster:obr-list-url default
cluster:obr-list default | grep -i [package name]

note: if you remove ~/.karaf, you will have to re-exec all of the above again.