OPERATING SYSTEMSOS Linux

EASY FTP/FTPS Server for Ubuntu/Linux | VSFTPD Full Guide | Quick Setup

Get an FTP server on Ubuntu or Debian-based Operating systems. This video shows you everything from setting up vsftpd, creating user accounts, permissions, as well as testing and using your new FTP/FTPS server.

View guide as text & Get commands for easy copy & paste: https://hub.tcno.co/linux/debian/vsftpd/

Commands:
Installing:
sudo apt update
sudo apt install vsftpd

Configuring:
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.orig
sudo ufw status
sudo ufw allow 20/tcp
sudo ufw allow 21/tcp
sudo ufw allow 990/tcp
sudo ufw allow 40000:50000/tcp
sudo ufw status

Creating user:
sudo adduser tcnoftp
sudo mkdir /home/tcnoftp/ftp
sudo chown nobody:nogroup /home/tcnoftp/ftp
sudo chmod a-w /home/tcnoftp/ftp
sudo ls -la /home/tcnoftp/ftp
sudo mkdir /home/tcnoftp/ftp/files
sudo chown tcnoftp:tcnoftp /home/tcnoftp/ftp/files
sudo ls -la /home/tcnoftp/ftp

Creating a test file:
echo “This is a test file” | sudo tee /home/tcnoftp/ftp/files/test.txt
sudo nano /etc/vsvftpd.conf
echo “tcnoftp” | sudo tee -a /etc/vsvftpd.userlist
cat /etc/vsftpd.userlist
sudo systemctl restart vsftpd

Creating SSL cert for Enabling FTPS:
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 /etc/ssl/private/vsftpd.pem -keyout /etc/ssl/privavte/vsftpd.pem
sudo nano /etc/vsftpd.conf
sudo systemctl restart vsftpd

Securing FTP user:
sudo nano /bin/ftponly
sudo chmod a+x /bin/ftponly
sudo nano /etc/shells
sudo usermod tcnoftp -s /bin/ftponly

Timestamps:
0:00 – Intro/Explanation
0:20 – Installing vsftpd
0:30 – Preparing vsftpd
1:20 – Create FTP user
2:59 – Creating a test file to verify access
3:18 – Configuring vsftpd
5:11 – Testing vsftpd server
5:40 – Enabling FTPS
7:50 – Securing FTP user

#vsftpd #FTP #Linux
—————————–
💸 Found this useful? Help me make more! Support me by becoming a member: https://youtube.com/channel/UCkih2oVTbXPEpVwE-U7kmHw/join
—————————–
💸 Support me on Patreon: https://patreon.com/TroubleChute
💸 Direct donations via Ko-Fi: https://ko-fi.com/TCNOco
💬 Discuss the video & Suggest (Discord): https://s.tcno.co/Discord
👉 Game guides & Simple tips: https://YouTube.com/TroubleChuteBasics
🌐 Website: https://tcno.co
📧 Need voiceovers done? Business query? Contact my business email: TroubleChute (at) tcno.co
—————————–
🎨 My Themes & Windows Skins: https://hub.tcno.co/faq/my-windows/
👨‍💻 Software I use: https://hub.tcno.co/faq/my-software/
➡️ My Setup: https://hub.tcno.co/faq/my-hardware/
🖥️ My Current Hardware:
Intel i9-13900k – https://amzn.to/42xQuI1
GIGABYTE Z790 AORUS Master – https://amzn.to/3nHuBHx
G.Skill RipJaws 2x(2x32G) [128GB] – https://amzn.to/42cilxN
Corsair H150i 360mm AIO – https://amzn.to/42cznvP
MSI 3080Ti Gaming X Trio – https://amzn.to/3pdnLdb
Corsair 1000W RM1000i – https://amzn.to/42gOTGY
Corsair MP600 PRO XT 2TB – https://amzn.to/3NSvwzx
🎙️ My Current Mic/Recording Gear:
Shure SM7B – https://amzn.to/3nDGYo1
Audient iD14 – https://amzn.to/3pgf2XK
dbx 286s – https://amzn.to/3VNaq7O
Triton Audio FetHead – https://amzn.to/3pdjIgZ

Everything in this video is my personal opinion and experience and should not be considered professional advice. Always do your own research and ensure what you’re doing is safe.

source

ubuntu

One thought on “EASY FTP/FTPS Server for Ubuntu/Linux | VSFTPD Full Guide | Quick Setup

Comments are closed.