Friday, July 2, 2010

Linux: how to install Ubuntu repository DVD v9.10 karmic koala


The following is how to install Ubuntu repository DVD v9.10 karmic koala ...

1. Create a file. ISO from the 7th DVD Repository Ubuntu v9.10. how to copy DVDs and create a folder in the repository /home with name "Repository",
2 Copy all the files. ISO that's been made into a folder. (Example: /home/hjar/Repository) for the first DVD named disk1, disk2 name the second DVD and so on until the seventh DVD.
3 Then make a folder in / mnt, a number of files. ISO repositoryby way of open applications> accessories> terminal and enter the command below.

hjar@hjar-desktop:~$ sudo mkdir /mnt/repo1
hjar@hjar-desktop:~$ sudo mkdir /mnt/repo2
hjar@hjar-desktop:~$ sudo mkdir /mnt/repo3
hjar@hjar-desktop:~$ sudo mkdir /mnt/repo4
hjar@hjar-desktop:~$ sudo mkdir /mnt/repo5
hjar@hjar-desktop:~$ sudo mkdir /mnt/repo6
hjar@hjar-desktop:~$ sudo mkdir /mnt/repo7

4. Now it's time we had all the files automatically mounting. ISO is in the folder /home/hjar/Repository into /mnt. The trick, open the file /etc/fstab.
hjar@hjar-desktop:~$ sudo gedit /etc/fstab
And add the command below:
 view sourceprint?
#Repository
/home/hjar/Repository/disk1.iso /mnt/repo1 iso9660 loop,defaults 0 0
/home/hjar/Repository/disk2.iso /mnt/repo2 iso9660 loop,defaults 0 0
/home/hjar/Repository/disk3.iso /mnt/repo3 iso9660 loop,defaults 0 0
/home/hjar/Repository/disk4.iso /mnt/repo4 iso9660 loop,defaults 0 0
/home/hjar/Repository/disk5.iso /mnt/repo5 iso9660 loop,defaults 0 0
/home/hjar/Repository/disk6.iso /mnt/repo6 iso9660 loop,defaults 0 0
/home/hjar/Repository/disk7.iso /mnt/repo7 iso9660 loop,defaults 0 0

5 Save the file, then restart your computer / laptop. Make sure the files. ISO was mounting automatically when startup.
To view them, whether it's too mounting, follow these steps: Open the System Monitor, System → Administration → System Monitor> File system

6 For the last step ie, add the following command in the file / etc / apt / sources.list
 hjar@hjar-desktop:~$ sudo gedit /etc/apt/sources.list
 Add the command below:
 #From File
deb file:”/mnt/repo1/” karmic main
deb file:”/mnt/repo2/” karmic main multiverse restricted
deb file:”/mnt/repo3/” karmic multiverse universe
deb file:”/mnt/repo4/” karmic universe
deb file:”/mnt/repo5/” karmic universe
deb file:”/mnt/repo6/” karmic universe
deb file:”/mnt/repo7/” karmic universe
  
7. Exit and save the file. Then update the source by way of:

hjar@hjar-desktop:~$ sudo apt-get update

hopefully useful .. ^ _ ^

No comments:

Post a Comment