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 |
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.
|
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. |