LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-03-2008, 07:49 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
How to create a local mirror from CD


Hi,
I tried to find a simple document which explain how to create a local
mirror, but I can't, all I found are complicated or not complete
enough!!??

My goal is simple:
I want to create a local mirror from CD's, I downloaded CD or DVd, I
want to create a mirror for my University ( just loacl) to install
from there on any machine, by using netinstall. ( or thru pxe);

I can't use direct connexio to internet to create Mirror (i haven't
good link!!!), I want create it from CD.

thanks help
 
Old 04-03-2008, 08:11 AM   #2
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
Can I customize the net install

Hi,
I want to use the netinstall CD to install from my local repository which contains the official CD1, Can I redirect the URL to my local site and not to the official, is there a possible customizing? because the access to the net is difficult and want to repeat the procedure on several machines.

thanks for help
bela
 
Old 04-03-2008, 08:51 AM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
It's been a while but the last time I did a install the installer asked for the repos to use.You'd need to add your local repo at that time.
 
Old 04-03-2008, 09:00 AM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Yes you can. Edit the file /etc/apt/sources.list to point apt(itude) to your local repo. Make sure you follow the guidelines on the Debian website for that. http://www.debian.org/mirror/ftpmirror
 
Old 04-03-2008, 11:15 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Originally Posted by Dutch Master View Post
Yes you can. Edit the file /etc/apt/sources.list to point apt(itude) to your local repo. Make sure you follow the guidelines on the Debian website for that. http://www.debian.org/mirror/ftpmirror
During the install process?

Quote:
Originally Posted by crashmeister View Post
It's been a while but the last time I did a install the installer asked for the repos to use.You'd need to add your local repo at that time.
this, also if I recall correctly.
 
Old 04-03-2008, 11:30 AM   #6
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Yes, he can. The netinstall CD only sets up a bare basic system. Select nothing if asked what kind of system to install, and refuse the networkmirror option. Then edit the aformentioned file by hand, using nano (or emacs, vi, whatever) to point it to the local mirror, fire up aptitude and install from the local repository. Done
 
Old 04-05-2008, 09:33 AM   #7
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Dutch Master View Post
Yes, he can. The netinstall CD only sets up a bare basic system. Select nothing if asked what kind of system to install, and refuse the networkmirror option. Then edit the aformentioned file by hand, using nano (or emacs, vi, whatever) to point it to the local mirror, fire up aptitude and install from the local repository. Done
Are you sure, I hope that? I mean the installer search for a precise type of distro, (etch, sid, lenny), so I have may be to choose the appropriate one, If I use the stable netinstall, I have to use the etch CD's.
Anyway I 'll try it thanks
bela
 
Old 04-05-2008, 10:23 PM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
The Apt How-to may also have some tips, section 2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using yum with local mirror willdawg Fedora 1 01-10-2007 04:50 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 05:33 PM
Setting up YUM to update from local mirror klnasveschuk Fedora 3 04-21-2005 07:11 AM
Local mirror for Clamav razametal Linux - Software 1 02-03-2005 08:22 AM
Creating Local Update Mirror wyohman Mandriva 9 12-28-2003 08:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration