LinuxQuestions.org
Help answer threads with 0 replies.
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 09-29-2011, 09:43 AM   #1
pravz
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
RHEL5 - Install packages from DVD media


hi i am using rhel 5. I want to install packages from dvd to /var/ftp/pub/server. what can i do for dat.
when i am trying to mount as
mount /dev/cdrom /mnt
it is showing as
mount:medium not found
anyone can help me plz thx bye
 
Old 09-29-2011, 06:25 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
The message means that /dev/cdrom is empty, you either need to attach/insert the media or pick the correct device. As a side note, usually you'd create a directory under /mnt like /mnt/dvd and mount the device on that, you may have other things mounted that you'd make unavailable by mounting on /mnt.
 
Old 09-30-2011, 09:11 AM   #3
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Rep: Reputation: 20
insert the dvd, then mount it with mount /dev/cdrom /media/dvd
then use 'cp -ar /media/dvd/. /var/ftp/pub/server/'
the -ar option is for archine and recursive. the '.' is for copying hidden files too.
 
  


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
can not install packages on rhel5 suhaspattanayak Linux - Newbie 1 06-21-2009 12:53 PM
RHEL5 - I have RHEL5 DVD , how i install ofice packages like SPREADSHEET ETC, bharath@linux Linux - Newbie 3 10-12-2008 02:24 PM
How to install packages after installation of RHEL5 tanveer Linux - Enterprise 7 07-06-2008 09:39 PM
Still cannot use Installation CD/DVD RHEL5 to add & remove packages? hocheetiong Linux - Newbie 1 01-03-2008 05:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 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
Open Source Consulting | Domain Registration