One may install pundun from pre-built packages or from source code. To install a pre-built package, download desired version form downloads page or use pundun repo as a software source on target system.
on ubuntu 16.04:
sudo cp pundun_1.0.9-1_amd64.deb /var/cache/apt/archives/
sudo dpkg -i /var/cache/apt/archives/pundun_1.0.9-1_amd64.deb
on centos 6.7:
sudo rpm -Uvh pundun-1.0.9-1.el6.x86_64.rpm
Pundun Data Management Framework is deigned to be a distributed system, although it could be used as a single node system. Deployment of a multi node system requires configuration of pundun instances and operational tasks which are described in this docs. On this page you will the find minimum to get hands on pundun.
top more on system architecture
Edit ‘/etc/pundun.yaml’; Modify ‘pbp_server_options’ parameter.
SSL certificate and key files should be defined here. To generate self signed certificate files, one may use below commands.
cd /usr/lib/pundun/lib/pundun-1.0.9/priv/
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 1095 -nodes
Edit /etc/pundun.yaml
.
Modify pundun_cli_options
parameter.
Under specified user_dir
, place public and private keys for ssh client.
cd /usr/lib/pundun/lib/pundun-1.0.9/priv/ssh
ssh-keygen -t rsa -f <user_dir>/id_rsa
Under specified system_dir
, place public and private keys for ssh host.
ssh-keygen -t rsa -f <system_dir>/ssh_host_rsa_key
Store any public key in authorized_keys
file at the configured system_dir
.
service pundun start
# or
pundun start
Read local logs from /usr/lib/pundun/log/local.pundun.log
file.
service pundun start
# or
pundun start
To connect local pundun node`s CLI that is created as above.
ssh localhost -p 8989
Or ssh to remote node that listens on a configured ip and port. top