16.3. Setting Up an HTTP-Based Fedora Installation Server
Problem
You want your own local Fedora installation server so you can plug-in and provision new systems with a minimum of fuss, and you prefer running an HTTP server.
Solution
First, download the Fedora DVD ISO. Visit fedoraproject.org (http://fedoraproject.org/get-fedora.html) to find a download site. If you use BitTorrent, it will verify file integrity for you; otherwise, be sure to compare the checksum manually when the download is finished:
$ sha1sum F-7-i386-DVD.iso
96b13dbbc9f3bc569ddad9745f64b9cdb43ea9ae F-7-i386-DVD.isoThe correct checksum is posted in the same download directory as the ISO.
You may write the ISO to a DVD as a backup, but you won't need the DVD to operate your installation server, just the ISO.
Install the Lighttpd HTTP server to power your nice installation server. On Debian, install it with this command:
# aptitude install lighttpd lighttpd-docOn Fedora:
# yum install lighttpdYou can store your Fedora ISO anywhere on this server, but you need to mount it in a web directory, such as /var/www/fedora. Use the loopback device to mount it; for example:
# mount -o loop F-7-i386-DVD.iso /var/www/fedoraYou should now see files in here, instead of a single giant file:
$ ls /var/www/fedora Fedora isolinux RPM-GPG-KEY RPM-GPG-KEY-fedora-test fedora.css README-BURNING-ISOS-en_US.txt RPM-GPG-KEY-beta RPM-GPG-KEY-rawhide GPL RELEASE-NOTES-en_US.html RPM-GPG-KEY-fedora stylesheet-images images repodata RPM-GPG-KEY-fedora-rawhide ...Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access