1

Topic: Creating a local iRedMail mirror

How to Creating a local iRedMail mirror?

2

Re: Creating a local iRedMail mirror

Fetch all packages via wget:

# wget -rL -c -m http://www.iredmail.org/yum/

Move/Copy them to your http/ftp directory, then use 'createrepo' command to create metadata for yum repository.

Reference:
* Directory structure: http://iredmail.googlecode.com/svn/trun … get_all.sh

# Mirror site.
# Site directory structure:
#
#   ${MIRROR}/
#           |- yum/         # for RHEL/CentOS
#               |- rpms/
#                   |- 5/
#                   |- 6/   # Not present yet.
#               |- misc/    # Source tarballs.
#               |- srpms/   # Source RPMs.
#           |- apt/             # for Debian/Ubuntu
#               |- debian/      # For Debian
#                   |- lenny/   # For Debian (Lenny)
#               |- ubuntu/      # For Ubuntu
#                   |- hardy/   # For Ubuntu (Hardy, 8.04 LTS)

* How to create a local yum repository: http://code.google.com/p/iredmail/wiki/ … Repository