GNU/Linux >> Linux Esercitazione >  >> Ubuntu

Come installare Vsftpd su Ubuntu 16.04

In questo tutorial, ti mostreremo come installare e configurare vsftpd sul tuo server Ubuntu 16.04. Per chi non lo sapesse, FTP sta per "protocollo di trasferimento file", e ti consente di trasferire file su un computer remoto.Il software server FTP più comune per Ubuntu è il pacchetto vsftpd, che sta per "daemon FTP molto sicuro". È il pacchetto FTP predefinito per Ubuntu e anche per la maggior parte delle altre distribuzioni Linux.

Questo articolo presuppone che tu abbia almeno una conoscenza di base di Linux, sappia come usare la shell e, soprattutto, che ospiti il ​​tuo sito sul tuo VPS. L'installazione è abbastanza semplice e presuppone che tu sono in esecuzione nell'account root, in caso contrario potrebbe essere necessario aggiungere 'sudo ' ai comandi per ottenere i privilegi di root. Ti mostrerò l'installazione passo passo di Vsftpd su un server Ubuntu 16.04 (Xenial Xerus).

Installa Vsftpd su Ubuntu 16.04

Passaggio 1. Innanzitutto, assicurati che tutti i pacchetti di sistema siano aggiornati eseguendo il seguente apt-get comandi nel terminale.

sudo apt-get update
sudo apt-get upgrade

Passaggio 2. Installazione di VSFTPD.

Per installare VSFTPD, esegui il seguente comando dal tuo Terminale:

apt-get install vsftpd

Passaggio 3. Configura VSFTPD.

Dopo che è stato installato correttamente, andiamo avanti e configuriamo:

### 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

Salva e chiudi il file. Riavvia il servizio vsftpd per rendere effettive le modifiche:

sudo systemctl restart vsftpd
sudo systemctl enable vsftpd

Verifica se il servizio vsftpd è in esecuzione o non utilizza il comando:

sudo systemctl status vsftpd

Output di esempio:

 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.

Congratulazioni! Hai installato con successo vsftpd. Grazie per aver utilizzato questo tutorial per l'installazione di vsftpd nel sistema Ubuntu 16.04 (Xenial Xerus). Per ulteriore aiuto o informazioni utili, ti consigliamo di controllare il web ufficiale di vsftpd sito.


Ubuntu
  1. Come installare un server FTP su Ubuntu con vsftpd

  2. Come installare ProFTPD su Ubuntu 15.04

  3. Installa VSFTPD su Ubuntu 16.04

  4. Come installare un server FTP su Ubuntu 20.04

  5. Come installare il server FTP su Ubuntu 20.04

Come installare Vsftpd su Ubuntu 18.04 LTS

Come installare Go in Ubuntu 20.04

Come installare un server FTP?

Come installare Vai su Ubuntu 22.04

Come installare il server FTP su Ubuntu?

Come installare FTP su Ubuntu 18.04?