# Installation This guide will help you deploy PPanel on your server using Docker. ## System Requirements ### Minimum Requirements - **Operating System**: Linux (Ubuntu 20.04+, Debian 10+, CentOS 8+) - **CPU**: 1 core - **Memory**: 512MB RAM - **Storage**: 1GB available disk space - **Docker**: 20.10+ - **Docker Compose**: 2.0+ (optional but recommended) ### Recommended Requirements - **CPU**: 2+ cores - **Memory**: 2GB+ RAM - **Storage**: 5GB+ available disk space ## Prerequisites ### Install Docker If you haven't installed Docker yet, please follow the official installation guide: **Ubuntu/Debian:** ```bash # Update package index sudo apt-get update # Install required packages sudo apt-get install -y ca-certificates curl gnupg lsb-release # Add Docker's official GPG key sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg # Set up the repository echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null # Install Docker Engine sudo apt-get update sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin ``` **CentOS/RHEL:** ```bash # Install yum-utils sudo yum install -y yum-utils # Add Docker repository sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # Install Docker Engine sudo yum install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin # Start Docker service sudo systemctl start docker sudo systemctl enable docker ``` ### Verify Installation ```bash # Check Docker version docker --version # Check Docker Compose version docker compose version # Test Docker installation sudo docker run hello-world ``` ## Quick Start ### Method 1: Using Docker Run #### Step 1: Pull the Image ```bash # Pull latest version docker pull ppanel/ppanel:latest # Or pull a specific version docker pull ppanel/ppanel:v0.1.2 ``` #### Step 2: Prepare Configuration Create a configuration directory and prepare the configuration file: ```bash # Create configuration directory mkdir -p ppanel-config # Create configuration file cat > ppanel-config/ppanel.yaml <