Installation Guide
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.confbin/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.
$ tar zxf kcn-vX.X.X-linux-amd64.tar.gzOr,
$ tar zxf kcn-baobab-vX.X.X-linux-amd64.tar.gzNote: 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,
$ export PATH=$PATH:~/downloaded/path/kcn-linux-amd64/binThe 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 kcnd-vX.X.X.el7.x86_64.rpmOr,
$ yum install kcnd-baobab-vX.X.X.el7.x86_64.rpmInstall from Klaytn Yum Repo
Alternatively, you can install kcnd 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 kcndInstalled Location
The installed files are located as follows.
kcn
/usr/bin/kcn
kcnd.conf
/etc/kcnd/conf/kcnd.conf
Last updated