Back at Square 1

dattaway at attaway.net dattaway at attaway.net
Mon Jul 15 02:56:11 CDT 2002


On Sun, 14 Jul 2002, Seth Dimbert wrote:

> OK... Time for another newbie system-setup question.
> 
> I've got the OS up and running. The machine's IP has been set and I even
> figured out, on my own, how to get Apache running.
> 
> Impressed? (Probably not, but what the heck)
> 
> Now I need to get the FTP server running so I can upload files for Apache to
> serve. I think that the Distro I installed comes with WU-ftpd,  but I may be
> wrong. In any case, I've poked, prodded and looked all afternoon; I can't
> find hide nor hair of an ftp server.

Usually the start scripts for the servers if you installed a distribution 
of linux (rather than rolling your own) will be in /etc/rc.d/init.d or 
/etc/init.d, or something like that.  In that directory where you find 
those scripts, find the one that resembles ftp.  Here's where and how to 
run my ftp script, with the start command:

/etc/init.d/proftpd start  

I sometimes just run the ftp server directly:

/usr/sbin/proftpd

since you are using wu-ftpd, not proftpd, you would type something more
like /usr/sbin/wu-ftpd

RedHat uses the sysv init scripts, so the directory and ftp server is
somewhat different.  Now, your ftp home directory sometimes can be in the
/home directory, but some prefer to put it somewhere in /usr/ftp, or
/usr/local/ftp, and a friend of mine chooses /usr/local/data/ftp.
Everybody seems to have their preferences where to hide stuff.

And when you get wu-ftpd running... if you are running the latest
incarnations of redhat, my experience is that they put a lot of
firewalling code and levels to help block the ports.  My redhat experience
aquainted me with the joys of xinetd, ipchains, AND iptables all at once.  
It took me weeks to figure out what kind of obstacle course they gave me,
because if I found one, there was always another trap that made my
previous efforst seem useless.

Why drive a car when you can ride a bike?
http://attaway.net                 http://counter.li.org   user #142150




More information about the Kclug mailing list