You are here Home > Know-how > Linux > Server > FTP

Linux Reference

4.2 FTP


20.02.2008
4.1.4 mod_rewrite [  up  ] - [ top ] - [ linux a-z ] 4.3 Samba (File Server)

ProFTPD 1.2.10 (compiled)

proftpd-1.2.10

If you have questions, please ask them on the appropriate mailing lists:

www.proftpd.org/lists.html


A very Quick Installation Guide for ProFTPD

./configure
make
make install
cp -p proftpd /usr/sbin/
vi /usr/local/etc/proftpd.conf
vi /etc/xinetd.d/ftp

Paste the following content to the new configuration file:

# proftpd - Version: 1.2.8 (stable)
service ftp
    {
	flags           = REUSE
	socket_type     = stream
	instances       = 50
	wait            = no
	user            = root
	server          = /usr/sbin/proftpd
	server_args     = -c /usr/local/etc/proftpd.conf
	log_on_success  += DURATION USERID
	log_on_failure  += USERID
	nice            = 10
	port            = 21
    }

Reload xinetd:

/etc/rc.d/init.d/xinetd reload


Test if it works:

% sh sample-configurations/PFTEST.install

Sample test files successfully installed in /tmp/PFTEST.

% ./proftpd -n -d 5 -c /tmp/PFTEST/PFTEST.conf


[duplicate shell]

	% ftp -n -d
	ftp> open <hostname> 2021
	ftp> user proftpd
	---> USER proftpd
	331 Password required for proftpd.
	Password: [proftpd]
	---> PASS proftpd
	230 User proftpd logged in.
	ftp>
	

Start Stop Script

Att/etc rc d init d proftpd.txt

See also: [ /know how/ftp ]



copyright by retoh - created with mytexi