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):
products.inf3 plesk.inf3pp-sitebuilder.inf3The configuration file which describes SiteBuilder - the required Panel component.
billing.inf3The configuration file which describes Customer & Business Manager - the Panel component.
<PRODUCT_NAME>_<product_version>/Several subdirectories named in accordance with the Panel versions.
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:
dist-<type>-<os-name>-<version>-<architecture>/Product distribution packages, e.g., dist-deb-Debian-5.0-x86_64/.
update-<type>-<os-name>-<version>-<architecture>
Packages required to install the product.Note: If you mirror only Virtuozzo templates, we recommend to exclude the update-* directories from mirroring.
thirdparty-<type>-<os-name>-<version>-<architecture>
Additional third-party packages.<product>-<parallels-panel-version>-<os-name>-<architecture>.inf3To set up a mirror for the Panel:
destination_directory/.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/PSAdestination_directory_10.1.0/
rsync -au --delete rsync://autoinstall.plesk.com/autoinstall/SITEBUILDERdestination_directory_5.1.0/
rsync -au --delete rsync://autoinstall.plesk.com/autoinstall/BILLINGdestination_directory_10.1.0/
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
products.inf3. plesk.inf3 file removing all the build elements except those of the operating systems and architectures you wish to be supported by the mirror.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/