Ubuntu Linux, ubuntu desktop, Linux operating system, ubuntu guide

ProFTPd with GUI Setup and Installation on RHEL 5

by on May.16, 2010, under RHEL5

ProFTPD is a FTP server. The ProFTPD server is a configurable GPL-licensed FTP server software for Linux and Unix based operating systems.

ProFTPD uses only one configuration file “/etc/proftpd.conf”. The ProFTPD config file is very similar to Apache’s config file. It can be used to configure multiple virtual FTP servers easily, and has chroot capabilities depending on the underlying filesystem. It can run as standalone server or inetd service. It is able to work over IPv6.

Next, you will need to download ProFTPd.

Then run the below commands

# tar -xvjf proftpd-1.3.3.tar.bz2

# cd proftpd-1.3.3

# ./configure

# make

# make install

Go through the INSTALL file for more info.

ProFTPD GUI tool Installation

Using the ProFTPD graphical tool we can easily manage and administrate the ftp server.

For Download the GPROFTPD

After the download run the below command for install

#rpm -ivh gadmin-proftpd-0.3.5-0.1.rhfc9.nr.i386.rpm

Once that is done, open it up with your favorite text editor and you will probably want to edit the following or open the GUI interface in application>>Internet>>Gproftpd

ServerName                      "ProFTPD Default Installation"

This is what is displayed when the user attempts to log into the FTP server. You can change this to ” FTP Server” etc..

# Port 21 is the standard FTP port.

Port                            21

If you want to change which port the FTP server runs on, this is the place to do it.

# Limit the maximum number of anonymous logins

MaxClients                    10

Again, editing this might be a good idea especially if you are on a 56k, having 10 people downloading off you at once might not lead to a pleasant afternoon.

Once you have edited /etc/proftpd.conf, save and exit the file. Now you will need to put a couple of lines into /etc/hosts.allow if you want to grant people access to the FTP server. I am assuming you have “ALL: ALL” in /etc/hosts.deny and refuse outside connections to all your services like all the little good boys and girls do. In /etc/hosts.allow you will need to add one of the following lines:

If you want everyone to be able to access the FTP server.

ftpd: ALL

If you want to allow people from ubuntulinux.co.in to access the FTP server.

ftpd: ubuntulinux.co.in

If you want to allow 192.168.0.4 to access the FTP server.

ftpd: 192.168.0.4

Once that is all done, you can start ProFTPd by running:

/usr/local/sbin/proftpd -c /etc/proftpd.conf

That should send the ProFTPd daemon into the background without any errors. Now for the ultimate test, try and connect to the server. Remember if you changed the port to ftp to the correct port or your connection will be refused. You should see something like the following:

Connected to ftp.ubuntulinux.co.in
220 ProFTPD 1.2.0pre10 Server (FTP Server) [ftp.ubuntulinux.co.in]
Name (ubuntulinux.co.in:lyte):

Now you will probably want ProFTPd to start at boot time, to do this you can add the following line that executes the daemon into your boot scripts or add the add the startup program using the menu system>>preference>> More Preferences > Sessions

/usr/local/sbin/proftpd -c /etc/proftpd.conf
:,

8 Comments for this entry

  • Anish

    i know i’m a little off topic, but i just wanted to say i love the layout of your blog. i’m new to the blogegine platform, so any tips on getting my blog looking good would be appreciated.

  • wilson

    Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this.

  • mark

    Oh my goodness!  Youre so right!  I really dont think anyones put it that way before!  You must be an expert on this because you just made it so easy to understand, made me want to learn more about it!  Do you, like, study this subject because you seem to be so in tune with the issue?  Keep it up, man.  Youve got a great mind for it!

  • Linux idiot

    This is my second visit to this blog. We are starting a new initiative in the same category as this blog. Your blog provided us with important information to work on. You have done a marvellous job.

  • george

    Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

  • Jhon

    Aw, this was a really quality post. In theory I’d like to write like this also – taking time and real effort to make a good article… but what can I say… I procrastinate alot and never seem to get anything done… Regards…

  • online

    i wanted can’t this be achieved by adding another FTP Account to cpanel? It would be easier since it’s already there, and it has gui already.

  • bloodyhellcentosuser

    centos is so fucked off on getting user’s understand how to JUST GET FTP WORKS. and you made it, hell you should be a guru that beat CentOS stupidity..

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!