Update README.md
This commit is contained in:
parent
9cbb971b6d
commit
d49f92e526
30
README.md
30
README.md
@ -112,6 +112,36 @@ apt-get update
|
|||||||
# Enterprise repository 완전 비활성화 확인
|
# Enterprise repository 완전 비활성화 확인
|
||||||
grep -r "enterprise.proxmox.com" /etc/apt/sources.list.d/
|
grep -r "enterprise.proxmox.com" /etc/apt/sources.list.d/
|
||||||
```
|
```
|
||||||
|
## 💻 개발 환경 설정 (code-server)
|
||||||
|
|
||||||
|
팜큐 네트워크에 연결된 서버에서 **웹 기반 VS Code 개발 환경**을 빠르게 구축:
|
||||||
|
|
||||||
|
### 한 줄 설치 (권장)
|
||||||
|
```bash
|
||||||
|
# 기본 포트 8080으로 설치
|
||||||
|
curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | bash
|
||||||
|
|
||||||
|
# 포트 지정 설치 (예: 8443)
|
||||||
|
curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | PORT=8443 bash
|
||||||
|
```
|
||||||
|
|
||||||
|
### 무인 설치 (비밀번호 환경변수 설정)
|
||||||
|
```bash
|
||||||
|
# 비밀번호를 환경변수로 전달
|
||||||
|
curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | PASSWORD="your-secure-password" SKIP_CONFIRM=1 bash
|
||||||
|
```
|
||||||
|
|
||||||
|
### 자동 설치 기능
|
||||||
|
- ✅ **code-server 자동 설치** (미설치 시)
|
||||||
|
- ✅ **설정 파일 자동 생성** 및 구성
|
||||||
|
- ✅ **기존 프로세스 정리** (중복 실행 방지)
|
||||||
|
- ✅ **0.0.0.0 바인딩** (외부 접속 가능)
|
||||||
|
- ✅ **nohup 백그라운드 실행** (세션 종료 후에도 유지)
|
||||||
|
|
||||||
|
### 설치 후 접속
|
||||||
|
```bash
|
||||||
|
# 브라우저에서 접속
|
||||||
|
http://<서버IP>:8080
|
||||||
|
|
||||||
## 라이선스
|
## 라이선스
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user