LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 10: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, 07:25 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

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


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