Installing Proftpd: File Transfer Server:
Download latest package form this link:
http://proftpd.github.com/
wget https://github.com/downloads/proftpd/proftpd.github.com/proftpd-1.3.4b.tar.gz
tar -zxvf proftpd-1.3.4b.tar.gz
cd proftpd-1.3.4b
./configuure
make
make install
cp /usr/src/proftpd-1.2.0pre10/sample-configurations/basic.conf /etc/proftpd.conf
Edit proftpd.conf file
Download latest package form this link:
http://proftpd.github.com/
wget https://github.com/downloads/proftpd/proftpd.github.com/proftpd-1.3.4b.tar.gz
tar -zxvf proftpd-1.3.4b.tar.gz
cd proftpd-1.3.4b
./configuure
make
make install
cp /usr/src/proftpd-1.2.0pre10/sample-configurations/basic.conf /etc/proftpd.conf
Edit proftpd.conf file
ServerName "ProFTPD Default Installation"# Port 21 is the standard FTP port. Port 21# Limit the maximum number of anonymous logins MaxClients 10
If you want everyone to be able to access the FTP server.ftpd: ALL
If you want to allow people from .somehost.com to access the FTP server.ftpd: .somehost.comIf you want to allow 199.14.55.4 to access the FTP server.ftpd: 199.14.55.4# Set the user and group under which the server will run. User username Group group_nameAdd user and group:
Create new user:
useradd -G group_name username
Change Password:
passwd username
< Enter new password>
Verify it:
id username
Add existing user:
usermod -a -G ftp tonyOnce that is all done, you can start ProFTPd by running: /usr/local/sbin/proftpd -c /etc/proftpd.confTo stop server:
To Verify:
ps -A | grep "proftpd"pkill proftpd