How do I set up an FTP server and an FTP user on my Lightsail instance?

I want to set up an FTP server and FTP user on my Lightsail instance running Amazon Linux 2, CentOS, Ubuntu or Debian. How can I do this? Resolution Note:¬†FTP transmits all data and passwords as plain text. SFTP is a more secure way to connect to your instance and transmit data. For information on…