OPERATING SYSTEMSOS Linux

[How To] Configure FTP Server (VSFTPD) on Ubuntu 20.04 | Upload to a Web Server (2020) #3



Hi, in this video I will show you How To configure vsftpd server on Ubuntu 20 04 for Upload to a Web Server (Apache2).
You can be able to upload files to the document root on the Web Server.

📢 Follow me on Facebook ✅ : https://www.facebook.com/TechnIN
📢 Make sure to Subscribe, ✅ so you don’t Miss out on my future Videos 📽🎞 ▶ https://www.youtube.com/channel/UCWQAnj6I7VG25xo8B-1mI1g/?sub_confirmation=1 💯✅

👉 You can follow step by step the first and second videos for Install and Secure an FTP Server:
Install and configure FTP server 📽 🎞 ▶ https://youtu.be/1WVBC0KBOeE
Secure an FTP server 📽 🎞 ▶ https://youtu.be/N7hwrPiji3c

00:00 Introduction
00:50 Create FTP User
03:54 VSFTPD Server Configuration
05:14 Test FTP Connection

#FTP_Server
#FTP_Server_Ubuntu
#VSFTPD

For this tutorial, I am using Ubuntu server 20.04 and VSFTPD (Very Secure File Transfer Protocol Daemon) and Apache2 for Web Server .

** Create FTP User:
– sudo adduser ftpwebuser
– sudo usermod -d /var/www ftpwebuser
– sudo chown ftpwebuser:ftpwebuser /var/www/html

** VSFTPD Server Configuration :
– sudo vi /etc/vsftpd.conf
listen=NO
listen_ipv6=YES
anonymos_enable=NO
local_enable=YES
write_enable=YES
local_mask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
force_dot_files=YES
pasv_min_port=400000
pasv_max_port=500000

# Upload to home directory
#user_sub_token=$USER
#local_root=/home/$USER/ftp

#secure ftp server
ssl_enable=YES
rsa_cert_file=/etc/ssl/private/vsftpd.pem
rsa_private_key_file=/etc/ssl/private/vsftpd.pem
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_ciphers=HIGH

– sudo systemctl restart vsftpd.service

** Test FTP Connection
– We recommend FileZilla, which works on Windows, Mac and Linux : https://filezilla-project.org/

✍✍✍ Let me know what you think of this video in the comments ✍✍✍
📢 Make sure to Subscribe ✅ so you don’t Miss out on my future Videos 📽 🎞 ▶ https://www.youtube.com/channel/UCWQAnj6I7VG25xo8B-1mI1g/?sub_confirmation=1 💯✅

Thanks for watching 📽 🎞 !!!

source
ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *