Install FTP Server on Linux Debian/Ubuntu
#FTP #Linux #ProFTPD
Full steps can be found at https://i12bretro.github.io/tutorials/0611.html
--------------------------------------------------------------------
Installing the FTP Server
--------------------------------------------------------------------
01. Log into the Linux device
02. Run the following commands in terminal
# update software repositories
sudo apt update
# install available software updates
sudo apt upgrade
# install proftpd
sudo apt install proftpd -y
# start 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
--------------------------------------------------------------------
01. Download a FTP client, in this tutorial we'll be using FileZilla FTP Client https://filezilla-project.org/download.php
02. Install FileZilla FTP Client
03. Input the Linux devices IP address or DNS name and the Linux user's username and password ≫ Click Quickconnect
04. Click the / at the top of the right file tree to get to the rootfs
05. Navigate to /var/www
06. Create a test file or folder
07. 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
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro