On Thu, Aug 07, 2014 at 05:13:36AM -0700, teddymwas wrote:
> Commands to use when mounting ISO and installing packages from ISOs.
> 
> 1. copy over all the ISO images over to the server you want to use 
> 2. Create a directory in /media/ call it mountpoint1 i.e >> mkdir
> /media/mountpoint1
> 3. edit /etc/fstab and add the this line  /path/to/ISO/<debian-7.....iso>
> /media/dvd-mountpoint1 iso9660 loop,ro,user,auto 0  0
> 4. then mount the ISO image using this command : mount
> /media/dvd-mountpoint3
> 5. edit /etc/apt/sources.list and add this line deb
> file:/media/dvd-mountpoint1 wheezy main contrib
> 6. then run this command apt-get-update
> 7. Once you have run the above commands with no errors then you can start
> installing the packages by running 
>       apt-get install <package name> 
>       the installer will look for all the repository files in the ISO image 
> set
> in the sources list.
> 7 very simple steps to a happy debain life.

I think apt-cdrom is easier, it adds all the sources for you
automatically and it doesn't tie up storage space on the server.

man apt-cdrom:
'It is necessary to use apt-cdrom to add CDs to the APT system; it
cannot be done by hand.'

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140808131722.GG2128@tal

Reply via email to