Author Topic: Saving files to CD for a local repository  (Read 680 times)

Offline pelone

  • Jr. Member
  • **
  • Posts: 14
Saving files to CD for a local repository
« on: May 18, 2010, 08:34:46 PM »
On a small scale I am donated old computers that people are willing to part with. I clean up Windows, put on PCLinuxOS and donate them to families that can not afford a computer. I am concerned about overusing server bandwidth. At first I thought it would only be one or two computers, but that does not seem to be the case. From my pov, utilizing a server once is okay, but once a week or more often for the same files is too much.

I want to download those repetitive files I install over the base system once and reuse them per install as needed, using a cd(s) as a repository. I found the link below which is informative and I think is what I want to do.

http://www.pclinuxos.com/forum/index.php/topic,60348.0.html

Is this link describing what I want to do, or am I dazed and confused?

Thanks,

pelone

Offline Xero

  • Sr. Member
  • ****
  • Posts: 468
Re: Saving files to CD for a local repository
« Reply #1 on: May 19, 2010, 01:36:21 AM »
# To backup downloaded repositories cache, open a konsole/terminal, and run (as root)

tar zcvf apt.tgz /etc/apt/ /var/lib/apt/ /var/cache/apt/

#This will create a file apt.tgz that contains all downloaded files and repo lists. Make sure Synaptic is set to keep downloads, and not delete after using, and this will bundle them all up.

# To restore downloaded repositories cache, copy the apt.tgz to user's /home folder, and run (as root)

 tar zxvf apt.tgz -C /
There is no shame in saying "I don't know".