raw 파일 경로 수정: /raw/main /raw/branch/main (Gitea 정확한 형식)
This commit is contained in:
14
README.md
14
README.md
@ -86,44 +86,44 @@ chmod +x proxmox/setup.sh
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# VM에 SSH 접속 후 실행
|
# VM에 SSH 접속 후 실행
|
||||||
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/vm/setup_common.sh | bash
|
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/vm/setup_common.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
#### PHP 8.2 설치
|
#### PHP 8.2 설치
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 위의 setup_common.sh 이후 실행
|
# 위의 setup_common.sh 이후 실행
|
||||||
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/vm/install_php.sh | bash -s 8.2
|
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/vm/install_php.sh | bash -s 8.2
|
||||||
```
|
```
|
||||||
|
|
||||||
#### PHP 8.4 설치
|
#### PHP 8.4 설치
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/vm/install_php.sh | bash -s 8.4
|
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/vm/install_php.sh | bash -s 8.4
|
||||||
```
|
```
|
||||||
|
|
||||||
#### MariaDB 설정 (LXC에서 root로 실행)
|
#### MariaDB 설정 (LXC에서 root로 실행)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/lxc/setup_mariadb.sh | bash
|
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/lxc/setup_mariadb.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Proxmox 전체 자동화 (Proxmox 호스트에서 root로 실행)
|
#### Proxmox 전체 자동화 (Proxmox 호스트에서 root로 실행)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/proxmox/setup.sh | bash
|
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/proxmox/setup.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Proxmox 개별 VM 생성 (Proxmox 호스트에서 root로 실행)
|
#### Proxmox 개별 VM 생성 (Proxmox 호스트에서 root로 실행)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/proxmox/create_vm.sh | bash
|
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/proxmox/create_vm.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Proxmox 개별 LXC 생성 (Proxmox 호스트에서 root로 실행)
|
#### Proxmox 개별 LXC 생성 (Proxmox 호스트에서 root로 실행)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/main/proxmox/create_lxc.sh | bash
|
curl -fsSL https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/proxmox/create_lxc.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
**한줄 명령어 설명:**
|
**한줄 명령어 설명:**
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
" 기본 설정
|
" 기본 설정
|
||||||
set number " 줄 번호 표시
|
"set number " 줄 번호 표시
|
||||||
set ruler " 커서 위치 표시
|
set ruler " 커서 위치 표시
|
||||||
set showcmd " 명령어 표시
|
set showcmd " 명령어 표시
|
||||||
set showmatch " 괄호 매칭 표시
|
set showmatch " 괄호 매칭 표시
|
||||||
|
|||||||
@ -7,8 +7,8 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# dotfiles 저장소
|
# dotfiles 저장소
|
||||||
# Gitea raw 파일 경로: https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/path
|
# Gitea raw 파일 경로: https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/...
|
||||||
DOTFILES_BASE_URL="https://git.siane.kr/firstgarden/cafe24-testserver/raw/main"
|
DOTFILES_BASE_URL="https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main"
|
||||||
|
|
||||||
echo "=== LXC MariaDB 초기 세팅 시작 ==="
|
echo "=== LXC MariaDB 초기 세팅 시작 ==="
|
||||||
|
|
||||||
|
|||||||
@ -92,8 +92,8 @@ sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh
|
|||||||
sudo systemctl restart sshd
|
sudo systemctl restart sshd
|
||||||
|
|
||||||
# 8. Vim 및 Bash 설정 파일 다운로드 (git에서)
|
# 8. Vim 및 Bash 설정 파일 다운로드 (git에서)
|
||||||
# Gitea raw 파일 경로: https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/path
|
# Gitea raw 파일 경로: https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main/...
|
||||||
DOTFILES_BASE_URL="https://git.siane.kr/firstgarden/cafe24-testserver/raw/main"
|
DOTFILES_BASE_URL="https://git.siane.kr/firstgarden/cafe24-testserver/raw/branch/main"
|
||||||
|
|
||||||
if command -v curl &>/dev/null; then
|
if command -v curl &>/dev/null; then
|
||||||
echo "dotfiles 다운로드 중..."
|
echo "dotfiles 다운로드 중..."
|
||||||
|
|||||||
Reference in New Issue
Block a user