Once upon a time, the Linux was known to be born for the Network, but now for some reason I am using it without network connections. After I installed the default sotfware packages from the DVD iso image on harddisk, I found I need some other packages that I left over during the installation, I got use the DVD iso image becuase of no network. However Fedora 7 is quite different from Fedora Core 6, which the way to "Add or Remove Softwares" using iso images is no more working on Fedora 7.
Here below is I found out how to make it work using DVD iso image to add softwares than default online repo:
1) #mkdir /mnt/iso
2) #mount -o loop /path/to/your/F-7-i386-DVD.iso /mnt/iso
3) #mkdir /mnt/repo
4) #cd /mnt/repo
5) #mkdir Fedora
6) #mount ---bind /mnt/iso/Fedora /mnt/repo/Fedora
7) #createrepo -g /mnt/iso/repodata/comps-f7.xml /mnt/repo
Install createrepo if it is not installed
#cd /mnt/iso/Fedora
#rpm -ihv createrepo-0.4.8-4.fc7.noarch.rpm
8) Backup /etc/repos.d, then remove all the files inside this directory, and add the following lines to the end of /etc/yum.conf
[DVD]
name=DVD iso image
baseurl=file:///mnt/repo
gpgcheck=0
9) #yum clean all
To remove any previous stored cache, headers etc.
Now you are ready to enjoy it, but before you are really there, I'd do a little tweak down here and add the following lines to /etc/fstab so that whenever I power on my machine, I won't bother to monut the DVD iso images by hand.
/path/to/your/F-7-i386-DVD.iso /mnt/iso iso9660 defaults,loop 0 0
/mnt/iso/Fedora /mnt/repo/Fedora none defaults,bind 0 0
Note: with SeLinux on, the DVD iso image is not able to mount at boot time automatically, it says "Permission Denied". Since I am a normal desktop user, I don't think there is any necessity to turn it on.