Ftp

afcbob

New member
Hello i got a linux VPS but am need to no how to install a ftp on it so i can upload things on it. i an new to this and just learn all the commands.Is there away for me to install on the server as i can't get to it.
 
Is there a package for pure-ftp on CentOS anyone?

try doing this:
yum install pure-ftpd

Regards,
Mark S.
 
i don't think so i got this after i put it in.

yum install pure-ftpd
Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
Server: CentOS-3 - Base
Server: CentOS-3 - Extras
Server: CentOS-3 - Updates
Finding updated packages
Downloading needed headers
Cannot find a package matching pure-ftpd
No actions to take
 
Hmm ok.. you will have to do it manually in SSH try this:

cd /usr/local/
wget ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.20.tar.gz
tar xzf pure-ftpd-1.0.20.tar.gz
cd pure-ftpd-1.0.20/
./configure --with-everything --with-virtualchroot --without-banner --without-humor --enable-osx --with-tls
make install-strip

#Next is to choose which Mode you want:
#xinetd Mode (I prefer this one)

cd /etc/xinetd.d/
cp -p ftp ftp.default
pico ftp

Code:
service ftp 
{ 
        disable = no 
        socket_type     = stream 
        wait            = no 
        user            = root 
        server          = /usr/local/sbin/pure-ftpd 
        server_args     = -A -E -p 40000:50000 -c 5 -C 1 -I 5 -T 25 -u 1 
        groups          = yes 
        flags           = REUSE 
}

/etc/init.d/xinetd stop
/etc/init.d/xinetd start

It now should work.
Hopefully that should help,

Regards,
Mark S.
 
ok when i put that in it just goes to next line so i put in

Code:
wget [url]ftp://ftp.pureftpd.org/pub/pure-ftp...d-1.0.20.tar.gz[/url]

and i get this

--19:21:19-- ftp://ftp.pureftpd.org/pub/pure-ftp...d-1.0.20.tar.gz
=> `pure-ftp...d-1.0.20.tar.gz'
Resolving ftp.pureftpd.org... 213.206.75.252, 130.225.247.87
Connecting to ftp.pureftpd.org[213.206.75.252]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub ... done.
==> PASV ... done. ==> RETR pure-ftp...d-1.0.20.tar.gz ...
No such file `pure-ftp...d-1.0.20.tar.gz'.
 
Oh i know what's happenend vBulletin has shorteed the URL and added ..... open the URL in a new window copy that URL and paste it into SSH.

Regards,
 
ok i get this error now

[root@server2 root]# tar xzf pure-ftpd-1.0.20.tar.gz
[root@server2 root]# cd pure-ftpd-1.0.20/
[root@server2 pure-ftpd-1.0.20]# ./configure --with-everything --with-virtualchroot --without-banner --without-humor --enable-osx --with-tls
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... :
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Thanks for all this help by the way.
 
Hello can some help me i'm getting this error.

[root@host2design pure-ftpd-1.0.20]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... :
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
 
:dance: :dance: :dance: :thankyou: :thankyou: :thankyou: Got this in the end did no one no what was wrong.
 
Top