Deployment Overview of CyberPanel on Server¶
Prerequisites and Basic Requirements¶
To ensure a successful deployment of CyberPanel, the server must meet the following requirements:
-
Operating System:
-
Ubuntu 24.04 (Debian-based) or
-
Rocky Linux / CentOS 8 (RHEL-based).
-
Privileges: Root access is required for all installation steps.
-
Network/Ports: The server must be able to reach the CyberPanel installation repositories and have port
8090open for panel access.
FQDN of the final panel on the hostkey.in domain¶
The application uses a specific domain template for its default configuration if no custom domain is provided during deployment.
| Parameter | Value |
|---|---|
| Prefix | cyberpanel |
| Domain | hostkey.in |
| Full template | cyberpanel{Server_ID_from_Invapi}.hostkey.in |
File and Directory Structure¶
The installation process utilizes the following file locations for setup:
-
/root/cyberpanel.sh: The primary installation script used to configure the environment and install the application. -
Configuration files and system settings are managed within the standard operating system directories as part of the CyberPanel installation suite.
Application installation process¶
The installation is performed using a dedicated shell script tailored for different Linux distributions.
-
System Preparation:
-
The package manager (
aptfor Ubuntu/Debian oryumfor RHEL/CentOS) is used to update the system repositories and ensure all existing packages are up to date. -
Installer Acquisition:
-
An installation script is downloaded from the official CyberPanel repository to
/root/cyberpanel.sh. -
Configuration Setup:
-
The installer script is modified to enable "Silent Mode" for automated deployment.
-
Administrative credentials and server provider information are injected into the script.
-
The system's hostname and Common Name (CN) are configured to match the final domain name.
-
Execution:
-
The installation script
bash /root/cyberpanel.shis executed. This process installs the necessary web server components, control panel services, and dependencies. -
System Reboot:
-
A system reboot is performed to finalize the configuration of core services and kernel settings.
Access Rights and Security¶
-
Administrative Access: The installation script configures an administrative password for the CyberPanel interface during the setup phase.
-
Firewall: The deployment process assumes the necessary ports (such as
8090for the panel) are accessible to the user.
Databases¶
CyberPanel manages databases internally as part of its control panel suite. Specific database connection details and storage locations are configured automatically during the installation script execution to support web applications hosted on the server.
Docker Containers and Their Deployment¶
This deployment does not utilize standalone application containers via Docker Compose; instead, it installs services directly onto the host operating system to ensure maximum performance for a web control panel environment.
Custom Scripts and Additional Setup¶
The deployment includes several automated actions to prepare the environment:
-
Installation Script Configuration: The
/root/cyberpanel.shscript is dynamically modified before execution to automate user input, such as setting theSilent="On"flag and configuring theAdmin_Pass. -
Hostname Synchronization: Scripts are used to replace hostname placeholders within the installer to ensure the server's FQDN matches the assigned domain.
Application Update Instructions¶
To update the CyberPanel application, you must re-run the installation script:
Note: It is recommended to perform a full system backup before initiating an update.
Location of configuration files and data¶
Configuration files are located within the standard paths managed by CyberPanel (e.g., /etc/ for system services and specific application directories for web server configurations). Data stored by hosted websites is typically located in /home/ or similar user-specific directories defined during the panel setup.
Available ports for connection¶
The following port is required to access the management interface:
| Service | Port |
|---|---|
| CyberPanel Admin Interface | 8090 |