LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RHEL5 - Install packages from DVD media (https://www.linuxquestions.org/questions/linux-newbie-8/rhel5-install-packages-from-dvd-media-905627/)

pravz 09-29-2011 09:43 AM

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

kbp 09-29-2011 06:25 PM

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.

Chenchu 09-30-2011 09:11 AM

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.


All times are GMT -5. The time now is 07:41 PM.