Mirroring Linux/Unix Distributions

The Parallels Plesk Panel for Linux/Unix repository located at http://autoinstall.plesk.com is structured as follows (we list only files and directories relevant for mirroring the Panel packages):

The PSA_10.1.0/, SITEBUILDER_5.1.0/, and BILLING_10.1.0/ are the product directories you should mirror. The directories contain the following files:

To set up a mirror for the Panel:

  1. Log in to the server on which you are going to set up a mirror.
  2. Create a directory in which the files should reside. For illustration purposes, we will call this directory destination_directory/.
  3. Set up a mirror by issuing the following commands.

    These commands download the PSA_10.1.0/, SITEBUILDER_5.1.0/, and BILLING_10.1.0/ directories from the Parallels Updates repository to the destination_directory/.

    rsync -au --delete rsync://autoinstall.plesk.com/autoinstall/PSA_10.1.0/ destination_directory

    rsync -au --delete rsync://autoinstall.plesk.com/autoinstall/SITEBUILDER_5.1.0/ destination_directory

    rsync -au --delete rsync://autoinstall.plesk.com/autoinstall/BILLING_10.1.0/ destination_directory

    Important: If you mirror separate packages for Debian and Ubuntu, create the /debian and /ubuntu subdirectories inside destination_directory, and sync them separately. For example, to sync the Panel for Debian, the rsync command turns into the following: rsync -au --delete rsync://autoinstall.plesk.com/autoinstall/debian/PSA_10.1.0/ destination_directory/debian

    This applies to all rsync calls.

    This command downloads the configuration files.

    rsync -auv --delete rsync://autoinstall.plesk.com/'autoinstall/products.inf3 autoinstall/plesk.inf3 autoinstall/pp-sitebuilder.inf3 autoinstall/billing.inf3' destination_directory

    This command mirrors EZ templates for Parallels Virtuozzo containers for RPM-based repositories. If you plan not to mirror EZ templates or you plan to serve Debian or Ubuntu OSes, omit this step. 

    rsync -au --delete rsync://rsync.autoinstall.plesk.com/autoinstall/PSA10/ destination_directory/PSA10

    These commands create links that the installer uses to install EZ templates on DEB-based OSes. If you plan not to mirror EZ templates or you serve RPM-based OSes, omit this step.

    cd destination_directory/debian; ln -s PSA_10.1.0 PSA10

    cd destination_directory/ubuntu; ln -s PSA_10.1.0 PSA10

  4. Edit Parallels Installer configuration files to define which products, versions and platforms should be supported by the mirror.
    1. Remove the element with ID ppsmbe From products.inf3.
    2. Edit the plesk.inf3 file removing all the build elements except those of the operating systems and architectures you wish to be supported by the mirror.
    3. Edit the billing.inf3 and pp-sitebuilder.inf3 files removing all the build elements except those of the operating systems and architectures you wish to be supported by the mirror.

After the mirror is created, add the rsync calls to an executable file, and run it when you need to update the mirror data.

For more information about the Rsync utility, visit http://samba.anu.edu.au/rsync/

Please send us your feedback on this help page.