RDP 자동화 시스템 문서 및 설치 스크립트 개선

- install-rdp-api.sh: curl 원라이너 설치 지원
  - requirements.txt 의존성 제거 (패키지 버전 스크립트 내장)
  - rdp-toggle-api.py Gitea에서 자동 다운로드
  - 상세한 설치 완료 메시지 추가

- RDP/README.md: 완전히 재구성
  - curl 원라이너 설치 가이드 추가
  - API 엔드포인트 상세 설명 및 응답 예시
  - React 프론트엔드 연동 예시 개선
  - 문제 해결 섹션 추가
  - 네트워크 설정 및 방화벽 가이드

- README.md: RDP 자동화 섹션 추가
  - Proxmox RDP 초기 설정 스크립트 소개
  - RDP Toggle API 설치 가이드
  - API 사용 예시 추가

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude
2025-11-17 00:42:19 +00:00
parent c6919abf1c
commit 4934b0a8f9
3 changed files with 352 additions and 69 deletions

View File

@@ -277,6 +277,51 @@ chmod +x pve-host-changer.sh
- 클러스터 구성 시 신중하게 진행 필요
- 변경 후 시스템 재부팅 권장
## 🖥️ Proxmox RDP 자동화
**Proxmox 호스트에서 RDP 자동 연결 및 원격 제어**:
### RDP 초기 설정 (부팅 시 자동 연결)
```bash
curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/RDP/proxmox-auto-rdp-setup.sh | bash
```
**기능:**
- ✅ 부팅 시 자동으로 RDP 서버에 연결
- ✅ 풀스크린 RDP 세션
- ✅ X Window + Openbox 자동 설정
- ✅ FreeRDP3 클라이언트 설치
### RDP Toggle API 설치 (원격 모드 전환)
```bash
curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/RDP/install-rdp-api.sh | bash
```
**기능:**
-**REST API로 RDP/Shell 모드 전환**
- ✅ FastAPI 기반 서버 (포트 8090)
- ✅ 프론트엔드 통합 가능 (CORS 지원)
- ✅ 실시간 상태 모니터링
- ✅ 설정 동적 변경 (API로 RDP 서버 정보 변경)
### API 사용 예시
```bash
# 현재 상태 확인
curl http://localhost:8090/status
# RDP 모드로 전환
curl -X POST http://localhost:8090/toggle \
-H 'Content-Type: application/json' \
-d '{"mode":"rdp"}'
# Shell 모드로 전환
curl -X POST http://localhost:8090/toggle \
-H 'Content-Type: application/json' \
-d '{"mode":"shell"}'
```
📖 **자세한 가이드**: [RDP/README.md](RDP/README.md)
## 라이선스
MIT License