Translate/Traductor

jueves, 27 de febrero de 2014

Servidor FTP anónimo‏

sudo apt-get install vsftpd

sudo cp /etc/vsftpd.conf  /etc/vsftpd.conf_original

sudo gedit /etc/vsftpd.conf


listen=YES
local_enable=NO
anonymous_enable=YES
anon_root=/home/ftp/



sudo /etc/init.d/vsftpd restart


anonymous realmente es un usuario llamado 'ftp'

sudo mkdir /home/ftp/incoming

sudo chmod 755 /home/ftp
sudo chmod 777 /home/ftp/incoming

sudo chown root:root /home/ftp/incoming

directorio home del usuario ftp (no debe tener permisos de escritura, propietario root)
drwxr-xr-x   root
/home/ftp/

Directorio con permisos de escritura
drwxrwxrwx   root
/home/ftp/incoming/



Continuación de la configuración del archivo vsftpd en la sección “Anonymus FTP user Settings”:
# Anonymus FTP user Settings ##
Permitir conexiones anónimas.
anonymous_enable=YES
# Directorio raíz para los usuarios anónimos. Carpeta creada
# en /home/ftp/ como se comentó anteriormente.
anon_root=incoming
# Solo permite descargar a los usuarios anónimos aquellos archivos
# que tengan permisos de lectura.
anon_world_readable_only=YES
# Para mi caso especifiqué con la siguiente directiva que los
# usuarios anónimos no tengan permisos para subir archivos
# al servidor.
anon_upload_enable=NO
# Esta directiva permite a los usuarios anónimos a crear carpetas
# en ciertos casos.
anon_mkdir_write_enable=NO
# Directiva que permite establecer el límite de la velocidad máxima
# de transferencia de datos para los usuarios anónimos. Fui un
# poco drástico jeje (2kb/s)
anon_max_rate=2048



http://molons.wordpress.com/2012/01/17/instalar-vsftpd-en-ubuntu-10-04-webmin-y-habilitar-usuario-anonymous/


ftp://ftp.eppg.com/
servicios_en_red
star.tr3k

miércoles, 11 de diciembre de 2013

INSTALAR Y CONFIGURAR SERVIDOR FTP VSFTPD‏

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

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