Setting up cPanel Plugin

Follow the instructions below to set up the cPanel Integration plugin. The installed plugin will activate an icon within the cPanel interface so that customers can go directly to their backups via the CDP web interface for Hosting Control Panel users.

1. Click on "Policy" in the Main Menu to access the "Policies" page.

Advanced Edition Enterprise Edition

2. Click on the necessary Policy with Control Panel Instances added.

3. Choose "Control Panels" tab in the Policy Details pane.

4. Click on the "Download Plugin" icon located in the right column.

5. Upload the file to the server.

6. Extract the file by using the following command:

tar -vzxf r1soft-cpanel-plugin-1.1.tar.gz

7. Inside the archive there is a "README" file with directions on how to set it up.

8. Open the file named r1redirect.php in your favorite Linux text editor - vi, emacs, pico, or mcedit.

9. Locate the line that contains the following string:

$CDP_SERVER_URL = "..."

Replace the URL with the URL of your CDP server. For example, http://10.230.200.38.

10. Locate the line that contains the following text:

$CONTROL_PANEL_ID = "..."

Replace the ID with the ID of your Control Panel Instance. For example, 736d96c3-e1d3-469b-913a-d86c34bd4673.

Tip
The Control Panel Instance ID is located in the "Control panel instance Id" column.

11. Copy the file named r1redirect.php into your cPanel theme folder(s). For example:

cp r1redirect.php /usr/local/cpanel/base/frontend/default/

12. Run the following command to integrate the plugin into cPanel:

/usr/local/cpanel/bin/register_cpanelplugin r1soft-cdp.cpanelplugin

13. The R1soft CDP link should now appear inside of cPanel.