16.4. Setting Up an FTP-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 anonymous FTP 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 vsftpd, the Very Secure FTP server, to power your nice installation server. On Debian, install it with this command:
# aptitude install vsftpdOn Fedora:
# yum install vsftpd# chkconfig vsftpd on
Debian uses /etc/vsftpd.conf and Fedora uses /etc/vsftpd/vsftpd.conf. This configuration allows simple anonymous read-only access. Users may download files, but not upload:
##vsftpd.conf listen=YES anonymous_enable=YES ftpd_banner=Welcome to your friendly Fedora installation server #Debian users default directory anon_root=/home/ftp/fedora #Fedora users default directory anon_root=/var/ftp/fedora
Debian users must create a directory to store their Fedora installation tree:
# mkdir /home/ftp/fedoraFedora users ...
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