<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Joseph Bishay wrote:
<blockquote
 cite="mid:ba50840810060816p3a391911oe1e1bd66c1cad605@mail.gmail.com"
 type="cite">
  <pre wrap="">Hello everyone,

As was recommened by a couple of people on the mailing list, I'm
looking into upgrading my network to K12LTSP EL-5.  I would like to
pretend I'm cool and cutting-edge, as well as saving time and CDs, by
installing from the ftp site
<a class="moz-txt-link-freetext" href="ftp://k12linux.mesd.k12.or.us/pub/K12LTSP/5.0.0-EL-32bit/iso">ftp://k12linux.mesd.k12.or.us/pub/K12LTSP/5.0.0-EL-32bit/iso</a>

I have downloaded and burned the first CD image successfully and I am
able to boot off it and start the installation process.  However, I
*always* fail at putting the ftp information in correctly and the
installation never works properly.  On top of that, the only way you
find out that the installation fails is not at the point at which you
enter the ftp site info, but later on in the install when the server
attempts to access the site.

If someone can please provide me with step-by-step instructions I
will, 1) sing their praises here and 2) update the wiki so as to
include that information so it's easily available for everyone else.

Looking forward to being cool,
Joseph</pre>
</blockquote>
<br>
The way I do it is to download the DVD image and set up my own FTP
server with its contents.  Actually, I find NFS somewhat easier. 
Anyway, here's how.  There are three parties in this process.  They are
the following:<br>
<br>
A.)  the box you're using to download the CentOS 5 DVD image (probably
your "daily driver" workstation--mine's a Kubuntu box),<br>
<br>
B.)  the box that you're going to use as an "installation file server"
when you do your installs (mine's a Slackware box, but this can also be
the same as the box in A.), and<br>
<br>
C.)  the box on which you're going to perform the actual FTP
installation once all this is set up--that is, your K12LTSP 5EL
server-to-be.<br>
<br>
<br>
With the introductions out of the way, let's get to it.<br>
<br>
<br>
1.)  Download the DVD ISO image.  It's nearly 4GB.<br>
<br>
2.)  Mount that DVD ISO image as a so-called "loop" mount.  That's done
as follows, using "/mnt/dvdiso" as my mount point.<br>
<br>
       mount -t iso9660 -o loop NameOfDVDISOImage.iso /mnt/dvdiso<br>
<br>
3.)  Find some box with enough space for the contents of the DVD and
copy the entire contents of the DVD (everything under /mnt/dvdiso, in
this example) to that box.  Any such box will do; I'm assuming here
that it runs some GNU/Linux distro.  On my "installation file server",
I use the directory /var/nfsshare, because I started out doing NFS
installs originally.  You can use whatever dir. you want.  Ensure that
permissions for this entire subdirectory tree are set to
world-readable, for obvious reasons.  :-)  You do that like this.<br>
<br>
        chmod -R 755 /var/nfsshare<br>
<br>
4.)  Install vsftpd.  On RH/CentOS/Fedora, this is done by "yum install
vsftpd".<br>
<br>
5.)  On this "installation file server", set up your FTP daemon to
point to that directory.  With vsftpd, the config file is
/etc/vsftpd/vsftpd.conf.  Ensure that anonymous access is turned on in
that config file (it's well commented).  By default, it is turned on.<br>
<br>
6.)  In /etc/passwd, change the home directory for user "ftp" to point
to your CentOS installation directory.  In this example, that's
/var/nfsshare.<br>
<br>
7.)  /sbin/service vsftpd start<br>
<br>
8.)  Time for a basic functionality test.  From another box, try
FTP'ing into that "installation file server" and downloading any file. 
That should work.<br>
<br>
9.)  Now that you've made sure basic functionality works, here's what
you do when you want to do an FTP install.  For "server name", put in
the IP address of this "installation file server."  For your directory,
just put in "/".  That oughta do it.<br>
<br>
<br>
Since I regularly do CentOS installations at work, I have hugely
benefited from setting up an installation file server.  NFS installs
are equally easy, BTW.  All you have to do is install the NFS server
and set up your /etc/exports file to look like this.<br>
<br>
    # My /etc/exports file<br>
    #<br>
    /var/nfsshare   *(ro,async,all_squash)<br>
<br>
Then, "/sbin/service nfs restart" for that new exports file to take
effect.  And so, during your network installs, you'd use the same IP
address, and the directory you'd put in would be "/var/nfsshare".<br>
<br>
And thus shall coolness envelope you...for you will have become more
1337....<br>
<br>
--TP<br>
<div class="moz-signature">
_______________________________
<br>
Do you <a href="http://www.gnu.org">GNU</a>?
<br>
<a href="http://www.cmosnetworks.com">Microsoft Free since 2003</a>--the
ultimate antivirus protection!
<br>
</div>
<br>
<br>
</body>
</html>