How to install an FTP Server on Ubuntu 22.04 with VSFTPD
In this video I will show you how to install VSFTPD to Setup FTP Server on Ubuntu 22.04. FTP is one of the oldest Internet protocols that is still widely used and is a standard protocol in TCP/IP.
Get Contabo VPS
https://tinyurl.com/4dv3xsxw
Get DigitalOcean VPS
https://zacs-tech.com/go/digitalocean/
Register domain name
https://tinyurl.com/y8hz9seu
Get the training and certification you need! Linux Foundation, IT training
https://tinyurl.com/3pwv3czu
Some of the commands
sudo chown nobody:nogroup /home/username/ftp
sudo chmod a-w /home/username/ftp
sudo mkdir /home/username/ftp/upload
sudo chown user:user /home/user/ftp/upload
echo “My FTP Server” | sudo tee /home/user/ftp/upload/demo.txt
user_sub_token=$USER
local_root=/home/$USER/ftp
userlist_enable=YES
userlist_file=/etc/vsftpd.userlist
userlist_deny=NO
echo “user” | sudo tee -a /etc/vsftpd.userlist
sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
“Disclosure: Some of the links in this video description may be affiliate links, which means I earn a commission if you make a purchase through the link. This comes at no additional cost to you and helps support this channel.
by ZacsTech
linux ftp server
dosent work xd
SO FAR i was able to create ftp server and connect however there is a bug with the folder because the client from FileZilla ins unable to list the folders
perfect video thank you really much!
It doesnt work after ssl certificate enable
my ftp sever is getting failed
So this create a FTP server with a private dir for every user, but if I simply want to access something else on the Ubuntu server with a user that has admin/sudo power, for example to upload a website into apache2 folder's, can I with this ? Or it is simply a FTP server that is used for storage distribution
EDIT: I added my default user in the userlist (Didn't create a new one) and I created a FTP folder him because otherwise I was getting this error
Error: GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received.
Error: Could not read from socket: ECONNABORTED – Connection aborted
Error: Could not connect to server
But this user can't go anywhere else than his ftp folder, it is an admin, he have sudo perm and all. I simply want to be able to access my website files located in the apache's folders what should I do ?
EDIT2: I used mount
mkdir /home/user2/ftp/www
chown user2:user2 /home/user2/ftp/www
mount –bind /var/www/html/ /home/user2/ftp/www
it is not connecting with public IP the port is open
thx my guy.. 🙂
helped alot thx mate
how to check demo file from windows?
You forgot to put this line in the descriptions, btw, Thanks you a lot!
sudo ufw allow from any to any port 20,21,10000:10100 proto tcp
Oh my god it worked first try. Thank you
thank you so much
hello, i have a question? How do I change the password (too weak) of the user I created?
Solid base, had to adapt a bit for my usecase
Hey, great video, quick question on resiliency, would you deploy this on a cluster or would you run in active passive mode with 2nd VM in paired region (Azure)
Good, but some more explanation can be added.
I follow you every step till filezilla but when i click on quick connect .it not works.i use hotspots for internet conection there is a problem in that?
thx
The timing for this video was perfect, because we are using vsftpd in class, and I didn't understood half of it, now with your explanations and your calm music, I think it makes more sense to me now.
And other thing, why do you use the key and the certificate both in the same file? And have you or can you upload about how to make virtual users in vsftpd? I will appreciate it 😅😊