Links

Installation Guide

kpn의 최신 버전은 Download 페이지에서 다운로드할 수 있습니다.

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 Name
File Description
bin/kpn
PN 실행 파일
bin/kpnd
PN 시작 및 종료 스크립트 파일
conf/kpnd.conf
PN 환경설정 파일

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: kpn-linux-amd64/bin 디렉토리의 경로를 $PATH 환경 변수에 추가하여 kpnkpnd를 전역적으로 실행할 수 있도록 하세요. 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

아래와 같이 Klaytn Yum 레포지토리에서도 kpnd를 설치할 수 있습니다.
$ 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 Name
Location
kpn
/usr/bin/kpn
kpnd.conf
/etc/kpnd/conf/kpnd.conf