install vsftpd

FreeBSD Installation tips

install vsftpd

Postby stephen » Sun Apr 18, 2010 8:10 am

To Install vsftpd on a FreeBSD system

cd /usr/ports/ftp/vsftpd
make config
tick the RC_NG Install RC_NG script

make install


vi /usr/local/etc/vsftpd.conf
write_enable=YES
anonymous_enable=NO
local_enable=YES
listen=YES
background=YES

make clean

add vsftpd_enable="YES" to /etc/rc.conf
vi /etc/rc.conf
#
vsftpd_enable="YES"


If vsftpd daemon fails to start
1. check That this file exists /usr/local/etc/rc.d/vsftpd
2. check that when you type /usr/local/etc/rc.d/vsftpd start
you do not get an error eg
# /usr/local/etc/rc.d/vsftpd start
vsftpdStarting vsftpd ...
/usr/local/etc/rc.d/vsftpd: /usr/local/sbin/vsftpd: not found
#
3. If you get error /usr/local/sbin/vsftpd: not found
then
# ln -s /usr/local/libexec/vsftpd /usr/local/sbin/vsftpd
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to FreeBSD

Who is online

Users browsing this forum: No registered users and 4 guests

cron