The archive file consists of the executable binary and the configuration file structured as follows.
kcn
/ kcnd
kpn
/ kpnd
- bin
|- kcn
|- kcnd
- conf
|- kcnd.conf
File Name | File Description
--------------------------------------------------------
bin/kcn | CN executable file
bin/kcnd | CN start/termination script file
conf/kcnd.conf | CN configuration file
Do NOT alter the file structure or file name. If you change it, the node may not function correctly.
The installation is decompress of the downloaded package where you want to install the package.
$ tar zxf kcn-vX.X.X-linux-amd64.tar.gz
or
$ tar zxf kcn-baobab-vX.X.X-linux-amd64.tar.gz
it is recommended that decompress directory kcn-linux-amd64/bin path should be added to the environment variable $PATH to run the kcn and kcnd globally.
As an example,
$ export PATH=$PATH:~/downloaded/path/kcn-linux-amd64/bin
You can install 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 kcnd
sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kpnd
Alternatively, you can install the downloaded RPM file with the following yum command.
$ yum install kcnd-vX.X.X.el7.x86_64.rpm
or
$ yum install kcnd-baobab-vX.X.X.el7.x86_64.rpm
$ yum install kpnd-vX.X.X.el7.x86_64.rpm
or
$ yum install kpnd-baobab-vX.X.X.el7.x86_64.rpm
The installed files are located as follows. (The PN node is also in the same location.)
File Name | Location
-------------------------------------------
kcnd.conf | /etc/kcnd/conf/kcnd.conf
You can check the more details information on the page below.
If you finish this step, please click the next button >
on the right side of this page.