LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-12-2003, 07:17 PM   #1
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
having hard time finding FTP server resources


hey, i did a search and found a post on how to set up a FTP server, but it was from the standpoint of someone using redhat and its graphical config programs.

does anyone know where i can find an easy first time seting up server type FTP server tutorial, i dont care if its for proFTP, vsftp or anything else, but i do want it to explain with the assumption that i hav'nt set up any other type of server before. so if you just know the perfect tut for me id apreciate it if youl'd direct me in to it.
 
Old 11-12-2003, 09:13 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If your using Slackware and you installed just about everything, it should already have proftpd installed. Its pretty basic to setup.

First see if its installed by doing this:

ls -al /var/log/packages | grep proftp*

If it returns something like this:

-rw-r--r-- 1 root root 3089 Aug 24 11:04 proftpd

Then its installed.

Then follow these steps:

Open up your /etc/inetd.conf file and look for these lines:

Code:
# ProFTPD FTP Daemon:
ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  proftpd
Uncomment the line like above that is under the ProFTPD FTP Daemon line.

This means that proftpd will start from your inetd daemon.

Now make sure its starting from your /etc/rc.d/rc.inet2 file and it should look like this with the uncommented lines:

Code:
# Start the inetd server:
if [ -x /usr/sbin/inetd ]; then
  echo "Starting Internet super-server daemon:  /usr/sbin/inetd"
  /usr/sbin/inetd
else
  echo "WARNING:  /usr/sbin/inetd not found."
fi
# Done starting the inetd meta-server.
That means at boot time if this script is called from the rc.M file, its running already and should be working.

If you want to enable anonymous login, you can do this by removing or uncommenting the user ftp in the /etc/ftpusers file.

If you don't have proftpd installed, just grab it from your Slackware cd or download the latest version from a Slackware mirror ftp site and copy it to your computer and then simply use this command to install it:

installpkg <name-of-package>

And it will install to the default locations like if you installed during initial install.

Hope this helps and eliminates you from having to go search for a tutorial. If you want to do some custom configurations, I'd suggest first going to www.proftpd.org as they have some pretty good documentation there.

Cheers.
 
Old 11-12-2003, 11:35 PM   #3
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Original Poster
Rep: Reputation: 30
trickykid, your awesome, that got my FTP server up without a problem, I think my problem mostly was when these internet tutorials said to set inetd to start so-and-so, i was blistfully unaware of what inetd was, now you pointed me to the config files you have opened up a new world to me (and helped me disable a few services I know I dont need), I finally understand most of the tutorials (although the one you gave me was much more to the point, there for better)

I think I'll read up on inetd for a while untill I understand it more, that aught to make the rest of my networking easier. and your assumption about slackware was correct (I guess my user info gave it away).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp server - hard drive format rndilger Linux - Networking 1 02-13-2005 01:27 PM
How to keep the original time of files uploaded to FTP server wondial Linux - Software 1 10-26-2004 10:12 PM
Hard time 'finding' e-mail aim4fame Linux - Software 10 08-27-2004 12:28 AM
ftp server not finding my ip address fideli Linux - Software 7 02-18-2004 11:47 AM
Mail/Web/FTP server - POP3 (My first time) deacon_brody Linux - Networking 2 03-06-2002 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration