Thursday, December 25, 2008

create RPM repository from ISO DVD CD

Thanks to http://www.cyberciti.biz/tips/redhat-centos-fedora-linux-setup-repo.html
# mkdir -p /var/www/html/centos/5/os/i386
# mount -o loop /path/to/centos.iso /var/www/html/centos/5/os/i386

** (put it in /etc/fstab later)

createrepo /var/www/html/centos/5/os

# vi /etc/yum.repos.d/iso.repo
[My ISO Repository]
baseurl=http://$IP_ADDRESS/centos/5/os/
enabled=1
gpgcheck=0

service httpd restart

** not other servers is the subnet can use this repository as well as this service onto which the iso resides

2 comments:

Anonymous said...

I want to quote your post in my blog. It can?
And you et an account on Twitter?

Anonymous said...

Hey,

When ever I surf on web I come to this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]You have really contiributed very good info here hajali.blogspot.com. Frankly speaking we really do not pay attention towards our health. Let me show you one truth. Research indicates that nearly 90% of all U.S. adults are either chubby or weighty[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] Therefore if you're one of these citizens, you're not alone. In fact, most of us need to lose a few pounds once in a while to get sexy and perfect six pack abs. Now next question is how you can achive quick weight loss? Quick weight loss can be achived with little effort. If you improve some of your daily diet habbits then, its like piece of cake to quickly lose weight.

About me: I am writer of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also health expert who can help you lose weight quickly. If you do not want to go under hard training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for effective weight loss.