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.

|| Advanced Edition || Enterprise Edition ||
| !main-menu-pola.png! | !menu.png! |

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


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


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


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}


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


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


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, []).


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.



11. Copy the {color:blue}r1redirect.php{color}&nbsp;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}