Skip to content

FTP

1 Installation

1. Install EPEL repository

yum install -y epel-release

2. Install Pure-FTPd

yum -y install pure-ftpd

3. Modify default configuration

# Default config path: /etc/pure-ftpd/pure-ftpd.conf
# Find and update these parameters:

# Path to PureDB user database
PureDB /etc/pure-ftpd/pureftpd.pdb
# Enable logging
VerboseLog yes
# Deny anonymous login
NoAnonymous yes
# Enable passive port range (adjust as needed)
PassivePortRange 39000 40000

4. Start Pure-FTPd service

systemctl start pure-ftpd.service

5. Check service status

systemctl status pure-ftpd.service

1. Install Pure-FTPd

sudo apt-get install pure-ftpd

2. Modify default configuration

# Debian/Ubuntu use individual files under /etc/pure-ftpd/conf

# Set PureDB path
echo '/etc/pure-ftpd/pureftpd.pdb' > /etc/pure-ftpd/conf/PureDB
# Enable verbose logging
echo yes > /etc/pure-ftpd/conf/VerboseLog
# Deny anonymous access
echo yes > /etc/pure-ftpd/conf/NoAnonymous
# Set passive port range
echo '39000 40000' > /etc/pure-ftpd/conf/PassivePortRange

3. Create database symlink

ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/50puredb

4. Start Pure-FTPd service

sudo systemctl start pure-ftpd.service

5. Check service status

sudo systemctl status pure-ftpd.service

2 Troubleshooting

  • If Pure-FTPd was already installed, you can sync it to 1Panel using the sync button in the UI. Passwords cannot be synced and must be edited manually.
  • If you cannot connect properly, check:
    • Whether the firewall is running and allows the Pure-FTPd port (default 21). Check with: netstat -tunlp | grep pure-ftpd or cat /etc/pure-ftpd/pure-ftpd.conf | grep Bind
    • Whether passive ports are allowed in the firewall. Check with: cat /etc/pure-ftpd/pure-ftpd.conf | grep PassivePortRange or cat /etc/pure-ftpd/conf/PassivePortRange
    • Whether SELinux is enabled

Take 1Panel Further

Running 1Panel OSS? Pro Edition adds WAF protection, unlimited AI agents, multi-node management, and priority support — starting at $80/year.

Compare OSS vs Pro → Start 30-day free trial →