Difference between revisions of "ProFTPD"

From CBLFS
Jump to navigationJump to search
(Bootscript)
 
Line 76: Line 76:
 
== Configuring ==
 
== Configuring ==
  
=== Bootscript ===
+
=== BootScript ===
  
Create the bootscript:
+
Install the init script included in the [[bootscripts]] package.
  
  cat > /etc/rc.d/init.d/proftpd << "EOF"
+
  make install-proftpd
#!/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 ==
 
== Contents ==

Latest revision as of 13:19, 19 March 2010

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

Install the init script included in the bootscripts package.

make install-proftpd

Contents

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