Last active
August 12, 2016 06:39
-
-
Save coder4web/300f46878f6d3adee05d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------ | |
# 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