From c95547628b437d1f3d47d22841bbb74896d4aa55 Mon Sep 17 00:00:00 2001 From: KWON Date: Tue, 23 Dec 2025 11:54:41 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=80=EC=9E=A5=EC=86=8C=20=EC=A3=BC?= =?UTF-8?q?=EC=86=8C=20=EB=B3=80=EA=B2=BD:=20GitHub=20=20Gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 모든 파일의 Git 저장소 주소를 변경: - https://github.com/yourusername/cafe24-testserver https://git.siane.kr/firstgarden/cafe24-testserver 변경된 파일: - README.md: 3곳 - proxmox/README.md: 4곳 - proxmox/setup.sh: 3곳 - proxmox/create_vm.sh: 1곳 - proxmox/create_lxc.sh: 2곳 - vm/setup_common.sh: 1곳 - lxc/setup_mariadb.sh: 1곳 --- README.md | 6 +++--- lxc/setup_mariadb.sh | 2 +- proxmox/README.md | 8 ++++---- proxmox/create_lxc.sh | 4 ++-- proxmox/create_vm.sh | 2 +- proxmox/setup.sh | 6 +++--- vm/setup_common.sh | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index d750207..3a66dbf 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Proxmox VE 호스트의 root 계정에서 한 명령어로 VM과 LXC를 모두 ```bash # Proxmox 호스트에서 root로 실행 cd /root -git clone https://github.com/yourusername/cafe24-testserver.git +git clone https://git.siane.kr/firstgarden/cafe24-testserver.git cd cafe24-testserver chmod +x proxmox/setup.sh ./proxmox/setup.sh @@ -139,7 +139,7 @@ SSH로 VM1에 접속한 후: ```bash # 스크립트 다운로드 cd ~ -git clone https://github.com/yourusername/cafe24-testserver.git +git clone https://git.siane.kr/firstgarden/cafe24-testserver.git cd cafe24-testserver # 공통 설정 실행 @@ -169,7 +169,7 @@ LXC에서 Root로 로그인한 후: ```bash # 스크립트 다운로드 cd /root -curl -fsSL https://github.com/yourusername/cafe24-testserver/archive/main.tar.gz | tar xz +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz cd cafe24-testserver-main # MariaDB 설정 실행 diff --git a/lxc/setup_mariadb.sh b/lxc/setup_mariadb.sh index b362eda..3931b14 100644 --- a/lxc/setup_mariadb.sh +++ b/lxc/setup_mariadb.sh @@ -7,7 +7,7 @@ set -e # dotfiles 저장소 (실제 URL로 변경 필요) -DOTFILES_BASE_URL="https://raw.githubusercontent.com/yourusername/cafe24-testserver/main/dotfiles" +DOTFILES_BASE_URL="https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/dotfiles" echo "=== LXC MariaDB 초기 세팅 시작 ===" diff --git a/proxmox/README.md b/proxmox/README.md index e6215c4..7fb5439 100644 --- a/proxmox/README.md +++ b/proxmox/README.md @@ -17,7 +17,7 @@ Proxmox 호스트에서 VM 2개(PHP 8.2, 8.4)와 LXC(MariaDB)를 한 번에 생 **사용법:** ```bash cd /root -git clone https://github.com/yourusername/cafe24-testserver.git +git clone https://git.siane.kr/firstgarden/cafe24-testserver.git cd cafe24-testserver chmod +x proxmox/setup.sh ./proxmox/setup.sh @@ -145,7 +145,7 @@ LXC ID (예: 201): 202 ```bash # Proxmox 호스트에서 root로 실행 cd /root -git clone https://github.com/yourusername/cafe24-testserver.git +git clone https://git.siane.kr/firstgarden/cafe24-testserver.git cd cafe24-testserver chmod +x proxmox/setup.sh ./proxmox/setup.sh @@ -193,7 +193,7 @@ VM을 생성한 후 Proxmox 웹 UI 콘솔에서 Rocky Linux를 설치한 후: ssh firstgarden@ # 스크립트 다운로드 및 실행 -curl -fsSL https://github.com/yourusername/cafe24-testserver/archive/main.tar.gz | tar xz +curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz cd cafe24-testserver-main # 공통 설정 실행 @@ -268,7 +268,7 @@ pct exec 201 -- ip addr show eth0 ```bash pct exec 201 -- bash -c " cd /root - curl -fsSL 'https://github.com/yourusername/cafe24-testserver/archive/main.tar.gz' | tar xz + 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 diff --git a/proxmox/create_lxc.sh b/proxmox/create_lxc.sh index 49bf060..60c6528 100644 --- a/proxmox/create_lxc.sh +++ b/proxmox/create_lxc.sh @@ -47,7 +47,7 @@ DEFAULT_MEMORY=2048 DEFAULT_CORES=2 DEFAULT_DISK=20 DEFAULT_TEMPLATE="local:vztmpl/rocky-9-default_9.0-1_amd64.tar.gz" -GIT_REPO="https://github.com/yourusername/cafe24-testserver.git" +GIT_REPO="https://git.siane.kr/firstgarden/cafe24-testserver.git" print_info "==========================================" print_info "Proxmox VE - LXC 생성 및 MariaDB 설정" @@ -154,7 +154,7 @@ pct exec "$LXC_ID" -- bash -c " if command -v git &>/dev/null; then git clone '$REPO_URL' cafe24-testserver else - curl -fsSL '$REPO_URL/archive/main.tar.gz' | tar xz + curl -fsSL 'https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz' | tar xz mv cafe24-testserver-main cafe24-testserver fi " diff --git a/proxmox/create_vm.sh b/proxmox/create_vm.sh index 0c262e1..eb94b6c 100644 --- a/proxmox/create_vm.sh +++ b/proxmox/create_vm.sh @@ -129,7 +129,7 @@ if [ $? -eq 0 ]; then echo " ssh firstgarden@" echo "" echo " 스크립트 실행:" - echo " curl -fsSL https://github.com/yourusername/cafe24-testserver/archive/main.tar.gz | tar xz" + echo " curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz" echo " cd cafe24-testserver-main" echo " chmod +x vm/setup_common.sh && ./vm/setup_common.sh" echo " chmod +x vm/install_php.sh" diff --git a/proxmox/setup.sh b/proxmox/setup.sh index 8cc393a..10bba4a 100644 --- a/proxmox/setup.sh +++ b/proxmox/setup.sh @@ -48,7 +48,7 @@ print_info "==========================================" echo "" # 1. Git 저장소 확인 -REPO_URL="https://github.com/yourusername/cafe24-testserver.git" +REPO_URL="https://git.siane.kr/firstgarden/cafe24-testserver.git" REPO_DIR="/root/cafe24-testserver" read -p "Git 저장소 URL [${REPO_URL}]: " input_repo @@ -205,7 +205,7 @@ create_vm() { print_info "4. 설치 완료 후 다음 명령어 실행:" echo "" echo " ssh firstgarden@" - echo " curl -fsSL https://github.com/yourusername/cafe24-testserver/archive/main.tar.gz | tar xz" + echo " curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/archive/main.tar.gz | tar xz" echo " cd cafe24-testserver-main" echo " chmod +x vm/setup_common.sh" echo " ./vm/setup_common.sh" @@ -243,7 +243,7 @@ create_lxc() { pct exec "$lxc_id" -- bash -c " set -e cd /root - curl -fsSL https://github.com/yourusername/cafe24-testserver/archive/main.tar.gz | tar xz + 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 diff --git a/vm/setup_common.sh b/vm/setup_common.sh index f240406..1840bb4 100644 --- a/vm/setup_common.sh +++ b/vm/setup_common.sh @@ -93,7 +93,7 @@ sudo systemctl restart sshd # 8. Vim 및 Bash 설정 파일 다운로드 (git에서) # 주의: 아래 URL을 실제 git 저장소 URL로 변경하세요 -DOTFILES_BASE_URL="https://raw.githubusercontent.com/yourusername/cafe24-testserver/main/dotfiles" +DOTFILES_BASE_URL="https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/dotfiles" if command -v curl &>/dev/null; then echo "dotfiles 다운로드 중..."