Skip to content

Instantly share code, notes, and snippets.

@UltimateByte
Last active November 17, 2016 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UltimateByte/229c17b3c48ca10080c5e56b5513e476 to your computer and use it in GitHub Desktop.
Save UltimateByte/229c17b3c48ca10080c5e56b5513e476 to your computer and use it in GitHub Desktop.
# First off, you'd better use SFTP that comes with the SSH protocol on default port 22.
# > Nothing to configure to get it working as long as you got an SSH server.
# If you wish to install an FTP server anyways, then:
# Uninstall any other FTP
apt-get remove --purge your_previous_ftp_server
# Update your package list and programs and install proftpd
apt-get update && apt-get upgrade
apt-get install proftpd
(standalone)
# Edit your proftpd config file
nano /etc/proftpd/proftpd.conf
#proftpd.conf#
# Change those values
UseIPv6 off
ShowSymLinks off
DefaultRoot ~
# Add this at the end
# Allow transfer resume
AllowStoreRestart on
AllowRetrieveRestart on
#End of proftpd.conf#
# Then restart proftpd
service proftpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment