Difference between revisions of "MirroringUMD"
Jump to navigation
Jump to search
Line 44: | Line 44: | ||
=== Using wget === | === Using wget === | ||
Taking as example [http://fedoranews.org/alex/tutorial/yum/ Fedora's tutorial on using wget to create a local mirror] you can use the following [https://raw.githubusercontent.com/caifti/repos_mirror/master/UMD_yum_repository.sh script] modify it to reflect the repositories you want to mirror, if you want to use the crearerepo or not, etc. | * Taking as example [http://fedoranews.org/alex/tutorial/yum/ Fedora's tutorial on using wget to create a local mirror] you can use the following [https://raw.githubusercontent.com/caifti/repos_mirror/master/UMD_yum_repository.sh script] modify it to reflect the repositories you want to mirror, if you want to use the crearerepo or not, etc. | ||
You can find other examples on how to use wget for mirroring repositories: | * You can find other examples on how to use wget for mirroring repositories: | ||
* [https://peterpap.net/index.php/Creating_a_CentOS_mirror_site Creating a CentOS mirror site] | ** [https://peterpap.net/index.php/Creating_a_CentOS_mirror_site Creating a CentOS mirror site] | ||
=== Using rsync === | === Using rsync === | ||
* at the moment we do not offer a rsync server for UMD repositories | * at the moment we do not offer a rsync server for UMD repositories |
Revision as of 13:49, 16 December 2014
Technology | Software Component Delivery | Software Provisioning | UMD Middleware | Cloud Middleware Distribution | Containers Distribution | Technology Glossary |
Software Provisioning menu: | Software Provisioning Process | UMD Release Process | Quality Assurance | UMD | Staged Rollout |
Mirroring of UMD Repositories
We provide some basic information needed in order to mirror UMD repositories. Available repos:
- CAS
- SAM
- UMD production (including rReleaseCandidate
- UMD staged-rollout
- UMD testing- includes everything that is currently in the Stage Rollout or UMD-Store State
- UMD untested - includes everything that is currently in the Unverified or In Verification State
Communication
- Mailing-lists
- for announcements (changes, new repos, etc): mirror-egi at egi.eu - TO BE SET-UP
- for discussion: FORUM - mirror-egi - TO BE SET-UP
Repos size estimates
- please see the content of the following file for insfo on available directories and their estimated sizes:
Export License
Mirroring
Using lftp
- Depending on what repositories you want to mirror and the space you have available (see #Repos size estimates you can use something similar:
- to create the mirror for the first time:
lftp -c mirror --verbose --exclude 'candidate/' --exclude '1/' --exclude '2/' http://repository.egi.eu/sw/production/umd/ ${LOCAL_DIR}
- to removes any local packages that no longer exist on the source, and only downloads newer package versions from the host mirror:
lftp -c mirror –-only-newer --ignore-time -–delete --exclude 'candidate/' --exclude '1/' --exclude '2/' http://repository.egi.eu/sw/production/umd/ ${LOCAL_DIR}
Using wget
- Taking as example Fedora's tutorial on using wget to create a local mirror you can use the following script modify it to reflect the repositories you want to mirror, if you want to use the crearerepo or not, etc.
- You can find other examples on how to use wget for mirroring repositories:
Using rsync
- at the moment we do not offer a rsync server for UMD repositories