설치

본 장에서는 AnyEIMS 설치 및 환경 설정 방법을 설명합니다.

설치 파일 구성

다음은 제품 설치 시 제공되는 파일의 구성입니다.

|-- applications
|   |-- AnyEIMS-VERSION.jar  ....(1)
|-- libs
|   |-- ojdbc11.jar  ....(2)
|   |-- (사용자 커스텀 lib JAR)  ....(3)
|-- properties
|   |-- application-extensions.yml  ....(4)
|-- frontend  ....(5)
|-- sqls
|   |-- create.sql  ....(6)
|   |-- insert.sql  ....(7)
|   |-- (optional) alter.sql  ....(8)
|-- bin
|   |-- start.sh  ....(9)
|   |-- stop.sh  ....(10)
번호 설명

(1)

EIMS 백엔드 JAR 파일입니다. 기존 eims-custom-*.jar가 Boot JAR에 통합되었습니다

(2)

Oracle 연결을 위한 JDBC 드라이버입니다. JDK 17을 지원하는 ojdbc11.jar를 사용합니다.

(3)

사용자 커스텀 lib 구현체 JAR 파일입니다. JDK 17 기준으로 빌드해야 합니다.

(4)

백엔드 바이너리의 확장 속성을 정의한 파일입니다.

(5)

프론트엔드 정적 파일 디렉토리입니다.

(6)

AnyEIMS에서 사용될 테이블을 생성하는 SQL 파일입니다.

(7)

AnyEIMS에서 기본적으로 사용될 값을 넣는 SQL 파일입니다.

(8)

버전 업데이트 시 스키마 변경을 위한 SQL 파일입니다.

(9)

EIMS 기동 스크립트입니다.

(10)

EIMS 종료 스크립트입니다.

1.1.0 버전부터 eims-custom-*.jar 파일들이 Boot JAR에 통합되었습니다. 따라서 libs 디렉토리에는 사용자 커스텀 lib JARojdbc.jar만 배치하면 됩니다.

설치

다음은 AnyEIMS을 설치하는 과정에 대한 설명입니다.

  1. 설치 파일이 실행 가능하도록 파일의 실행 권한을 다음과 같이 부여합니다.

    chmod u+x anyeims1.1_generic.bin
  2. 설치 파일을 다음과 같이 실행합니다.

    anyeims@node:~$ ./anyeims1.1_generic.bin
  3. 라이선스 동의 여부를 결정합니다.

    동의를 하면 'y’를 입력한 후 <ENTER> 키를 누르고, 아니면 'n’을 입력한 후 <ENTER> 키를 누릅니다.

    ===============================================================================
    License Agreement
    -----------------
    
    Installation and Use of AnyEIMS 1.1 Requires Acceptance of the Following License
    Agreement:
    
    Release AnyEIMS 1.1
    TmaxSoft Co., Ltd. (hereafter, TmaxSoft) End-User License Agreement
    
    Product : AnyEIMS
    
    This is a legal agreement between you (either an individual or an company) and
    TmaxSoft, Incorporated.  By opening the sealed software package and/or by
    using the software, you agree to be bound by the terms of this agreement.
    
    TmaxSoft License
    1. Grant of License: This License permits you to use one copy of the software
    on any single computer.
    
    PRESS <ENTER> TO CONTINUE:
    mechanism or process in place to ensure that the number of persons using the
    software concurrently does not exceed the number of licenses.
    
    2. Copyright: The software is owned by TmaxSoft or its suppliers.
    
    3. Other restrictions: You may not reverse engineer, decompile, or disassemble
    the software, except where expressly permitted by law.
    
    DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? [Y/N]:
  4. AnyEIMS의 설치 경로를 입력합니다.

    Enter installation path (default: /home/tmaxsoft/AnyEIMS):
    → Installing into: /home/iftest/AnyEIMS
    
     -> This program requires Java version 17.0 or higher.
    
    Enter Java home path (default: /usr):
     -> Java version 21.0.10 2026-01-20 LTS detected at /usr (OK).
    Enter web service port (default: 8080):
    ✅ Using port: 8080
    → Extracting payload...
     -> Updated /home/tmaxsoft/AnyEIMS/bin/start.sh with INSTALL_DIR=/home/tmaxsoft/AnyEIMS
     -> Updated /home/tmaxsoft/AnyEIMS/bin/stop.sh with INSTALL_DIR=/home/tmaxsoft/AnyEIMS
     -> Updated /home/tmaxsoft/AnyEIMS/properties/application-extensions.yml with APP_PORT=8080
    ===============================================================================
    Installation Summary
    ------------------------
    
    Product Name:
        AnyEIMS 1.1
    
    Install Folder: /home/iftest/AnyEIMS
      Settings:
       - JAVA_HOME: /usr
       - APP_PORT : 8080
    
     To start the AnySIM:
       /home/iftest/AnyEIMS/bin/start.sh
    
     To stop the AnySIM:
       /home/iftest/AnyEIMS/bin/stop.sh
    
    
     After start, access the AnyEIMS
       http://127.0.0.1:8080/
    
    ===============================================================================
    NOTE: Before starting the server, configure the AnyEIMS database datasource and generate the database ERD.
           The ERD scripts are located at:
           /home/tmaxsoft/AnyEIMS/sql
    [INFO] Installation flow finished.
    • 설치 후 start.sh를 실행하기 위해서는 JAVA_HOME 환경 변수가 사전에 설정되어 있어야 합니다.

    • application-extensions.yml 내 server.port를 수정하면 다른 포트를 통해 접속 가능합니다.

  5. Oracle DB에서 AnyEIMS가 사용할 데이터베이스 객체를 생성하는 SQL문을 실행합니다.

    create.sql을 먼저 실행 한 후, insert.sql을 적용합니다.

    • 새로운 버전 패치를 받을 경우에는 alter.sql을 적용합니다.

    • 이전 버전에서 업그레이드 하는 경우에는 create.sql, insert.sql을 실행하지 않고 기존 데이터베이스를 그대로 사용합니다.