Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 88 to 88 | ||||||||
mrepo -guv | ||||||||
Deleted: | ||||||||
< < | -- SergioTraldi - 2012-01-04 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Mrepo Quick GuideWith mrepo you can build a local APT/YUM RPM repository from local ISO files, downloaded updates, and extra packages from 3rd party repositories. It takes care of setting up the ISO files, downloading the RPMs, configuring HTTP access and providing PXE/TFTP resources for remote network installations. Mrepo is the successor of YAM.References* mrepo-0.8.7-1.el5.rf* createrepo-0.4.11-3.el5 * Mrepo home page ![]() InstallationWith APT:apt-get update apt-get install mrepoWith YUM: yum install mrepo General settingsFile: ''/etc/mrepo.conf'' This file contains the general settings for mrepo.### ### Configuration file for mrepo ### [main] srcdir = /var/rep wwwdir = /var/www/html/rep confdir = /etc/mrepo.conf.d arch = i386 metadata = apt repomd Web server settingsFile: ''/etc/httpd/conf.d/mrepo.conf'' This file contains web server settings for the published directory.Repositories settingsFiles: ''/etc/mrepo.conf.d/*.conf'' These files contain all repositories configurations. You should split your repositories configuration in more files.Usage# mrepo -h usage: mrepo [options] dist1 [dist2-arch ..] Set up a distribution server from ISO files mrepo options: -c, --config=file specify alternative configfile -f, --force force repository generation -g, --generate generate mrepo repositories -n, --dry-run show what would have been done -q, --quiet minimal output -r, --repo=repo1,repo2 restrict action to specific repositories --remount remount distribution ISOs -u, --update fetch OS updates -v, --verbose increase verbosity -vv, -vvv, -vvvv.. increase verbosity more --unmount unmount distribution ISOsGenerate and update mirrors: mrepo -guv-- SergioTraldi - 2012-01-04 |