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.

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:
—————————–
πŸ’Έ Support me on Patreon:
πŸ’Έ Direct donations via Ko-Fi:
πŸ’¬ Discuss the video & Suggest (Discord):
πŸ‘‰ Game guides & Simple tips:
🌐 Website:
πŸ“§ Need voiceovers done? Business query? Contact my business email: TroubleChute (at) tcno.co
—————————–
🎨 My Themes & Windows Skins:
πŸ‘¨β€πŸ’» Software I use:
➑️ My Setup:
πŸ–₯️ My Current Hardware:
Intel i9-13900k –
GIGABYTE Z790 AORUS Master –
G.Skill RipJaws 2x(2x32G) [128GB] –
Corsair H150i 360mm AIO –
MSI 3080Ti Gaming X Trio –
Corsair 1000W RM1000i –
Corsair MP600 PRO XT 2TB –
πŸŽ™οΈ My Current Mic/Recording Gear:
Shure SM7B –
Audient iD14 –
dbx 286s –
Triton Audio FetHead –

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.

[ad_2]

source

Related Articles

Leave a Reply

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

Back to top button