> For the complete documentation index, see [llms.txt](https://docs.tibero.com/prosyncmanager/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/prosyncmanager/installation-guide/preparation/config-setting.md).

# 설치 환경 설정

## 1. ProSync Manager 구성 확인 <a href="#id-1.-prosync-manager" id="id-1.-prosync-manager"></a>

ProSync Manager 배포 파일을 압축 해제하면 다음과 같은 구조가 나타난다.

{% code collapsedlinecount="10" %}

```
installation/
├── _setup_ssl.sh
├── ResetPassword.sh
├── apache-tomcat.tar.gz
├── convert_timestamp_to_timestampz.sh
├── convert_timestamp_to_timestampz.sql
├── install.cfg
├── install.log
├── install.sh
├── license
│   ├── LICENSE.txt
│   └── LICENSE_FONT.txt
├── logs
├── prosyncmanager
├── prosyncmanager.properties
├── prosyncmanager.properties.template
├── prsmgr_meta.sql
├── repodb
│   ├── Encryptor.jar
│   ├── Resetter.jar
│   ├── install_repo.sh
│   ├── repoDB.yml
│   ├── repoDB_no_vol.yml
│   ├── repodb_image.tar.aa
│   ├── repodb_image.tar.ab
│   ├── repodb_image.tar.ac
│   ├── repodb_image.tar.ad
│   ├── repodb_image.tar.ae
│   ├── repodb_image.tar.af
│   ├── repodb_image.tar.ag
│   ├── repodb_image.tar.ah
│   ├── repodb_image.tar.ai
│   ├── repodb_image.tar.aj
│   ├── repodb_image.tar.ak
│   └── vars.yml
├── tomcat_logs
├── verify
└── wars
    ├── prsmgr_web.war
    └── server.war

```

{% endcode %}

다음은 위 구조에서 확인되는 주요 파일 및 디렉터리에 대한 설명이다.

* \_setup\_ssl.sh\
  ssl 설정을 위해 사용되는 스크립트 파일이다.
* ResetPassword.sh

  ProSync Manager에서 사용되는 Root 사용자의 비밀번호를 초기화하는 파일이다.
* install.cfg

  ProSync Manager를 설치하기 위해 사용하는 환경 설정 파일이다.
* install.sh

  ProSync Manager를 설치하기 위한 셸 스크립트 파일이다.
* logs

  ProSync Manager의 서버 로그가 남는 디렉터리이다.
* prosyncmanager

  ProSync Manager의 시작 또는 종료를 수행하는 파일이다. `--help` 명령어로 사용법을 확인할 수 있다.
* prosyncmanager.properties

  ProSync Manager의 서버 파라미터를 설정하는 파일이다.
* prsmgr\_meta.sql

  ProSync Manager의 repo DB에 설치되는 스키마 정보를 담고 있는 파일이다.
* repodb

  ProSync Manager의 repo DB를 설치할 때 필요한 파일들이 위치하는 디렉터리이다.

| 파일명                  | 설명                                        |
| -------------------- | ----------------------------------------- |
| Encryptor.jar        | repo DB에서 ROOT user의 비밀번호를 암호화하기 위한 파일이다. |
| Resetter.jar         | repo DB에서 ROOT user의 비밀번호를 초기화하기 위한 파일이다. |
| install\_repo.sh     | repoDB를 설치하기 위한 셸 스크립트 파일이다.              |
| repodb\_image.tar.\* | openSQL 이미지 파일이다.                         |
| vars.yml             | openSQL 설치에 사용되는 파일이다.                    |

* server.xml

  ProSync Manager가 사용할 Tomcat 서버의 Connector 및 Context가 정의된 파일이다.
* tomcat\_logs

  ProSync Manager에서 사용하는 Tomcat 로그가 남는 디렉터리이다.
* wars

  ProSync Manager의 바이너리 파일들이 위치하는 디렉터리이다.

| 파일명             | 설명                                |
| --------------- | --------------------------------- |
| server.war      | ProSync Manager의 백엔드 바이너리 파일이다.   |
| prsmgr\_web.war | ProSync Manager의 프론트엔드 바이너리 파일이다. |

***

## 2. 시스템 환경 변수 설정 <a href="#id-2" id="id-2"></a>

* **PRSMGR\_HOME**

  ProSync Manager 바이너리를 압축 해제한 뒤 `installation` 디렉터리로 설정한다.
