View Source

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 ||
| !main-menu-pola.png! | !menu.png! |

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

!67.png!

3. Click on the "Control Panels" tab in the "Policy Details" window.

!68_edited.png!

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

!69_edited.png!

5. Upload the file to the server.

6. Extract the file using the following command:

{code}tar -vzxf r1soft-cpanel-plugin-1.1.tar.gz{code}

!70.png!

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

!71.png!

8. Open the {color:blue}r1redirect.php{color} file in your favorite Linux text editor (vi, emacs, pico, or mcedit).

!72.png!

9. Locate the line that contains the following string:

{code}$CDP_SERVER_URL = "..."{code}

Replace the URL with the URL of your CDP Server (for example, [http://10.230.200.38]).

!73.png!

10. Locate the line that contains the following text:

{code}$CONTROL_PANEL_ID = "..."{code}

Replace the ID with the ID of your Control Panel Instance (for example, 736d96c3-e1d3-469b-913a-d86c34bd4673).
{info:title=Tip}The Control Panel Instance ID is located in the "Control panel instance Id" column.

!75_edited.png!

{info}
!74.png!

11. Copy the {color:blue}r1redirect.php{color} file to your cPanel theme folder(s). For example:

{code}cp r1redirect.php /usr/local/cpanel/base/frontend/default/{code}

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

{code}/usr/local/cpanel/bin/register_cpanelplugin r1soft-cdp.cpanelplugin{code}

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

!cp-icon.png!{excerpt:hidden=true}Instructions on how to use the cPanel plugin.{excerpt}