From 417d8360e881cd64e118320cd2105df19dfd54a8 Mon Sep 17 00:00:00 2001 From: KWON Date: Tue, 23 Dec 2025 12:36:07 +0900 Subject: [PATCH] =?UTF-8?q?README.md:=20=EA=B0=9C=EB=B3=84=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A6=BD=ED=8A=B8=20=ED=95=9C=EC=A4=84=20=EC=8B=A4?= =?UTF-8?q?=ED=96=89=20=EB=AA=85=EB=A0=B9=EC=96=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/README.md b/README.md index 3a66dbf..a51927b 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,62 @@ chmod +x proxmox/setup.sh --- +### ⚡ 방법 3: 개별 스크립트 한줄 실행 + +각 스크립트를 독립적으로 한 명령어로 다운로드 > 권한 설정 > 실행할 수 있습니다. + +#### VM 공통 설정 (Apache, FTP, Vim, Bash) + +```bash +# VM에 SSH 접속 후 실행 +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz && cd cafe24-testserver-main && chmod +x vm/setup_common.sh && ./vm/setup_common.sh +``` + +#### PHP 8.2 설치 + +```bash +# 위의 setup_common.sh 이후 실행 +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz && cd cafe24-testserver-main && chmod +x vm/install_php.sh && ./vm/install_php.sh 8.2 +``` + +#### PHP 8.4 설치 + +```bash +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz && cd cafe24-testserver-main && chmod +x vm/install_php.sh && ./vm/install_php.sh 8.4 +``` + +#### MariaDB 설정 (LXC에서 root로 실행) + +```bash +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz && cd cafe24-testserver-main && chmod +x lxc/setup_mariadb.sh && ./lxc/setup_mariadb.sh +``` + +#### Proxmox 전체 자동화 (Proxmox 호스트에서 root로 실행) + +```bash +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz && cd cafe24-testserver-main && chmod +x proxmox/setup.sh && ./proxmox/setup.sh +``` + +#### Proxmox 개별 VM 생성 (Proxmox 호스트에서 root로 실행) + +```bash +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz && cd cafe24-testserver-main && chmod +x proxmox/create_vm.sh && ./proxmox/create_vm.sh +``` + +#### Proxmox 개별 LXC 생성 (Proxmox 호스트에서 root로 실행) + +```bash +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz && cd cafe24-testserver-main && chmod +x proxmox/create_lxc.sh && ./proxmox/create_lxc.sh +``` + +**한줄 명령어 설명:** +- `curl -fsSL ... | tar xz` : 저장소를 압축파일로 다운로드하여 압축 해제 +- `cd cafe24-testserver-main` : 압축 해제된 디렉토리로 이동 +- `chmod +x` : 스크립트에 실행 권한 부여 +- `./스크립트명` : 스크립트 실행 + +--- + ### 📖 방법 2: 수동 생성 (단계별) #### 1️⃣ Proxmox에서 VM 생성