One-Click Installation Guide
📘 Overview
This document describes how to quickly deploy a CSGHUB test environment using the one-click script. This method is mainly for functional verification, development testing, and proof-of-concept (PoC) scenarios.
⚠️ Important Note: This installation method is only suitable for test and development environments. For production, please use the standard deployment process.
🧩 System and Prerequisites
✅ Supported Operating Systems
| System Type | Notes |
|---|---|
| Alpine Linux | Lightweight support, some features limited (e.g., GPU) |
| Ubuntu / Debian | Recommended |
| CentOS / RHEL / Rocky / Alma / Fedora | Compatible support |
💻 Hardware Requirements
| Resource Type | Minimum Configuration | Recommended Configuration |
|---|---|---|
| CPU | 4 cores | 8 cores |
| Memory | 8 GB | 16 GB |
| Storage | 200 GB | 500 GB |
| Network | Internet access | Static public IP preferred |
🔧 Software Dependencies
- bash: script execution
- curl: download installation package
- root privileges (required)
⚙️ One-Click Installation Command
# Replace example.com with your actual domain
curl -sfL http://quick-install.opencsg.com | bash -s -- --domain csghub.example.com
The script will automatically perform the following steps:
- Detect system environment
- Install lightweight K3s Kubernetes cluster
- Automatically install Helm
- Deploy the CSGHUB Helm Chart
- Configure domain resolution and access entry
- Output access information and login credentials
🧭 Installation Flow Overview
1️⃣ Environment Detection and Dependency Installation
The script automatically:
- Checks the operating system type
- Updates system package repositories
- Installs basic dependencies (bash, curl, jq, iproute2, gettext, gnupg2, etc.)
- Automatically installs Helm if not present
2️⃣ K3S Cluster Deployment
- Installs K3s using the official script (version v1.30.4+k3s1)
- Configures local registry and image acceleration
- Detects network interfaces and sets cluster communication interface
- Waits until K3s nodes are Ready