You can download the latest version of the kcn 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
|- 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
Installation
The installation is the uncompression of the downloaded package where you want to install the package.
$tarzxfkcn-vX.X.X-linux-amd64.tar.gz
Or,
$tarzxfkcn-baobab-vX.X.X-linux-amd64.tar.gz
Note: it is recommended that the uncompressed directory kcn-linux-amd64/bin path should be added to the environment variable $PATH to run the kcn and kcnd globally. As an example,
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.
Or,
Install from Klaytn Yum Repo
Alternatively, you can install kcnd from the Klaytn Yum repo, run: