sudo apt-get install vsftpd
sudo gedit /etc/vsftpd.conf
sudo /etc/init.d/vsftpd start
# Example config file /etc/vsftpd.conf
#
#
# Allow anonymous FTP? (Disabled by default)
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# If enabled, vsftpd will display directory listings with the time
# in your local time zone. The default is to display GMT. The
# times returned by the MDTM FTP command are also affected by this
# option.
use_localtime=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# You may restrict local users to their home directories. See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_local_user=YES
chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
#
# This option should be the name of a directory which is empty. Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd/empty
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/private/vsftpd.pem
Este Blog esta destinado a las aplicaciones del curso de Sistemas Microinformáticos y Redes del I.E.S. Valle de Camargo
Translate/Traductor
miércoles, 11 de diciembre de 2013
MAPA CONCEPTUAL DE LOS FICHEROS DE CONFIGURACIÓN DE APACHE2
El archivo principal de configuración se llama "apache2.conf." Además, se pueden añadir otros archivos de configuración mediante la directiva Include.
/etc/apache2/apache2.conf
/etc/apache2/ports.conf
/etc/apache2/sites-available/default
DocumentRoot
/var/www
/etc/apache2/sites-available/minuevositio
Usa la utilidad a2ensite (Apache2 Enable Site) para crear esos enlaces simbólicos, así:sudo a2ensite minuevositio
La utilidad a2dissite para deshabilitar sitios.
Apache es un servidor modular.
Para activar el módulo mod_ssl:
sudo a2enmod ssl
Suscribirse a:
Entradas (Atom)