Wednesday, August 31, 2011

VSFTPD installation and configuration under CentOS 5.6 64-bit

INSTALLATION
Execute the follow command to search available packets for you repository
yum search vsftp
This is the output.....
#Loaded plugins: fastestmirror
#Loading mirror speeds from cached hostfile
# * base: centos.fastbull.org
# * extras: centos.fastbull.org
# * updates: centos.fastbull.org
#================================ Matched: vsftp #================================
#vsftpd.x86_64 : vsftpd - Very Secure Ftp Daemon
So now we can correcly install it via:
yum install vsftpd

CONFIGURATION
Add a new user:
useradd -m example
give a password
passwd examplePassword

Now we can modify the vsftp configuration file...
/etc/vsftpd/vsftpd.conf
to allow or not the anonymous access and the other settings....

After we can start the vsftp deamon
/etc/init.d/vsftpd start
Every configuration file editing wants a restarts of the deamon...
/etc/init.d/vsftpd restart


USE
connect via ftp to your host and one of the availables system accounts.


Bye

No comments:

Post a Comment