FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 7th, 2003, 08:43 PM
UFSS UFSS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Manalapan, NJ
Posts: 59 UFSS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 53 m 3 sec
Reputation Power: 5
Send a message via AIM to UFSS Send a message via MSN to UFSS
proFTP question

Hello Everyone,
OK im fairly new to linux i was told it is a good operating system for a server well i wanna make a ftp server and a chat server. i downloaded wuftp installed but i want to get rid of that and use proftp how do i uninstall and then install proftp and configure it.

Reply With Quote
  #2  
Old August 7th, 2003, 09:49 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
Quote:
how do i uninstall[quote]
it rather depends on how you installed it in the first place.. If you built from source, then make uninstall should removed the binaries from their installed locations.

[quote] and then install proftp and configure it.


the proftp site should be your first port of call, with a wget ftp://ftp.proftpd.org/distrib/sourc...pd-1.2.8.tar.gz to download the latest sources, followed by the usual tar -zxvf proftpd-1.2.8.tar.gz; cd proftpd-1.2.8.

Your next job will be to read the INSTALL file and check on any configure options before you build the makefile.. then compile and install in the usual way. I guess it'd be simplest to have the proftpd run over inetd, so you'll have to configure inetd by adding a line in your /etc/inetd.conf . Further to that, the proftp config is extremely flexible and feature-full.. and the config options you choose are totally up to you.

christo

Reply With Quote
  #3  
Old August 8th, 2003, 12:24 PM
UFSS UFSS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Manalapan, NJ
Posts: 59 UFSS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 53 m 3 sec
Reputation Power: 5
Send a message via AIM to UFSS Send a message via MSN to UFSS
ok if you or anyone else can guide me through dling, installing, and configuring any good ftp server/daemon. I will be forever greatful and i will do anything i can possibly do for you. i get good prices on many computer items through a a friend i know so if you need something i will try and get it

vinny

Reply With Quote
  #4  
Old August 8th, 2003, 12:32 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
did you download ftp://ftp.proftpd.org/distrib/sourc...pd-1.2.8.tar.gz ?

If not, then do that first. What difficulties are you having with downloading this file?

christo

Reply With Quote
  #5  
Old August 8th, 2003, 12:41 PM
UFSS UFSS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Manalapan, NJ
Posts: 59 UFSS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 53 m 3 sec
Reputation Power: 5
Send a message via AIM to UFSS Send a message via MSN to UFSS
ok i did that i saved it in /root do i unpack it to /root or somewhere else

Reply With Quote
  #6  
Old August 8th, 2003, 12:56 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
Good lad.. it doesn't matter where you put it really - you can do it anywhere. I usually download my sources into /usr/src . /root is just the root user's home area

now you need to unpack them with tar:
tar -zxvf proftp-source-whatever-its-called.tar.gz

and it will create a new directory, which you should then CD into. There should be a couple of files in there. One called README and one called INSTALL - have a browse, scratch your head for 15 mins, then post back

christo

Reply With Quote
  #7  
Old August 8th, 2003, 12:59 PM
UFSS UFSS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Manalapan, NJ
Posts: 59 UFSS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 53 m 3 sec
Reputation Power: 5
Send a message via AIM to UFSS Send a message via MSN to UFSS
ok i was lookin for so docs while waiting and i found one is this a good doc to follow http://lxuser.tripod.com/linux/proftpd.html

Reply With Quote
  #8  
Old August 8th, 2003, 01:12 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
On checking the install docs,
./configure --sysconfdir=/etc

would be a sensible option. It's nice to have configs in a useful place

christo

Reply With Quote
  #9  
Old August 8th, 2003, 01:18 PM
UFSS UFSS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Manalapan, NJ
Posts: 59 UFSS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 53 m 3 sec
Reputation Power: 5
Send a message via AIM to UFSS Send a message via MSN to UFSS
ok i did what u said and i followed everything up to where it says to make and make install when i am in the proftpd directory i type make and it says no targets specified and no makefile when i type just make and when i type make install it says no rule to make target install, what do i do

vinny

Reply With Quote
  #10  
Old August 8th, 2003, 01:24 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
before you run make, you need to run the autoconf configure script - this sets up the rules and targets for your makefile which will then be created. Run the configure script with the following command:

./configure --prefix=/usr/local/ --sysconfdir=/etc

My guess is that you tried to run configure, passing it all the options that are shown in the example.. the one you linked to earlier.. however, you'll probably find that configure didn't complete because of the mod_wrap thing.. and that's why make isn't running... anyway...

afterwards, you should see a file called makefile in the same folder.. this contains all sorts of compile time dirctives, which tell the make command how to compile the application.. so you can then compile it with

make

and then install it by issuing:

make install

however, you must be logged in as the root user to do that last bit..

christo

Reply With Quote
  #11  
Old August 8th, 2003, 01:38 PM
UFSS UFSS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Manalapan, NJ
Posts: 59 UFSS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 53 m 3 sec
Reputation Power: 5
Send a message via AIM to UFSS Send a message via MSN to UFSS
ok i did that and i think it worked what do i do from here. should i continue following the doc

Last edited by UFSS : August 8th, 2003 at 01:41 PM.

Reply With Quote
  #12  
Old August 8th, 2003, 01:44 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
the doc seems to be okay - don't forget that your config file is in /etc/proftpd.conf, so this is the file you need to edit. Also, in section 9 of that doc, you should opt for option A, to run the proftp daemon over ietd. It'll make it a lot more accessible for you should you want to turn it off/on at any time.

good luck dude

christo

Reply With Quote
  #13  
Old August 8th, 2003, 01:47 PM
UFSS UFSS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Manalapan, NJ
Posts: 59 UFSS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 53 m 3 sec
Reputation Power: 5
Send a message via AIM to UFSS Send a message via MSN to UFSS
ok ill do that if i have any problems ill post back. is that ok

Reply With Quote
  #14  
Old August 8th, 2003, 02:00 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
no probs at all

christo

Reply With Quote
  #15  
Old August 8th, 2003, 02:05 PM