Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

How to install vsftpd on FreeBSD

Michel Nadeau, 08-28-2009
vsftpd is a very light-weight, full-featured FTP server that can be installed and ready to use in only a couple of minutes. It's used by many huge FTP sites like RedHat, Debian, GNU, ISC and many more!

NOTE: you can use this tutorial to install vsftpd on almost any UNIX/Linux distribution, except for the step 4.

1. Installing vsftpd

Installing vsftpd is very simple. First, you need to download and extract it:

mkdir -p /usr/local/src
cd /usr/local/src
fetch ftp://vsftpd.beasts.org/users/cevans/vsftpd-2.2.0.tar.gz
tar xvfz vsftpd-2.2.0.tar.gz

Then, you're ready to compile it:

cd vsftpd-2.2.0
make

And then to install it:

make install

2. Configuration

vsftpd uses the /etc/vsftpd.conf configuration file. A good idea is to start with the default one:

cp vsftpd.conf /etc

Here's a complete reference guide to customize each options of vsftpd.conf:

http://vsftpd.beasts.org/vsftpd_conf.html

3. Start/stop vsftpd

To start vsftpd, simply run:

vsftpd

To stop it, you have to kill it:

killall vsftpd

4. Start vsftpd automatically on boot

To start vsftpd automatically on boot, simply create the /usr/local/etc/rc.d/vsftpd.sh file, change its mode to 755, and put this content in it:

#!/bin/sh

/usr/local/sbin/vsftpd &

Conclusion

vsftpd is faster than proftpd, easier to install and to configure. It's very secure, stable and flexible: try it and give me your opinion about it!

digitaldeath, 11-22-2009
Whay did you write "FreeBSD" in the title and then posted information about generic compiling?
FreeBSD ports are the natural way to compile and install automatically, solving dependencies, putting init and configuration scripts. Oh yeah, ports rock!
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions