Install FTP Server on Linux Debian/Ubuntu
i12bretro
#FTP #Linux #ProFTPD
Full steps can be found at https://i12bretro.github.io/tutorials/0611.html
Installing the FTP Server
- Log into the Linux device
- Run the following commands in terminal
update software repositories
sudo apt updateinstall available software updates
sudo apt upgradeinstall proftpd
sudo apt install proftpd -ystart proftpd service
sudo systemctl enable proftpd --now
Configuring the FTP Server
In this example we will be allowing FTP to the /var/www directory to alter web server files 01. Continue with the following commands # add current user to www-data group sudo usermod -aG www-data $USER # re-authenticate the user for the new group to take effect su $USER # list the users groups # www-data should be listed id # change owner of /var/www to the www-data group sudo chown -R www-data:www-data /var/www # change permissions recursively sudo chmod -R ug+rw /var/www
Testing the FTP Server
- Download a FTP client, in this tutorial we'll be using FileZilla FTP Client https://filezilla-project.org/download.php
- Install FileZilla FTP Client
- Input the Linux devices IP address or DNS name and the Linux user's username and password ≫ Click Quickconnect
- Click the / at the top of the right file tree to get to the rootfs
- Navigate to /var/www
- Create a test file or folder
- You now have FTP access to your Linux server using your standard Linux credentials
Documentation for ProFTPD: http://www.proftpd.org/docs/
Connect with me and others
Discord: https://discord.com/invite/EzenvmSHW8 Twitter: https://twitter.com/i12bretro ... https://www.youtube.com/watch?v=bsiw_3zxCxQ
14294185 Bytes