Skip to content

Deployment Overview of CyberPanel on Server

Prerequisites and Basic Requirements

To successfully deploy CyberPanel, the server must meet the following operating system and privilege requirements:

  • Operating System: The installation supports Debian-based distributions (specifically Ubuntu 22) and RHEL-based distributions (specifically CentOS 8 or Rocky Linux).

  • Privileges: Root access is required to execute the installation script and modify system configurations.

  • Network: The server must have internet access to download the installation script and dependencies.

  • Hostname: The server hostname must be configured to match the target domain format {{ prefix }}{{ server_id }}.{{ zone }} before or during installation.

Application Installation Process

The deployment of CyberPanel is performed using a dedicated installation script provided by the developers. The process involves downloading the script, configuring specific parameters, and executing the installer.

  1. Download the Installation Script:

    • For Ubuntu 22 systems, the script is downloaded from https://cyberpanel.sh/?dl&Ubuntu22.

    • For CentOS 8 or Rocky Linux systems, the script is downloaded from https://cyberpanel.sh/?dl&CentOS8.

    • The script is saved to the /root/cyberpanel.sh path with executable permissions (0755).

  2. Configure Installation Parameters: Before execution, the script is modified to set the following variables:

    • Silent="On": Enables non-interactive installation mode.

    • Admin_Pass: Sets the administrator password for the panel.

    • Server_Provider='Hostkey': Configures the server provider identifier.

    • commonName: Sets the common name for SSL certificates to {{ prefix }}{{ server_id }}.{{ zone }}.

    • Hostname references within the script ($(hostname) and $(hostname --fqdn)) are replaced with the static value {{ prefix }}{{ server_id }}.{{ zone }}.

  3. Execute the Installer:

    • The installation is initiated by running the command bash /root/cyberpanel.sh from the /root directory.

    • The script may be executed twice to ensure all components are fully applied.

  4. System Reboot:

    • After the installation script completes, the server is rebooted to finalize the deployment. The reboot timeout is set to 1200 seconds.

Access Rights and Security

The installation script configures the server with specific security parameters:

  • Administrator Access: The admin password is set directly within the installation script via the Admin_Pass variable.

  • Server Provider Identification: The Server_Provider variable is hardcoded to Hostkey within the configuration.

  • Hostname Enforcement: The script enforces a specific hostname format ({{ prefix }}{{ server_id }}.{{ zone }}) to ensure consistency across the deployment environment.

Starting, Stopping, and Updating

The provided configuration data indicates that the installation process concludes with a system reboot. Standard service management commands for starting, stopping, or updating the CyberPanel services are not explicitly defined in the source files. The deployment relies on the bash /root/cyberpanel.sh script to handle the initial setup and service activation.

question_mark
Is there anything I can help you with?
question_mark
AI Assistant ×