How To Download And Install VSFTPD
Most Linux software products are available in a precompiled package format. Downloading and installing packages isn't hard.
When searching for the file, remember that the VSFTPD packages' filename usually starts with the word vsftpd followed by a version number, as in vsftpd-1.2.1-5.i386.rpm for Redhat/Fedora or vsftpd_2.0.4-0ubuntu4_i386.deb for Ubuntu.
You can search for rpm in http://rpmfind.net/linux/RPM/
How To Get VSFTPD Started
With Fedora, Redhat, Ubunbtu and Debian You can start, stop, or restart VSFTPD after booting by using these commands:
[root@bigboy tmp]# /etc/init.d/vsftpd start
[root@bigboy tmp]# /etc/init.d/vsftpd stop
[root@bigboy tmp]# /etc/init.d/vsftpd restart
With Redhat / Fedora you can configure VSFTPD to start at boot you can use the chkconfig command.
[root@bigboy tmp]# chkconfig vsftpd on
With Ubuntu / Debian the sysv-rc-conf command can be used like this:
root@u-bigboy:/tmp# sysv-rc-conf on
Note: In RedHat Linux version 8.0 and earlier, VSFTPD operation is controlled by the xinetd process. So to Start on Red hat Linux 9 you can type the command
root@u-bigboy:/tmp# service vsftpd start
This will start the server on the PC. To addusers you can give commands
root@u-bigboy:/tmp# useradd test
root@u-bigboy:/tmp# passwd test
Enter the password:test123
Confirm password : test123
So you can now logon with username: test and password: test123.
Test if server is runnnig or not
1) You can always test whether the VSFTPD process is running by using the netstat -a command which lists all the TCP and UDP ports on which the server is listening for traffic. This example shows the expected output.
[root@bigboy root]# netstat -a | grep ftp
tcp 0 0 *:ftp *:* LISTEN
[root@bigboy root]#
If VSFTPD wasn't running, there would be no output at all.
2) You can actually logon to ur server and verify like this
root@u-bigboy:/tmp# ftp localhost
>>> give username and password
>>> if it is successful ur server is running perfectly fine...
Good Sites :
CCNA info
CCNA tutorials
Visit my profile to view other tutorials.
Monday, November 19, 2007
Subscribe to:
Posts (Atom)