ProFTPD

From CBLFS
Revision as of 14:10, 19 March 2009 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3.tar.bz2

Introduction to ProFTPD

ProFTPD is a proven, high-performance, scalable FTP server written from scratch, with a focus toward simplicity, security, and ease of configuration.

Project Homepage: http://www.proftpd.org/


Dependencies

Required

Recommended

Configuration Information

--with-modules=mod_sql:mod_sql_mysql: Enable MySQL support.

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --enable-facl --enable-openssl &&
make

Install the package:

make install

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

To do ...

Install the package:

To do ...

N32

Compile the package:

To do ...

Install the package:

To do ...

64Bit

Compile the package:

To do ...

Install the package:

To do ...

Configuring

Bootscript

Create the bootscript:

cat > /etc/rc.d/init.d/proftpd << "EOF"
#!/bin/sh
# Begin $rc_base/init.d/proftpd

. /etc/sysconfig/rc
. ${rc_functions}

case "${1}" in
        start)
                boot_mesg "Starting Proftpd..."
                loadproc /usr/sbin/proftpd
                ;;

        stop)
                boot_mesg "Stopping Proftpd..."
                killproc /usr/sbin/proftpd
                ;;

        restart)
                ${0} stop
                sleep 1
                ${0} start
                ;;

        status)
                statusproc /usr/sbin/proftpd
                ;;

        *)
                echo "Usage: ${0} {start|stop|restart|status}"
                exit 1
                ;;
esac

# End $rc_base/init.d/proftpd
EOF
chmod -v 754 /etc/rc.d/init.d/proftpd

Link it into the runlevels:

for link in /etc/rc.d/rc{{0,1,6}.d/K27,{2,3,4,5}.d/S33}proftpd; do
  ln -sfv ../init.d/proftpd $link;
done

Contents

Installed Directories: /usr/include/proftpd
Installed Programs: proftpd, in.proftpd
Installed Libraries: None
Retrieved from "?title=ProFTPD&oldid=17304"