From d196886752fc916b8b540f541441af2a2d139025 Mon Sep 17 00:00:00 2001 From: "DESKTOP-TKLFCPR\\ython" Date: Fri, 29 May 2026 19:14:05 +0900 Subject: [PATCH] =?UTF-8?q?feat(setup):=20=ED=8F=90=EC=87=84=EB=A7=9D=20?= =?UTF-8?q?=EC=99=84=EC=A0=84=20=EC=98=A4=ED=94=84=EB=9D=BC=EC=9D=B8=20?= =?UTF-8?q?=EC=84=A4=EC=B9=98=20=EC=A7=80=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [download_packages.sh — 인터넷 서버에서 실행] - OS별 패키지 다운로드 (ubuntu .deb / centos .rpm) - pip wheel 전체 다운로드 (-r requirements.txt) - Tomcat 9 tar.gz, Ollama 바이너리, Chart.js 다운로드 - Ollama 모델(llama3.1:8b, codellama:7b) 압축 패키지 - Docker 이미지 tar (docker_package.sh 연동) - setup/offline/ 에 계층적으로 저장, README.md 자동 생성 [설치 스크립트 오프라인 지원 강화] - setup_ubuntu.sh: OFFLINE_PKG_DIR 환경변수 지원 (.deb 로컬 설치) - setup_centos.sh: OFFLINE_PKG_DIR 환경변수 지원 (.rpm 로컬 설치) - 기존 TOMCAT_MIRROR=file://..., OLLAMA_INSTALL=offline 유지 [Chart.js 오프라인 폴백] - index.html: CDN 실패 시 /static/chart.umd.min.js 로컬 폴백 - db_init.py: 오프라인 패키지에서 chart.umd.min.js 자동 복사 폐쇄망 설치 절차: 인터넷 서버: bash setup/download_packages.sh all USB 복사: tar -czf offline.tar.gz setup/offline/ 폐쇄망 설치: OFFLINE_PKG_DIR=./offline/ubuntu bash setup/setup_ubuntu.sh Co-Authored-By: Claude Sonnet 4.6 --- itsm/static/index.html | 210 ++++++++++++++++----- itsm/tools/db_init.py | 11 ++ setup/download_packages.sh | 375 +++++++++++++++++++++++++++++++++++++ setup/setup_centos.sh | 18 +- setup/setup_ubuntu.sh | 23 ++- 5 files changed, 585 insertions(+), 52 deletions(-) create mode 100644 setup/download_packages.sh diff --git a/itsm/static/index.html b/itsm/static/index.html index aab0ce09..28583dfc 100644 --- a/itsm/static/index.html +++ b/itsm/static/index.html @@ -5,6 +5,22 @@ GUARDiA ITSM + + @@ -143,59 +159,163 @@
-
- + +
+ + +
+ + + +
-
-
-
최근 SR
-
-
-
-
상태별 현황
-
-
-
- -
-
- 👷 엔지니어 워크로드 - -
-
-
로딩 중…
-
-
- -