Installation Guide

You can download the latest version of the kpn on Download page.

Linux Archive Distribution

The archive file consists of the executable binary and the configuration file structured as follows.

Note: Do NOT alter the file structure or file name. If you change it, the node may not function correctly.

- bin
  |- kpn
  |- kpnd
- conf
  |- kpnd.conf
File NameFile Description

bin/kpn

PN executable file

bin/kpnd

PN start/termination script file

conf/kpnd.conf

PN configuration file

Installation

The installation is the uncompression of the downloaded package where you want to install the package.

$ tar zxf kpn-vX.X.X-linux-amd64.tar.gz

Or,

$ tar zxf kpn-baobab-vX.X.X-linux-amd64.tar.gz

Note: it is recommended that the uncompressed directory kpn-linux-amd64/bin path should be added to the environment variable $PATH to run the kpn and kpnd globally. As an example,

$ export PATH=$PATH:~/downloaded/path/kpn-linux-amd64/bin

The other sections assume that the path is added to the variable.

RPM Distribution (RHEL/CentOS/Fedora)

Install downloaded RPM

You can install the downloaded RPM file with the following yum command.

$ yum install kpnd-vX.X.X.el7.x86_64.rpm

Or,

$ yum install kpnd-baobab-vX.X.X.el7.x86_64.rpm

Install from Klaytn Yum Repo

Alternatively, you can install kpnd from the Klaytn Yum repo, run:

$ sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kpnd

Installed Location

The installed files are located as follows.

File NameLocation

kpn

/usr/bin/kpn

kpnd.conf

/etc/kpnd/conf/kpnd.conf

Last updated