Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have downloaded all debian's DVD disks, and I have set up apache httpd service.

I combined all dvd disk 's file, but I found the .gpg file I need and I can't create it. it looks like source's signature file. so when I set my /etc/apt/sources.list file as follow:

deb http://192.168.1.102/apt/debian squeeze main contrib

it noticed me the gpg files verilied faild.

so I want to know , how to create gpg file, and do I need some other work except put DVD's file to the apache's htdocs path?

share|improve this question

1 Answer 1

You have two choices to get an internal Debian apt site (it's called repository):

  1. Make a mirror. There is the documentation from the Debian project about it. Mirrors take a lot of space, and remember you need a mirror for each of the Debian architectures you run internally (that means, amd64 and i386 are two separated repositories)
  2. Use a caching proxy. There are many for debian, it's only a case of getting the one that will suit you best: apt-proxy, apt-cacher, apt-cacher-ng. I also had success using Squid with a configuration that kept .deb files a long time on cache (and allowed caching of big files).

The mirrors will make you have a full debian distro available in case of intermittent internet access (or restricted), while the proxy will make the update of machines faster after the 1st intall or update. Mirrors take a lot of disk space but are always available, caches uses less disk but depends on external connections.

share|improve this answer
    
I only want an x86-64 platform for repository, and I don't want download by another way again. it acturelly like a mirror, but not a cache server, I hope the deb's always on this server. btw:the repository server can not connect to internet. –  user73504 Mar 9 '11 at 8:44
    
So set up a mirror. –  coredump Mar 9 '11 at 12:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.