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
(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