Dear Viewers - Now you can share your technical posts through this channel. Kindly write me for more details !!

FTP Server configuration in Linux

How to install FTP server -
(using yum server)
#Yum install vsftpd*
or (using rpm)
#rpm -ivh vsftpd*

How to allow FTP services to users -
#cd /etc/vsftpd
#vi ftpusers
(Remove # sign from users that we want to allow in this file)
 #vi userlist

Also make changes same as above (ftpusers) file

How to change home directory of FTP?
(#/var/ftp/pub - by default FTP directory)
#setsebool ftp_home_dir on
#vi /etc/passwd (make changes in this file)

How to start FTP services
#service vsftpd start/restart
#chkconfig vsftpd --list
#chkconfig vsftpd on

How to uninstall FTP package
 #Yum erase vsftpd*
or
#rpm -e vsftpd*

 ***Note: vsftpd is server and ftp is client

 
HackersGear © 2010| Designed by Patch