LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2009, 02:21 PM   #1
tritonsmoon
LQ Newbie
 
Registered: May 2009
Distribution: SuSE 10.2
Posts: 11

Rep: Reputation: 0
SLES 10 SP2 prompts for installation CD/DVD


Hi,
I'm a new registered user, but I've been reading the forums here often and everyone seems very helpful. Hope someone can help me.

My company has installed SLES 10 SP2. When adding new programs via YAST2 the system prompts for the installation disc. If I've created a directory called /SuSE_Install, how can I get the system to pull files from this directory instead of putting the DVD in whenever a new program is installed? FYI, I need command line instructions if possible. As we're trying to limit the console usage.

Thanks!!
 
Old 05-26-2009, 03:58 PM   #2
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 611

Rep: Reputation: 32
We also use some SLES servers and i am also sucked by plugging cd`s or dvd in just to install a programm.

I use two things to avoid that.

a) copy the iso images to the local disk
you can mount them with
mount -o loop SLES9-cd-1.iso /tmp/temp-disk

b) if you have a permanent internet access most of the packages are installed via network.

If you deside for (a) you need to remember that you maybe have to mount/unmount some more cd`s as you often need more rpm`s to install one thing.

Installing via console is done by

rpm -i NAMEOFPACKEAGE.rpm

as always.
 
Old 05-26-2009, 04:24 PM   #3
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,093

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by saavik
b) if you have a permanent internet access most of the packages are installed via network.
But only if you have set up a suitable repository.




Copy the contents of the DVD to the harddisk somewhere. E.g stick the DVD in then do

$ mkdir /tmp/mnt
$ mount /dev/cdrom /tmp/mnt
$ mkdir -p /srv/www/htdocs/repos/sles10sp2
$ cp -r /tmp/mnt/* /srv/www/htdocs/repos/sles10sp2/
$ umount /tmp/mnt
$ eject /dev/cdrom


Then run YaST and go to Software -> Software repositories. They'll be a repository listed that points at the DVD. Disable or delete it. Choose the option to add a repository and there will be an option to add a local directory. Select that and specify /srv/www/htdocs/repos/sles10sp2/

Putting the contents of the DVD in to /srv/www/htdocs/repos/sles10sp2/ has the side benefit that if you start apache on that server you can then set other machines up to use that directory as a repo.
 
Old 05-27-2009, 04:17 PM   #4
tritonsmoon
LQ Newbie
 
Registered: May 2009
Distribution: SuSE 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
Awesome! Exactly what I was looking for arizonagroovejet! I think it's great that I can find answers here. Hopefully someday soon I'll be able to contribute.

By the way the path I took went like this...

Edited from arizonagroovejet:
...run YaST2 and go to Software -> Installation Source -> Delete DVD Repository -> Add local path repository "/srv/www/htdocs/repos/sles10sp2/" -> save and quit.

Thanks!!! Works Great!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SLES 10 SP2 as a Router Raptor354 Linux - Networking 1 01-10-2009 08:07 PM
Authenticating SLES 10 SP2 after Reinistall house0fdust SUSE / openSUSE 1 09-22-2008 03:41 PM
SLES 10 SP2 and swap space tongar SUSE / openSUSE 1 09-10-2008 09:59 AM
assembly code throws errors while compiling on SLES 10 sp2 deedhnd Linux - Server 4 08-18-2008 03:26 AM
Initialized SLES 8 update over OES SLES 9 SP2 by mistake. Kamenko SUSE / openSUSE 4 03-13-2007 05:21 AM


All times are GMT -5. The time now is 02:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration