Linux: Simple FTP Server Setup Notes
Monday, 10 May 2010 20:52

Below are notes on setting up a ftp server on Debian GNU/Linux. This setup is very incomplete, and just gets the job done, so please try this at your own risk.

  • apt-get install proftpd-basic
    • install as standalone
  • /etc/init.d/proftpd stop
  • gedit /etc/proftpd/proftpd.conf
    • edit the below
    • 	# Use this to jail all users in their homes 
      	# DefaultRoot			~
      
    • to be
    • 	# Enable 1 directory for ftp download
      	DefaultRoot			/home/myuser/ftptestfiles myuser
      
  • /etc/init.d/proftpd start
  • try it!