The debmirror utility synchronizes a Debian mirror repository from the parent repository. Install the debmirror utility on computers hosting the mirror repository to be able to synchronize the mirrors.
Execute the following command to install the debmirror utility on Ubuntu OS:
sudo apt-get install debmirror
On successful execution of the command, the debmirror utility is installed.
This section describes how you can set up a Debian mirror on RedHat or SUSE computers. As DSM scalability servers are not supported on Debian, you can set up mirrors of the Debian system on RedHat or SUSE computers.
Verify the following prerequisites before you set up a Debian mirror:
Debmirror is a perl script that mirrors Debian repositories on RedHat or SUSE computers. Debmirror requires certain perl modules to be present.
Follow these steps:
Few of the perl modules come with default installation. If the modules are not available, install the modules using one of the following approaches:
Approach 1: Using the cpanminus tool
http://rpmfind.net/linux/rpm2html/search.php?query=cpanminus
cpan m <module-name>
Examples:
To install LockFile::Simple module, run the cpanm LockFile::Simple command.
To install Net::INET6Glue module, run the cpanm Net::INET6Glue command.
The command downloads the perl modules from Internet and installs the modules. This command automatically resolves dependencies.
Approach2: Using the src packages
Note: Ensure that you resolve the dependencies manually. For example, Net::INET6Glue depends on the Socket6 module. Verify that you install Socket6 before installing Net::INET6Glue. You can find the dependencies at the following location:
http://deps.cpantesters.org/
Note: For Approach 1 and Approach 2, verify that gcc is installed on the RedHat or SUSE computers.
Approach3: Using the rpm sources
Note: If you do not find the libnet-inet6glue-perl module on the Internet, download the source files and build the binaries manually using approach 2.
Install the debmirror utility on computers hosting the mirror repository to be able to create mirrors of the master Debian repository.
Follow these steps:
|
Copyright © 2013 CA.
All rights reserved.
|
|