JJ Ollama Manager 첫 업로드
Ollama · Open WebUI · ComfyUI 통합 관리 스크립트 (Windows PowerShell / macOS bash) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3UWnbHEdCxxWhyNx7Cpd2
This commit is contained in:
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Windows 스크립트는 CRLF, Mac 스크립트는 LF로 고정
|
||||||
|
*.ps1 text eol=crlf
|
||||||
|
*.cmd text eol=crlf
|
||||||
|
*.sh text eol=lf
|
||||||
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# 실행 중 만들어지는 데이터 (컨테이너 데이터·모델·백업·비밀 키)
|
||||||
|
webui/
|
||||||
|
comfyui/
|
||||||
|
*.log
|
||||||
|
.DS_Store
|
||||||
62
README.md
Normal file
62
README.md
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
# JJ Ollama Manager
|
||||||
|
|
||||||
|
Ollama · Open WebUI · ComfyUI를 한 곳에서 설치하고 운영하는 관리 스크립트입니다.
|
||||||
|
방향키 메뉴(fzf)로 동작하고, 모든 메뉴 위에 서버·모델·자원·GPU·연결·WebUI·ComfyUI 상태가 표시됩니다.
|
||||||
|
|
||||||
|
| 파일 | 대상 |
|
||||||
|
|---|---|
|
||||||
|
| `jj_ollama_manager.ps1` | Windows 11 (PowerShell 5.1) |
|
||||||
|
| `RUN.cmd` | Windows 실행용 (실행 정책과 상관없이 더블클릭으로 실행) |
|
||||||
|
| `jj_ollama_manager.sh` | macOS (Intel Mac, 기본 bash 3.2) |
|
||||||
|
|
||||||
|
## 실행
|
||||||
|
|
||||||
|
**Windows** — `RUN.cmd`를 더블클릭하거나:
|
||||||
|
```powershell
|
||||||
|
powershell -ExecutionPolicy Bypass -File .\jj_ollama_manager.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
**Mac**
|
||||||
|
```bash
|
||||||
|
chmod +x jj_ollama_manager.sh
|
||||||
|
./jj_ollama_manager.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
fzf가 없으면 설치 여부를 묻고, 설치하지 않으면 번호 입력 방식으로 동작합니다.
|
||||||
|
|
||||||
|
## 주요 기능
|
||||||
|
|
||||||
|
**Ollama**
|
||||||
|
- 서버 기동 / 종료 / 재시작 분리 (스크립트를 켜도 서버를 건드리지 않음)
|
||||||
|
- 인터넷(ollama.com)에서 모델 목록·태그를 가져와 바로 설치, ⭐ 추천 모델, 일괄 다운로드
|
||||||
|
- 설치된 모델 실행, 메모리 적재 상태 표시, 미리 올리기 / 내리기, 모델 삭제
|
||||||
|
- 한국어 전용 모드 (답변에 한자·중국어 섞임 방지)
|
||||||
|
- 도구 연동 (`ollama launch`: Claude Code, Codex, OpenCode 등)
|
||||||
|
- PC 사양(CPU·램·GPU)에 맞춘 성능 설정과 모델 적합도 표시
|
||||||
|
|
||||||
|
**Open WebUI (Podman)**
|
||||||
|
- Podman 자동 설치, 가상 머신 생성, 기동·종료·재시작·이미지 업데이트·로그·백업
|
||||||
|
- 데이터: 스크립트 폴더의 `webui/`
|
||||||
|
|
||||||
|
**ComfyUI (Podman)**
|
||||||
|
- 공식 소스 + CPU용 PyTorch로 이미지 직접 빌드
|
||||||
|
- 여러 버전을 포트만 다르게 동시 실행 (8188, 8189 …), 모델 폴더는 공용
|
||||||
|
- 그림 모델 다운로드 (⭐ CPU 추천 · 주소 직접 입력 · Hugging Face 토큰)
|
||||||
|
- Open WebUI 이미지 생성 자동 연결, 그림 생성 시험, 백업
|
||||||
|
- 기동 시 Ollama 모델을 자동으로 메모리에서 내림, 가상 머신 메모리 점검
|
||||||
|
- 데이터: 스크립트 폴더의 `comfyui/`
|
||||||
|
|
||||||
|
**통합 운영**
|
||||||
|
- Ollama → WebUI → ComfyUI 전체 기동 · 종료 · 연결 점검
|
||||||
|
|
||||||
|
## 방향키
|
||||||
|
|
||||||
|
| 키 | 동작 |
|
||||||
|
|---|---|
|
||||||
|
| ↑ ↓ | 이동 |
|
||||||
|
| Enter / → | 선택 (모델 목록에서 →는 작업 메뉴) |
|
||||||
|
| ← / Esc | 이전 메뉴 |
|
||||||
|
|
||||||
|
## 참고
|
||||||
|
- 그래픽 카드 가속이 없는 PC에서는 ComfyUI가 CPU로 그림을 만듭니다. 처음에는 ⭐ DreamShaper 8 LCM 모델을 권장합니다.
|
||||||
|
- ComfyUI는 로그인 기능이 없어 내부망에 열면 같은 망의 누구나 접속할 수 있습니다.
|
||||||
4
RUN.cmd
Normal file
4
RUN.cmd
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
@echo off
|
||||||
|
rem JJ Ollama manager launcher - runs regardless of execution policy or download mark
|
||||||
|
cd /d "%~dp0"
|
||||||
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0jj_ollama_manager.ps1" %*
|
||||||
4462
jj_ollama_manager.ps1
Normal file
4462
jj_ollama_manager.ps1
Normal file
File diff suppressed because it is too large
Load Diff
4276
jj_ollama_manager.sh
Executable file
4276
jj_ollama_manager.sh
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user