LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   repository creation (https://www.linuxquestions.org/questions/debian-26/repository-creation-429246/)

binary_dreamer 03-28-2006 08:03 AM

repository creation
 
hi i got a SOHO that has 10 pc's. the thing is that all of them have sarge as OS. but no internet connection, only ethernet between them and the server. is there any way to create a repository and store up to 10 GB of debian's stable packages? Also, how can i make all the machines see that server's reposotory to apt-get update. please do not forget to point me to a repository to copy the necessary files from there and create mine. have in mind that the machine that will download the files, will run winXp and write everything down to an external hdd. Any ideas?

pljvaldez 03-29-2006 05:50 PM

I've never done this. But here is the debian how to build a repository.

http://www.debian.org/doc/manuals/re...pository-howto

pljvaldez 03-29-2006 05:56 PM

Alternatively, I just thought of something else you might try. Download the iso files for all the sarge CD's. Don't bother burning them, just put them on the external drive.

Then create a network file share (NFS) with the files and you should be able to mount the external drive and add a line to your /etc/apt/sources.list for each iso like
Code:

deb file:/path/to/myrepository/sarge_disc1.iso sarge main

pljvaldez 03-29-2006 06:05 PM

Just because I'm a nerd, here's a link of some fellows setting up a woody repository using the cd iso's and ftp...

binary_dreamer 03-30-2006 12:38 AM

nice on. thanks. but i do not want only the things from the cds. i need new ones as well. let's say that i can access two repositories ftp://ftp.ntua.gr/pub/linux/debian/dists/sarge/
and http://ftp.otenet.gr/pub/linux/debian/
from those two repositories i would like to get the 7 cds for sarge plus any other software available for the sarge edition. like new kde, gnome, blackbox, etc.

binary_dreamer 03-30-2006 12:42 AM

i comletely forgot. the system that will host them is a debian. it has about 50GB space for the repository. its ip in the LAN is 192.168.1.31. the repository it will be in a local disk for that pc. how all the other machines can access the repository? in other words, i need all the other pcs to do apt-cache search, and the only thing they will see is the repository in the 192.168.1.31 pc. all the pcs are in the same subnet, with IPs in the range 192.168.1.31 and above.


All times are GMT -5. The time now is 09:57 AM.