How to Configure an FTP in Debian
FTP (File Transfer Protocol) is a way of sharing files over a network. Set up a computer running the Debian Linux operating system an FTP server using the "ProFTPd" software in the software repository. Configure ProFTPd to allow only users with accounts to access the FTP server, allow anonymous access, or restrict users to their home directory or another directory of your choosing.
Instructions
-
-
1
Access the Terminal program is found under the "Accessories" sub-menu. Open a Terminal sub-window.
-
2
Type the command "su" to become the root user. Type the root password when prompted.
-
-
3
Type the command "apt-get install proftpd" to install the ProFTPd server software.
-
4
Choose "standalone" when prompted during the installation process.
-
5
Type the command "/etc/init.d/proftpd stop" to stop the FTP server.
-
6
Open the "/etc/proftpd.conf" file in your preferred text editor.
-
7
Add the line "DefaultRoot ~" to restrict users to the contents of their home directory. Choose a different directory, if you wish, by typing "DefaultRoot /dir" and replacing "dir" with the directory you want to restrict users to.
-
8
Uncomment the lines between "<Anonymous ~ftp>" and "</Anonymous>" to allow anonymous access.
-
9
Change the "ServerName" option to the host name of your computer, if you prefer.
-
10
Save and close the "/etc/proftpd.conf" file.
-
11
Type "/etc/init.d/proftpd start" to restart the FTP server.
-
1