Installation and Configuration proftpd on CentOS 5.x

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

The default package, 5.6 CentOS comes with vsftpd installed and before installing proftpd, vsftpd is better to get the (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

To configure ". / Configure-sysconfdir = / etc" can occur one error if you have GCC compilerIs installed.

checking build system type ... i686-pc-linux-gnu
checking host system type ... i686-pc-linux-gnu
checking target system type ... i686-pc-linux-gnu
checking for gcc ... no
checking for cc ... no
checking for cl.exe ... no
configure: error: C compiler found no Acceptable 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. Running command line installation:

make

make install

4. Create files "proftpd" in "/ usr / sbin /" and "/ usr / local / sbin /".

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

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

nano / etc / init.d / proftpd

Ctrl + X & Y to exit and save changes.

6. Set the runlevel service "proftpd"

235 proftpd chkconfig-levels 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"We connect to FTP. On 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 occurs when starting service "Starting proftpd: - Fatal: Group: Unknown group 'nogroup' on line 30 of '/ etc / proftpd.conf' [FAILED]". Solving 8 point.

Installing & Setup proftpd Server - CentOS 5.6.

Installation and Configuration proftpd on CentOS 5.x

About the author

Stealth LP

Founder and editor Stealth SettingsIn 2006 date.
Experience on Linux operating systems (especially CentOS), Mac OS X, Windows XP> Windows 10 and WordPress (CMS).

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment is processed.