how to install Proftpd ( basic setup )

These are installation step to install proftpd ( very basic )

cd /software or /tmp

wget ftp://ftp.ibiblio.org/pub/mirrors/proftpd/distrib/source/proftpd-1.3.1.tar.gz

tar -xzvf proftpd-1.3.1.tar.gz

cd proftpd-1.3.1

./configure --prefix=/usr/local/proftpd

make

make install

the configuration files will be located at /usr/local/etc

cd /usr/local/etc
edit the proftpd.conf ( make the following changes )


# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "agnello.manage.org" ---> ( usuall the hostame )
ServerType standalone
DefaultServer on


# Set the user and group under which the server will run.
User proftpd ---> if this user does not exist create the same
Group proftpd


delete this entire <Anonymous> section.

add the following section


##########################
#
# ftp only home directories
#
#########################
<Anonymous /home/test1> --------> ( if this user has not been created create the same , the use should belong to the grp ftp )
User test1
Group ftp
UserAlias anonymous esha
AnonRequirePassword on
<Limit READ WRITE DIRS>
AllowAll
</Limit>
</Anonymous>

to star the proftpd daemon run
/usr/local/proftpd/sbin/proftpd

to chk if preocess is running
ps -aux grep proftp

now log on to your web browser ftp://ipaddress/
add user name password

Note : proftpd supports mysql ... and can be administered throught phpmyadmin .... see for future tutorials

and enjoy !!!

--

No comments:

Other Articles

Enter your email address: