ProFTPD and VSFTPD Server Installation
Vsftpd installation and simple configuration - CentOS 5.2
1. Install the package via yum.
$ yum install vsftpd.i386
2. The default configuration is located at /etc/vsftpd/vsftpd.conf, edit and apply configurations below.
# Allow anonymous FTP?
anonymous_enable=NO
# Uncomment this to allow local users to log in.
local_enable=YES
# Uncomment this to enable any form of FTP write command.
write_enable=YES
# Add this line to jail users on their home directories.
chroot_local_user=YES
3. Start VSFTPD
$ /etc/init.d/vsftpd start
Proftpd Vsftpd installation and simple configuration - CentOS 5.2
1. Login as root, download and install the package:
$ wget http://software.virtualmin.com/gpl/centos/5.2/i386/proftpd-1.3.0a-3.el4.i386.rpm
$ rpm -ivh proftpd-1.2.10-1.fc1.i386.rpm
2. The default configuration can be found at /etc/proftpd.conf, edit and apply configurations below.
ServerType standalone
DefaultServer on
# Use this to excude users from the chroot
DefaultRoot ~ !adm
# Use pam to authenticate (default) and be authoritative
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
MaxInstances 20
3. To start the daemon, run:
$ /etc/init.d/proftpd start
Other daemon commands:
$ /etc/init.d/proftpd stop
$ /etc/init.d/proftpd reload
$ /etc/init.d/proftpd restart
4. To automatically start ProFTPD during bootup.
$ chkconfig --level 3 proftpd on
1. Install the package via yum.
$ yum install vsftpd.i386
2. The default configuration is located at /etc/vsftpd/vsftpd.conf, edit and apply configurations below.
# Allow anonymous FTP?
anonymous_enable=NO
# Uncomment this to allow local users to log in.
local_enable=YES
# Uncomment this to enable any form of FTP write command.
write_enable=YES
# Add this line to jail users on their home directories.
chroot_local_user=YES
3. Start VSFTPD
$ /etc/init.d/vsftpd start
Proftpd Vsftpd installation and simple configuration - CentOS 5.2
1. Login as root, download and install the package:
$ wget http://software.virtualmin.com/gpl/centos/5.2/i386/proftpd-1.3.0a-3.el4.i386.rpm
$ rpm -ivh proftpd-1.2.10-1.fc1.i386.rpm
2. The default configuration can be found at /etc/proftpd.conf, edit and apply configurations below.
ServerType standalone
DefaultServer on
# Use this to excude users from the chroot
DefaultRoot ~ !adm
# Use pam to authenticate (default) and be authoritative
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
MaxInstances 20
3. To start the daemon, run:
$ /etc/init.d/proftpd start
Other daemon commands:
$ /etc/init.d/proftpd stop
$ /etc/init.d/proftpd reload
$ /etc/init.d/proftpd restart
4. To automatically start ProFTPD during bootup.
$ chkconfig --level 3 proftpd on
Comments
Post a Comment