Skip to content

Instantly share code, notes, and snippets.

@coder4web
Last active August 12, 2016 06:39
Show Gist options
  • Save coder4web/300f46878f6d3adee05d to your computer and use it in GitHub Desktop.
Save coder4web/300f46878f6d3adee05d to your computer and use it in GitHub Desktop.
# ------------------------
# debian
# ------------------------
apt-cache policy proftpd-basic
apt-get install proftpd
proftpd --version
proftpd -vv
nano /etc/proftpd/proftpd.conf
Include /etc/proftpd/conf.d/
# ------------------------
# centos
# ------------------------
yum list proftpd
yum install proftpd proftpd-utils
nano /etc/proftpd.conf
Include /etc/proftpd/conf.d/
sudo mkdir -p /etc/proftpd/conf.d
# ------------------------
# conf
# ------------------------
ln -s /srv/src/avd/avd-conf/services/proftpd/custom.conf /etc/proftpd/conf.d/
firewall-cmd --zone=public --add-service=ftp
firewall-cmd --zone=public --permanent --add-service=ftp
systemctl restart firewalld.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment