2025-09-20 19:51:53 +02:00
<div align="center">
<img src="https://community.cyberpanel.net/uploads/default/original/1X/416fdec0e96357d11f7b2756166c61b1aeca5939.png" alt="CyberPanel Logo" width="500"/>
2025-08-01 14:56:30 +05:00
# 🛠️ CyberPanel
Web Hosting Control Panel powered by OpenLiteSpeed, designed to simplify hosting management.
2025-09-21 20:36:12 +02:00
> **Current Version**: 2.4 Build 4 | **Last Updated**: September 21, 2025
2025-09-18 20:45:34 +02:00
2025-09-20 20:46:32 +02:00
[](https://github.com/usmannasir/cyberpanel)
[](https://discord.gg/g8k8Db3)
[](https://www.facebook.com/groups/cyberpanel)
[](https://www.youtube.com/@Cyber -Panel)
[](https://cyberpanel.net/KnowledgeBase/)
2025-08-01 14:56:30 +05:00
---
## 🔧 Features & Services
- 🔐 **Different User Access Levels ** (via ACLs).
- 🌌 **Auto SSL ** for secure websites.
- 💻 **FTP Server ** for file transfers.
- 🕒 **Light-weight DNS Server ** (PowerDNS).
- 🔐 **phpMyAdmin ** to manage databases (MariaDB).
- 📧 **Email Support ** (SnappyMail).
- 🕌 **File Manager ** for quick file access.
- 🌐 **PHP Management ** made easy.
2025-09-05 01:15:44 +02:00
- 🔒 **Firewall ** (FirewallD & ConfigServer Firewall Integration).
2025-08-01 14:56:30 +05:00
- 📀 **One-click Backups and Restores ** .
2025-09-05 01:14:04 +02:00
- 🐳 **Docker Management ** with command execution capabilities.
- 🤖 **AI-Powered Security Scanner ** for enhanced protection.
2025-09-21 19:22:36 +02:00
- 🔐 **Advanced 2FA Authentication ** - TOTP and WebAuthn/Passkey support.
2025-09-12 10:41:11 +02:00
- 📊 **Monthly Bandwidth Reset ** - Automatic bandwidth usage reset (Fixed in latest version).
2025-09-21 19:52:05 +02:00
- 🔗 **RESTful API ** - Complete API for automation and integration including `listChildDomainsJson` endpoint.
---
## 🔗 **RESTful API**
CyberPanel provides a comprehensive RESTful API for automation and integration:
### **Available API Endpoints**
- **Website Management**: Create, delete, suspend, and manage websites
- **User Management**: Create, delete, and manage user accounts
- **Package Management**: List and manage hosting packages
- **Child Domains**: List child domains with `listChildDomainsJson` endpoint
- **Firewall**: Add and delete firewall rules
- **Backups**: Manage AWS backups and remote transfers
- **System Info**: Get CyberPanel version and system status
### **API Authentication**
All API endpoints require authentication using admin credentials:
```bash
curl -X POST http://your-server:8090/api/listChildDomainsJson \
-H "Content-Type: application/json" \
-d '{
"adminUser": "your_admin_username",
"adminPass": "your_admin_password"
}'
```
### **Response Format**
API responses are returned in JSON format with consistent error handling:
```json
[
{
"parent_site": "example.com",
"domain": "subdomain.example.com",
"path": "/home/example.com/public_html/subdomain",
"ssl": 1,
"php_version": "8.1",
"ip_address": "192.168.1.100"
}
]
```
2025-09-05 01:14:04 +02:00
---
## 📖 **Documentation & Guides**
CyberPanel comes with comprehensive documentation and step-by-step guides:
- 📚 * * [Complete Guides Index ](guides/INDEX.md )** - All available documentation in one place
- 🐳 * * [Docker Command Execution ](guides/Docker_Command_Execution_Guide.md )** - Execute commands in Docker containers
- 🤖 * * [AI Scanner Setup ](guides/AIScannerDocs.md )** - Configure AI-powered security scanning
2025-09-21 19:22:36 +02:00
- 🔐 * * [2FA Authentication Guide ](guides/2FA_AUTHENTICATION_GUIDE.md )** - Complete Two-Factor Authentication and WebAuthn setup
2025-09-05 01:14:04 +02:00
- 📧 * * [Mautic Installation ](guides/MAUTIC_INSTALLATION_GUIDE.md )** - Email marketing platform setup
2025-09-15 02:01:11 +02:00
- 🎨 * * [Custom CSS Guide ](guides/CUSTOM_CSS_GUIDE.md )** - Create custom themes for CyberPanel 2.5.5-dev
2025-08-01 14:56:30 +05:00
---
## 🔢 Supported PHP Versions
2025-09-05 01:14:04 +02:00
CyberPanel supports a wide range of PHP versions across different operating systems:
### ☑️ **Currently Supported PHP Versions**
2025-09-15 01:25:52 +02:00
- **PHP 8.5** - Latest stable version (EOL: Dec 2028) ⭐ **NEW! **
2025-09-05 01:14:04 +02:00
- **PHP 8.4** - Stable version (EOL: Dec 2027)
2025-09-15 01:25:52 +02:00
- **PHP 8.3** - **Default version ** - Stable version (EOL: Dec 2027) 🎯
2025-09-05 01:14:04 +02:00
- **PHP 8.2** - Stable version (EOL: Dec 2026)
- **PHP 8.1** - Stable version (EOL: Dec 2025)
- **PHP 8.0** - Legacy support (EOL: Nov 2023)
- **PHP 7.4** - Legacy support (EOL: Nov 2022)
2025-09-21 20:36:12 +02:00
> **Note**: PHP versions are automatically managed by CyberPanel's PHP selector. Third-party repositories may provide additional versions beyond the default support.
2025-09-05 01:14:04 +02:00
### 🔧 **Third-Party PHP Add-ons**
For additional PHP versions or specific requirements, you can install third-party packages:
#### **Ubuntu/Debian**
- **Ondrej's PPA**: Provides PHP 5.6 to 8.5
- **Sury's PPA**: Alternative repository with latest PHP versions
#### **RHEL-based Systems** (AlmaLinux, RockyLinux, CentOS, RHEL)
- **Remi Repository**: Comprehensive PHP package collection
- **EPEL Repository**: Additional packages for enterprise Linux
#### **CloudLinux**
- **CloudLinux PHP Selector**: Built-in tool for managing multiple PHP versions
- **Remi Repository**: Additional PHP versions and extensions
> **Note**: Third-party repositories may provide additional PHP versions beyond what's available in default repositories. Always verify compatibility with your specific use case.
2025-08-01 14:56:30 +05:00
---
2025-09-05 01:14:04 +02:00
## 🌐 Supported Operating Systems
2025-08-01 14:56:30 +05:00
2025-09-21 19:22:36 +02:00
CyberPanel runs on x86_64 architecture and supports the following **Linux ** operating systems:
2025-08-01 14:56:30 +05:00
2025-09-05 01:14:04 +02:00
### **✅ Currently Supported**
2025-09-12 10:41:11 +02:00
- **Ubuntu 24.04.3** - Supported until April 2029 ⭐ **NEW! **
2025-09-05 01:14:04 +02:00
- **Ubuntu 22.04** - Supported until April 2027
- **Ubuntu 20.04** - Supported until April 2025
2025-09-15 21:34:39 +02:00
- **Debian 13** - Supported until 2029 ⭐ **NEW! **
2025-09-21 20:36:12 +02:00
- **Debian 12** - Supported until 2027 (Bookworm)
- **Debian 11** - Supported until 2026 (Bullseye)
2025-09-12 10:41:11 +02:00
- **AlmaLinux 10** - Supported until May 2030 ⭐ **NEW! **
2025-09-21 20:36:12 +02:00
- **AlmaLinux 9** - Supported until May 2032 (Seafoam Ocelot)
- **AlmaLinux 8** - Supported until May 2029 (Sapphire Caracal)
2025-09-05 01:14:04 +02:00
- **RockyLinux 9** - Supported until May 2032
- **RockyLinux 8** - Supported until May 2029
- **RHEL 9** - Supported until May 2032
- **RHEL 8** - Supported until May 2029
2025-09-21 20:36:12 +02:00
- **CloudLinux 9** - Supported until May 2032 ⭐ **NEW! **
2025-09-05 01:14:04 +02:00
- **CloudLinux 8** - Supported until May 2029
2025-09-19 01:19:49 +02:00
- **CentOS Stream 9** - Supported until May 2027
2025-09-21 20:36:12 +02:00
- **CentOS 9** - Supported until May 2027
- **CentOS 7** - Supported until June 2024 ⚠️ **EOL **
- **openEuler** - Community-supported with limited testing
2025-08-01 14:56:30 +05:00
2025-09-21 20:36:12 +02:00
### **🔧 Installation Verification**
2025-08-01 14:56:30 +05:00
2025-09-21 20:36:12 +02:00
All listed operating systems have been verified to work with the current CyberPanel installation script. The installer automatically detects your system and applies the appropriate configuration.
2025-08-01 14:56:30 +05:00
2025-09-21 20:36:12 +02:00
**Verification Status**: ✅ **All OS listed above are confirmed to work **
- Installation scripts include detection logic for all supported distributions
- Version-specific handling is implemented for each OS
- Automatic repository setup for each distribution type
- Tested and verified compatibility across all platforms
2025-08-01 14:56:30 +05:00
2025-09-21 19:22:36 +02:00
### **⚠️ Important Notes**
- **Linux Only**: CyberPanel is designed specifically for Linux systems and does not support Windows
- **Architecture**: Requires x86_64 (64-bit) architecture
- **Virtual Machines**: Windows users can run CyberPanel in a Linux VM
- **Docker**: Alternative option for Windows users via Docker containers
2025-09-05 01:14:04 +02:00
> **Note**: For unsupported operating systems, compatibility is not guaranteed. Always test in a non-production environment first.
2025-08-01 14:56:30 +05:00
---
## ⚙️ Installation Instructions
2025-09-21 19:22:36 +02:00
### **Quick Installation (Recommended)**
Install CyberPanel on supported Linux distributions with a single command:
2025-08-01 14:56:30 +05:00
```bash
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
```
2025-09-21 19:22:36 +02:00
**Alternative Installation Methods:**
```bash
# Using wget only
wget -O - https://cyberpanel.net/install.sh | sh
# Download and run manually
wget https://cyberpanel.net/install.sh
chmod +x install.sh
sudo ./install.sh
```
### **Prerequisites**
Before installation, ensure your system meets these requirements:
- **Operating System**: One of the supported Linux distributions listed above
- **Architecture**: x86_64 (64-bit)
- **RAM**: Minimum 1GB (2GB+ recommended)
- **Storage**: Minimum 10GB free space (20GB+ recommended)
- **Network**: Internet connection required
- **Root Access**: Installation requires root/sudo privileges
### **Installation Process**
The installation script will automatically:
1. **Detect your operating system ** and version
2. **Install required dependencies ** (Python, Git, etc.)
3. **Download and configure ** OpenLiteSpeed web server
4. **Set up MariaDB ** database server
5. **Install CyberPanel ** and configure all services
6. **Create admin user ** with default credentials
7. **Start all services ** and provide access information
### **Post-Installation**
After successful installation:
1. **Access CyberPanel ** : Open your browser to `http://your-server-ip:8090`
2. **Default Login ** :
- **Username**: `admin`
- **Password**: `123456`
3. **Change Password ** : Immediately change the default password
4. **Configure SSL ** : Set up SSL certificates for secure access
2025-08-01 14:56:30 +05:00
---
## 📊 Upgrading CyberPanel
2025-09-21 19:22:36 +02:00
### **Quick Upgrade (Recommended)**
Upgrade your existing CyberPanel installation:
2025-08-01 14:56:30 +05:00
```bash
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
```
2025-09-21 19:22:36 +02:00
**Alternative Upgrade Methods:**
```bash
# Using wget only
wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh | sh
# Download and run manually
wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh
chmod +x preUpgrade.sh
sudo ./preUpgrade.sh
```
### **Upgrade Process**
The upgrade script will automatically:
1. **Backup current installation ** to prevent data loss
2. **Download latest version ** from the stable branch
3. **Update all dependencies ** and requirements
4. **Run database migrations ** to update schema
5. **Restart services ** with new configuration
6. **Verify installation ** and report any issues
### **Manual Upgrade (Advanced Users)**
For manual upgrades or troubleshooting:
```bash
# Navigate to CyberPanel directory
cd /usr/local/CyberCP
# Update source code
git pull origin stable
# Update dependencies
pip3 install -r requirments.txt
# Run database migrations
python3 manage.py migrate
# Collect static files
python3 manage.py collectstatic --noinput
2025-08-01 14:56:30 +05:00
2025-09-21 19:22:36 +02:00
# Restart services
systemctl restart lscpd
```
### **⚠️ Important Upgrade Notes**
- **Backup First**: Always backup your data before upgrading
- **Test Environment**: Test upgrades in a non-production environment first
- **Service Restart**: Some services may restart during upgrade
- **Configuration**: Custom configurations may need manual updates
2025-09-21 20:36:12 +02:00
- **Security Updates**: Latest version includes comprehensive security enhancements
2025-09-21 19:22:36 +02:00
## 🔧 Troubleshooting
### **Common Installation Issues**
#### **"Command not found" Errors**
```bash
# Install missing packages
# Ubuntu/Debian
sudo apt update && sudo apt install curl wget git python3
# RHEL/CentOS/AlmaLinux/RockyLinux
sudo yum install curl wget git python3
```
#### **Permission Denied Errors**
```bash
# Ensure you're running as root
sudo sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
```
#### **Network Connectivity Issues**
```bash
# Check internet connection
ping -c 4 google.com
# Check DNS resolution
nslookup cyberpanel.net
# Try alternative download method
wget https://cyberpanel.net/install.sh
chmod +x install.sh
sudo ./install.sh
```
#### **Port Already in Use**
```bash
# Check what's using port 8090
sudo netstat -tlnp | grep :8090
# Kill process if necessary
sudo kill -9 <PID>
```
### **Common Upgrade Issues**
#### **Backup Creation Failed**
```bash
# Check disk space
df -h
2025-09-12 10:41:11 +02:00
2025-09-21 19:22:36 +02:00
# Free up space if necessary
sudo apt autoremove && sudo apt autoclean
```
#### **Service Restart Failed**
```bash
# Check service status
systemctl status lscpd
2025-09-18 20:45:34 +02:00
2025-09-21 19:22:36 +02:00
# Restart services manually
sudo systemctl restart lscpd
sudo systemctl restart lsws
```
2025-09-18 20:45:34 +02:00
2025-09-21 19:22:36 +02:00
### **Verification Commands**
2025-09-15 02:01:11 +02:00
2025-09-21 19:22:36 +02:00
#### **Check Installation Status**
```bash
# Check CyberPanel service
systemctl status lscpd
2025-09-12 10:41:11 +02:00
2025-09-21 19:22:36 +02:00
# Check web interface
curl -I http://localhost:8090
2025-09-15 02:01:11 +02:00
2025-09-21 19:22:36 +02:00
# Check database
systemctl status mariadb
```
2025-09-12 10:41:11 +02:00
2025-09-21 19:22:36 +02:00
#### **View Logs**
```bash
# CyberPanel logs
tail -f /usr/local/lscp/logs/error.log
2025-09-18 20:45:34 +02:00
2025-09-21 19:22:36 +02:00
# System logs
journalctl -u lscpd -f
```
2025-09-18 20:45:34 +02:00
2025-09-12 10:41:11 +02:00
---
2025-08-01 14:56:30 +05:00
## 📚 Resources
- 🌐 [Official Site ](https://cyberpanel.net )
2025-09-08 11:50:35 +02:00
- ✏️ [Docs (New) ](https://cyberpanel.net/KnowledgeBase/ )
- 🎓 [Docs (Old) ](https://community.cyberpanel.net/docs )
2025-09-05 01:14:04 +02:00
- 📖 [Additional Guides ](guides/INDEX.md ) - Detailed guides for Docker, AI Scanner, Mautic, and more
- 📚 [Local Documentation ](guides/ ) - All guides available in this repository
2025-09-13 22:34:03 +02:00
- 🤝 [Contributing Guide ](CONTRIBUTING.md ) - How to contribute to CyberPanel development
2025-08-01 14:56:30 +05:00
- ✅ [Changelog ](https://community.cyberpanel.net/t/change-logs/161 )
- 💬 [Forums ](https://community.cyberpanel.net )
- 📢 [Discord ](https://discord.gg/g8k8Db3 )
- 📵 [Facebook Group ](https://www.facebook.com/groups/cyberpanel )
- 🎥 [YouTube Channel ](https://www.youtube.com/@Cyber-Panel )
2025-09-05 01:14:04 +02:00
### 📖 **Quick Start Guides**
- 🐳 [Docker Command Execution ](guides/Docker_Command_Execution_Guide.md ) - Execute commands in Docker containers
- 🤖 [AI Scanner Setup ](guides/AIScannerDocs.md ) - Configure AI-powered security scanning
- 📧 [Mautic Installation ](guides/MAUTIC_INSTALLATION_GUIDE.md ) - Email marketing platform setup
2025-09-15 02:01:11 +02:00
- 🎨 [Custom CSS Guide ](guides/CUSTOM_CSS_GUIDE.md ) - Create custom themes for CyberPanel 2.5.5+
2025-09-05 01:14:04 +02:00
- 📚 [All Guides Index ](guides/INDEX.md ) - Complete documentation hub
### 🔗 **Direct Guide Links**
2025-09-20 19:51:53 +02:00
| Category | Guide | Description |
| ----------- | ------------------------------------------------------------- | ------------------------------ |
| 📚 All | [Complete Guides Index ](guides/INDEX.md ) | Browse all available guides |
| 🔧 General | [Troubleshooting Guide ](guides/TROUBLESHOOTING.md ) | Comprehensive troubleshooting |
| 🐳 Docker | [Command Execution ](guides/Docker_Command_Execution_Guide.md ) | Execute commands in containers |
| 🤖 Security | [AI Scanner ](guides/AIScannerDocs.md ) | AI-powered security scanning |
| 📧 Email | [Mautic Setup ](guides/MAUTIC_INSTALLATION_GUIDE.md ) | Email marketing platform |
| 🎨 Design | [Custom CSS Guide ](guides/CUSTOM_CSS_GUIDE.md ) | Create custom themes |
| 🔥 Security | [Firewall Blocking Feature ](guides/FIREWALL_BLOCKING_FEATURE.md ) | Advanced security features |
2025-09-12 10:41:11 +02:00
---
2025-09-18 20:45:34 +02:00
## 🔧 Support & Documentation
2025-09-12 10:41:11 +02:00
2025-09-18 20:45:34 +02:00
For detailed troubleshooting, installation guides, and advanced configuration:
2025-09-12 10:41:11 +02:00
2025-09-18 20:45:34 +02:00
### **📚 General Guides**
2025-09-15 02:01:11 +02:00
2025-09-18 20:45:34 +02:00
- **📚 [Complete Guides Index ](guides/INDEX.md )** - All available documentation and troubleshooting guides
- **🔧 [Troubleshooting Guide ](guides/TROUBLESHOOTING.md )** - Comprehensive troubleshooting and diagnostic commands
2025-09-12 10:41:11 +02:00
2025-09-18 20:45:34 +02:00
### **🛠️ Feature-Specific Guides**
2025-09-15 02:01:11 +02:00
2025-09-18 20:45:34 +02:00
- **🐳 [Docker Command Execution Guide ](guides/Docker_Command_Execution_Guide.md )** - Docker management and troubleshooting
- **🤖 [AI Scanner Documentation ](guides/AIScannerDocs.md )** - Security scanner setup and configuration
2025-09-21 19:22:36 +02:00
- **🔐 [2FA Authentication Guide ](guides/2FA_AUTHENTICATION_GUIDE.md )** - Two-Factor Authentication and WebAuthn setup
2025-09-18 20:45:34 +02:00
- **📧 [Mautic Installation Guide ](guides/MAUTIC_INSTALLATION_GUIDE.md )** - Email marketing platform setup
- **🎨 [Custom CSS Guide ](guides/CUSTOM_CSS_GUIDE.md )** - Interface customization and theming
- **🔥 [Firewall Blocking Feature Guide ](guides/FIREWALL_BLOCKING_FEATURE.md )** - Security features and configuration