• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install and Configure ProFTPD Server in Ubuntu/Debian

{{postValue.id}}

To Install and Configure ProFTPD Server in Ubuntu/Debian

FTP server allows the user to create a FTP connection between the local computer and a web server. ProFTPD is free & open-source, released under the GPL license, which is a FTP server for Unix/Linux servers. It is easily configurable and very effective.

Installation of ProFTPD Server

First update the system packages using apt-get update command in terminal.


installation

Now install ProFTPD server by using the following command.


proftpd
During installation, choose the usage type for your ProFTPD server that fits your need.

usage

ProFTPD Server Configuration

Open the /etc/proftpd/proftpd.conf, by using your favorite editor.

user1@linuxhelp:~$ sudo vim /etc/proftpd/proftpd.conf

configuration

Change the content of the file as follows.

ServerName: Set default server name.
UseIPV6: If no need switch it to " Off" .
DefaultRoot : Uncomment this line. (to restrict users with their home folders)
RequireValidShell: Uncomment this line and enable logging in for users by make it " On" .
AuthOrder: Uncomment the line. (to enable the usage of local passwords)
Port: The default port for the FTP server is 21. (We can also define any custom port)
SystemLog: The default log file path, you may change it if you want.

After making above changes save the file and press the “ ESC” key then write :wq! to save and quite.

Now using the below command restart the ProFTPD server.

user1@linuxhelp:~$ sudo service proftpd restart

A default “ proftpd” user created automatically during the above installation and set the password for proftpd user.

user1@linuxhelp:~$ sudo passwd proftpd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Now open the browser using the following addresses which asks for the user name and password.

ftp://youripaddress

OR

ftp://yourdomian.com

authenticaltion

Enter " proftpd" in the User Name and Password.

ftp_index

To Create ProFTPD Users

We are going to create a new user with the /var/www/ folder as the home folder, so we can access it easily.

Run the following command to create a FTP user.

user1@linuxhelp:~$ sudo useradd proftpduser 
user1@linuxhelp:~$ sudo passwd proftpduser
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Now change it’ s home folder to /var/www/ using the below command.

user1@linuxhelp:~$ sudo usermod -m -d /var/www/ proftpduser

While creating a new users in Linux, define the user home directory with useradd command.

Restart the ProFTPD server using the following.

user1@linuxhelp:~$ sudo service proftpd restart

Finally we can access it from the FTP server easily. (Use Filezilla or any other FTP client to access your FTP server)

Troubleshooting ProFTPD

By default, error messages will be stored in /var/log/proftpd/proftpd.log. User may check this file if the ProFTPD server installation is not working properly. Keep restarting the ProFTPD server until it works (in case if there were no other errors).

user1@linuxhelp:~ sudo vim /var/log/proftpd/proftpd.log

troubleshooting

Tags:
christian
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is .ftpaccess configuration in ProFTPD?

A

Here ".ftpaccess" configuration similar to Apache's ".htaccess" configuration as per directory.

Q

Can I able to use authenticate techniques you have used to create a password?

A

No, we can simply enter the passwd command it got created

Q

Why we don't need Anonymous directories in ProFTPD?

A

Here Anonymous FTP root directories do not require any specific directory structure, system binaries or other system files

Q

Where can I fetch the ProFTPD for MA? It is available for MAC?

A

Yes, ProFTPD available for MAC. You can install and download from the official page.

Q

It will support IPv6 configuration?

A

Yes, ProFTPD server will supports IPv6 in all distributions.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.