GNU/Linux >> Tutoriales Linux >  >> Ubuntu

Cómo instalar Vsftpd en Ubuntu 16.04

En este tutorial, le mostraremos cómo instalar y configurar vsftpd en su servidor Ubuntu 16.04. Para aquellos de ustedes que no lo sabían, FTP significa "protocolo de transferencia de archivos". y le permite transferir archivos a una computadora remota.El software de servidor FTP más común para Ubuntu es el paquete vsftpd, que significa "demonio FTP muy seguro". Es el paquete FTP predeterminado para Ubuntu y también para la mayoría de las otras distribuciones de Linux.

Este artículo asume que tiene al menos conocimientos básicos de Linux, sabe cómo usar el shell y, lo que es más importante, aloja su sitio en su propio VPS. La instalación es bastante simple y asume que se están ejecutando en la cuenta raíz, si no, es posible que deba agregar 'sudo ' a los comandos para obtener privilegios de root. Le mostraré la instalación paso a paso de Vsftpd en un servidor Ubuntu 16.04 (Xenial Xerus).

Instalar Vsftpd en Ubuntu 16.04

Paso 1. Primero, asegúrese de que todos los paquetes de su sistema estén actualizados ejecutando el siguiente apt-get comandos en la terminal.

sudo apt-get update
sudo apt-get upgrade

Paso 2. Instalación de VSFTPD.

Para instalar VSFTPD, ejecute el siguiente comando desde su terminal:

apt-get install vsftpd

Paso 3. Configurar VSFTPD.

Después de que se haya instalado correctamente, sigamos adelante y configuremos:

### nano /etc/vsftpd.conf

Controls whether anonymous logins are permitted or not.
anonymous_enable=NO

# Allow local users to login
local_enable=YES

# Set 'write_enable' to YES in order to allow changes to the filesystem
write_enable=YES

# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..
ascii_upload_enable=YES
ascii_download_enable=YES

# You can set the root directory of the FTP users. if not specified, users' home directory equals FTP home directory
local_root=public_html

Guarde y cierre el archivo. Reinicie el servicio vsftpd para aplicar los cambios:

sudo systemctl restart vsftpd
sudo systemctl enable vsftpd

Compruebe si el servicio vsftpd se está ejecutando o no usando el comando:

sudo systemctl status vsftpd

Salida de muestra:

 vsftpd.service - vsftpd FTP server
 Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vend
 Active: active (running) since Thu 2016-08-16 17:28:31 IST; 31s a
 Process: 2040 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (co
 Main PID: 2043 (vsftpd)
 Tasks: 1
 Memory: 492.0K
 CPU: 46ms
 CGroup: /system.slice/vsftpd.service
 └─2043 /usr/sbin/vsftpd /etc/vsftpd.conf

Aug 16 17:28:31 ubuntuserver systemd[1]: Starting vsftpd FTP server.
Aug 16 17:28:31 ubuntuserver systemd[1]: Started vsftpd FTP server.

¡Felicitaciones! Ha instalado vsftpd con éxito. Gracias por usar este tutorial para instalar vsftpd en el sistema Ubuntu 16.04 (Xenial Xerus). Para obtener ayuda adicional o información útil, le recomendamos que consulte la web oficial de vsftpd sitio.


Ubuntu
  1. Cómo instalar un servidor FTP en Ubuntu con vsftpd

  2. Cómo instalar ProFTPD en Ubuntu 15.04

  3. Instalar VSFTPD en Ubuntu 16.04

  4. Cómo instalar un servidor FTP en Ubuntu 20.04

  5. Cómo instalar un servidor FTP en Ubuntu 20.04

Cómo instalar Vsftpd en Ubuntu 18.04 LTS

Cómo instalar Go en Ubuntu 20.04

¿Cómo Instalar Un Servidor Ftp?

Cómo instalar Go en Ubuntu 22.04

¿Cómo instalar un servidor FTP en Ubuntu?

¿Cómo instalar FTP en Ubuntu 18.04?