Installing Enhance Control Panel
This guide will help you install cPGuard standalone version on a server running Enhance control panel. We provide custom scripts designed specifically for Enhance that streamline the installation process by automatically collecting domain information, document root details, and updating your server's Webserver/ModSecurity configuration for Web Application Firewall (WAF) protection.
Prerequisites
Before you begin the installation, you'll need to gather the following Enhance API credentials:
Required API Credentials
-
Control Server URL
- Example:
https://control.yourhosting.com
- Example:
-
Organisation ID
- Example:
d8554b6d-5d0d-6719-009b-fec1189aa8f3
- Example:
-
Authentication Token
- Example:
8223aad3-171f-k25K-M0Fu-trUxs7L3sd3P_3ee84e3…
- Example:
You can provide these credentials during installation or add them to an INI file beforehand to skip prompts. Both approaches will be covered below.
Creating an Access Token
To obtain your authentication token:
- Log in to your Enhance control panel
- Navigate to Settings > Access Tokens
- Click Create Token
- Copy the generated token for use during installation

Installation Steps
Standard Installation (Interactive)
Use the following command to begin the installation process (replace LICENCE-KEY with your actual cPGuard license key):
cd /usr/local/src && rm -f cpguard_install.sh && curl -o cpguard_install.sh -L https://downloads.opsshield.com/cpguard/cpguard_install.sh && bash cpguard_install.sh LICENCE-KEY
Installation Flow:
- The script will download and install required dependency packages
- cPGuard backend and agent services will be installed
- You'll be prompted to select your webserver type
- Accept the option to use our custom Enhance scripts for automated domain information collection
- Enter your Enhance API credentials when prompted:
- Control server URL
- Organisation ID
- Authentication token

- The installation will complete automatically
- After successful installation, log in to the cPGuard portal to configure your server
Once installation is complete, you can access the cPGuard management portal to configure protection rules and monitor your domains.
Unattended Installation (Non-Interactive)
For automated installations without prompts, you can provide all configuration values in an INI file before running the installation script.
Creating the Configuration INI File
Create a configuration file with the following parameters:
host = https://control.yourhosting.com
organisation_id = d8554b6d-5d0d-6719-009b-fec1189aa8f3
auth_token = 8223aad3-171f-k25K-M0Fu-trUxs7L3sd3P_3ee84e3…
Refer to the cPGuard Standalone Configuration Reference for comprehensive details on all available INI file parameters.
Running Unattended Installation
Execute the installation command with the INI file path as an argument:
cd /usr/local/src && rm -f cpguard_install.sh && curl -o cpguard_install.sh -L https://downloads.opsshield.com/cpguard/cpguard_install.sh && bash cpguard_install.sh LICENCE-KEY /path/to/config.ini
Replace /path/to/config.ini with the actual path to your configuration file.
Bulk Installation
For deploying cPGuard across multiple servers with similar configurations:
- Install cPGuard on the first server and complete the setup
- Locate the auto-generated INI file created during installation (contains all Enhance auth tokens)
- Copy this INI file to additional servers
- Use the unattended installation command with the copied INI file on each new server
This approach ensures consistent configuration across your infrastructure.
Next Steps
After successful installation:
- Access the cPGuard management portal
- Configure Web Application Firewall rules for your domains
- Set up security policies and compliance settings
- Monitor and analyze security events
Related Documentation
- cPGuard Standalone Configuration Reference
- How to Modify Standalone Configuration File (cpguard.ini)
Support
If you encounter any issues during installation:
- Check the cPGuard Knowledge Base
- Raise a Support Ticket
- Review the cPGuard Changelog