Edición de «Instalar PureFTPd»
Advertencia: no has iniciado sesión. Tu dirección IP se hará pública si haces cualquier edición en estas condiciones. Si inicias sesión o creas una cuenta, tus ediciones se atribuirán a tu nombre de usuario, además de otros beneficios.
Puedes deshacer la edición. Antes de deshacer la edición, comprueba la siguiente comparación para verificar que realmente es lo que quieres hacer, y entonces guarda los cambios para así efectuar la reversión.
Revisión actual | Tu texto | ||
Línea 1: | Línea 1: | ||
+ | [[Categoría:Administración de un servidor dedicado]] | ||
==Objetivos== | ==Objetivos== | ||
Línea 7: | Línea 8: | ||
==Proceso== | ==Proceso== | ||
− | wget | + | wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.21.tar.gz |
tar -zxvf pure-ftpd-1.0.21.tar.gz | tar -zxvf pure-ftpd-1.0.21.tar.gz | ||
cd pure-ftpd-1.0.21 | cd pure-ftpd-1.0.21 | ||
Línea 21: | Línea 22: | ||
==Configuración== | ==Configuración== | ||
− | PureFTPd se configura mendiante los [http://www.die.net/doc/linux/man/man8/pure-ftpd.8.html parametros que se le pasan al ejecutable]. | + | PureFTPd se configura mendiante los [http://www.die.net/doc/linux/man/man8/pure-ftpd.8.html parametros que se le pasan al ejecutable]. |
− | |||
− | |||
+ | /usr/local/pureftpd/sbin/pure-ftpd -ABEHR -l mysql:/usr/local/etc/pureftpd-mysql.conf -O clf:/var/log/pureftpd.log | ||
+ | |||
-A Chroot() everyone, but root. | -A Chroot() everyone, but root. | ||
-B Start the standalone server in background (daemonize). | -B Start the standalone server in background (daemonize). | ||
Línea 33: | Línea 34: | ||
-R Disallow users (even non-anonymous ones) usage of the CHMOD command | -R Disallow users (even non-anonymous ones) usage of the CHMOD command | ||
− | == | + | ==xinetd== |
− | |||
− | |||
− | |||
− | |||
vi /etc/xinetd.d/pure-ftpd | vi /etc/xinetd.d/pure-ftpd | ||
Línea 46: | Línea 43: | ||
{ | { | ||
socket_type = stream | socket_type = stream | ||
− | |||
server = /usr/local/pureftpd/sbin/pure-ftpd | server = /usr/local/pureftpd/sbin/pure-ftpd | ||
− | server_args = -AEHR | + | server_args = -AEHR |
protocol = tcp | protocol = tcp | ||
user = root | user = root | ||
Línea 55: | Línea 51: | ||
} | } | ||
− | + | ==Inicio y parada automático== | |
− | |||
− | |||
− | |||
− | == | ||
cp contrib/redhat.init /etc/init.d/pureftpd | cp contrib/redhat.init /etc/init.d/pureftpd | ||
chmod +x /etc/init.d/pureftpd | chmod +x /etc/init.d/pureftpd | ||
chkconfig --add pureftpd | chkconfig --add pureftpd | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Enlaces== | ==Enlaces== | ||
* [http://www.pureftpd.org/ PureFTPd] | * [http://www.pureftpd.org/ PureFTPd] | ||
− | |||
− |