Creating a local mirror [message #3508] |
Wed, 17 February 2016 12:23  |
 |
MartinR
Messages: 2 Registered: February 2016 Location: UK
|
Junior Member |
|
|
I look after some machines that are behind an air gap. to do this I have to build my own repos, currently CentOS, EPEL and ELrepo at versions 5, 6 and 7. I have tried downloading nux using the command:
wget --mirror --no-parent --no-verbose --directory-prefix=/home/CentOS/nux-$version/ --no-host-directories ____://li.nux.ro/download/nux/dextop/el$version
where $version is either 6 or 7. For ____ read http, the forum is blocking the posting of links.
There are a number of problems with this approach. First it builds in /home/CentOS/nux-7/download/nux/dextop, I'm guessing that this means my wget command is not correct. Second I get both el6 and el7 whatever the $version. Third I get el?, el?Client, el?Server and el?Workstation. The upshot is that I ended up downloading 8 times too much.
It is, of course, relatively trivial to move the el? repos to where I expected but I would prefer to get it right first time!
Any assistance would be gratefully received.
|
|
|
|
|
|