YUM offline repo
YUM offline repo
I am trying to create a yum repo for offline use. I am following this tutorial: https://www.tecmint.com/setup-local-htt ... -centos-7/. When I create new repo data, the one for base successfully generates the file. The ones that follow fail with this error message: "Error: groupfile /var/www/html/repos/updates/comps.xml cannot be found."
Re: YUM offline repo
If you're just creating a local mirror of the CentOS repos then you're doing it the long and complicated and difficult way. It's much easier if you just rsync the mirror contents from a public one and then you don't need to run createrepo at all since it replicates the metadata with it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: YUM offline repo
OK, I think I found a tutorial for this: https://www.howtoforge.com/creating_a_l ... ory_centos.
Looking here, I don't see Base: http://mirrors.oit.uci.edu/centos/7/.
Also, does it matter if I pull from 7 or 7.7 if I am running 7.7?
Looking here, I don't see Base: http://mirrors.oit.uci.edu/centos/7/.
Also, does it matter if I pull from 7 or 7.7 if I am running 7.7?
Re: YUM offline repo
We have our own wiki page about it, look at the instructions at the bottom https://wiki.centos.org/HowTos/CreateLocalMirror
And you should sync the 7.z directory not /7/ as that's a symlink pointing to the current version. If you sync that then it will sync e.g. 7.8 over the top of 7.7 and create a bit of a mess. Sync the point release directory and maintain your own /7/ symlink so that you have control over when you go live with it. Will need more space but it's also more control.
And you should sync the 7.z directory not /7/ as that's a symlink pointing to the current version. If you sync that then it will sync e.g. 7.8 over the top of 7.7 and create a bit of a mess. Sync the point release directory and maintain your own /7/ symlink so that you have control over when you go live with it. Will need more space but it's also more control.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: YUM offline repo
"base" is the 'os' directory.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke