# Installation

이 장에서는 **서비스체인 컨센서스 노드 (SCN)** 설치에 대해 설명합니다.

## Linux Archive Distribution <a href="#linux-archive-distribution" id="linux-archive-distribution"></a>

서비스체인 컨센서스 노드의 아카이브 파일은 다음과 같은 디렉토리 레이아웃을 가집니다.

| File Name       | File Description    |
| --------------- | ------------------- |
| bin/kscn        | SCN 실행 파일           |
| bin/kscnd       | SCN 시작 및 종료 스크립트 파일 |
| conf/kscnd.conf | SCN 환경설정 파일         |

homi 바이너리의 아카이브 파일은 다음과 같은 디렉토리 레이아웃을 가집니다.

| File Name | File Description |
| --------- | ---------------- |
| bin/homi  | HOMI 실행 파일       |

### Installation <a href="#installation" id="installation"></a>

The installation is the uncompression of the downloaded package.

```
$ tar zxf kscn-vX.X.X-XXXXX-amd64.tar.gz
$ tar zxf homi-vX.X.X-XXXXX-amd64.tar.gz
```

## RPM Distribution (RHEL/CentOS/Fedora) <a href="#rpm-rhel-centos-fedora" id="rpm-rhel-centos-fedora"></a>

### Installation <a href="#installation" id="installation"></a>

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

```
$ yum install kscnd-vX.X.X.el7.x86_64.rpm
$ yum install homi-vX.X.X.el7.x86_64.rpm
```

### Installed Location <a href="#scn-configuration" id="scn-configuration"></a>

Klaytn Linux 패키지는 아래와 같이 바이너리 실행 파일과 환경설정 파일로 구성되어 있습니다.

| File Name  | Location                   |
| ---------- | -------------------------- |
| kscn       | /usr/bin/kscn              |
| kscnd.conf | /etc/kscnd/conf/kscnd.conf |
| homi       | /usr/bin/homi              |
