How to Install and Configure ProFTPD on Ubuntu 14.04 LTS

Step 1: Install ProFTPD

Warning: FTP data is insecure; traffic is not encrypted, and all transmissions are clear text (including usernames, passwords, commands, and data). Consider securing your FTP connection with SSL/TLS.

 

First, you’ll follow a simple best practice: ensuring the list of available packages is up to date before installing anything new.

apt-get update


Then let’s install ProFTPD and any required packages:

apt-get -y install proftpd


During the install process you’ll be prompted with the following screen:

How to Install ProFTPD on Ubuntu 12.04 LTS


Select standalone and then Ok to finish the installation.

Step 2: Configure ProFTPD


Let’s edit the configuration file for ProFTPD:

vim /etc/proftpd/proftpd.conf


Change the ServerName to the hostname of your server. In the case below,ftp.thebestfakedomainnameintheworld.com is an example:


ServerName “ftp.thebestfakedomainnameintheworld.com”


To limit users to their home directory uncomment the line that says DefaultRoot:

# Use this to jail all users in their homes
DefaultRoot ~


Exit and save the file with the command :wq .

Restart the ProFTPD service:

service proftpd restart


Then set the ProFTPD service to start at boot:

update-rc.d proftpd defaults

  • 78 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

How to List Compiled PHP Modules from Command Line

Pre-Flight Check These instructions are intended specifically for listing compiled PHP modules...

How to Install or Uninstall PECL Extensions

Pre-Flight Check These instructions are intended specifically for installing or uninstalling...

How to Install the MongoDB PHP Driver (Extension) on CentOS 6

Step 1: Setup Environment, Install PHP Extension & Application Repository (PEAR) As a matter...

How to Add a User and Grant Root Privileges on CentOS 6.5

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...

How to Add a User and Grant Root Privileges on Ubuntu 14.04

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...