ProFTPD Installation and Configuration on CentOS 5.x

this For the FTP server most widely used, especially by those who use cPanel/WHM.

In the package default, CentOS 5.6 comes with vsftpd installed, and before installing ProFTPD, it is good to remove the vsftpd (vsftpd.i386 - for our configuration).

Uninstall/ Remove vsftpd:

1. See list of installed packages * ftp *:

yum list installed | grep ftp
image

2. Remove vsftpd.i386.

yum remove vsftpd.i386

Install ProFTPD on CentOS 5.x

1. Download the archive proftpd:

wget --passive-ftp ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3e.tar.gz

2. Unzip, enter the folder proftdd * and follow the installation and configuration:

tar xvfz proftpd-1.3.3e.tar.gz

cd proftpd-1.3.3e

./configure --sysconfdir=/etc

When configuring “./configure –sysconfdir = / etc”, a error if you have GCC compilerIs installed.

checking build system type… i686-pc-linux- wildebeest
checking host system type… i686-pc-linux- wildebeest
checking target system type… i686-pc-linux- wildebeest
checking for gcc ... no
checking for cc ... no
checking for cl.exe…no
configure: error: no acceptable C compiler found in $ PATH
See `config.log 'for more details.

Install gcc si gcc-c + + using the command line:

yum install gcc gcc-c++

After the gcc and gcc-c + + has been installed, continue installing proftpd, resuming command in points 2.

./configure --sysconfdir=/etc

3. Execution of command lines for installation:

make

make install

4. Create the “proftpd” files in “/ usr / sbin /” and “/ usr / local / sbin /”.

ln -s /usr/local/sbin/proftpd /usr/sbin/proftpd

5. Cream and copy the file proftpd.txt  in "/etc/init.d/proftpd".

nano /etc/init.d/proftpd

Ctrl+X & Y to exit and save changes.

6. We set the running level of the “proftpd” service

chkconfig --levels 235 proftpd on

7. Set the file / Etc / init.d / proftpd be executed and run the application.

chmod u+x /etc/init.d/proftpd

8. Edit nano / Etc / proftpd.conf.

nano /etc/proftpd.conf

Below the line "DefaultServer on"Add line"RootLogin on“. This line allows us to use the user "root”To connect to FTP. On the line "GROUP"Replace"nogroup" with "nobody".

proftpd config

9. Start the FTP server:

/etc/init.d/proftpd start

[Root @ server proftpd-1.3.3e] # / etc / init.d / proftpd start
Starting proftpd: [OK]
[Root @ server proftpd-1.3.3e] #

Alterntiva order to start service proftpd (my favorite)

service proftpd start

Possible errors during installation and configirarii:

1. Lack compiler's gcc si gcc-c + +. Resolve the instructions in Section 2.

2. Error starting service "Starting proftpd: - Fatal: Group: Unknown group 'nogroup' on line 30 of '/etc/proftpd.conf' [FAILED]“. Solution to point 8.

Installing & Setup ProFTPD Server - CentOS 5.6.

Founder and editor Stealth Settings, from 2006 to the present. Experience on operating systems Linux (in particular CentOS), Mac OS X, Windows XP> Windows 10 si WordPress (CMS).

How to » Linux » ProFTPD Installation and Configuration on CentOS 5.x
Leave a Comment