Mounting Repository of Harddisk
1. Copy the entire repository to your Local disk.
for example in: / media / data
2. Open Terminal
3. Create Directory with a repository in / home
How:
sudo mkdir / home / (username) / repo
eg: sudo mkdir / home / ari / repo
4. Create Directory in this repo directory
How:
sudo cd / home / ari / repo
mkdir repo1 repo2 repo3 repo4 repo5 repo6
5. Open Gedit and save with the name mountrepo.sh
sudo gedit mountrepo.sh
Then this script copykan (where iso repo and the repo folder adjusted)
mount o loop / media/data/repo1.iso / home/ari/repo/repo1
mount o loop / media/data/repo2.iso / home/ari/repo/repo2
mount o loop / media/data/repo3.iso / home/ari/repo/repo3
mount o loop / media/data/repo4.iso / home/ari/repo/repo4
mount o loop / media/data/repo5.iso / home/ari/repo/repo5
mount o loop / media/data/repo6.iso / home/ari/repo/repo6
6. Log into another terminal and type:
sudo gedit / etc / apt / sources.list
7. Scrip Edit the sources.list and type the following Scrip
deb file: / home/ari/repo/repo1 Jaunty main restricted
deb file: / home/ari/repo/repo2 Jaunty restricted main multiverse
deb file: / home/ari/repo/repo3 Jaunty universe
deb file: / home/ari/repo/repo4 Jaunty universe
deb file: / home/ari/repo/repo5 Jaunty universe
deb file: / home/ari/repo/repo6 Jaunty universe
put a fence (#) at the Scrip is not in need, and save
9. Scrip mount.sh and run it in the terminal's how:
sudo sh mount.sh
10. and type:
sudo apt-get update
11. If Upadate went well and ending in Reading package lists ... Done means you have
successful mounting repository
Subscribe to:
Post Comments (Atom)
0 comments
Post a Comment