How to Install and configure FTP server in Redhat/Centos Linux?
Step 1: We will use below host name and IP address for our test machine to setup FTP server
Server IP: 192.168.0.9 /// Host Name: ftp.demo.com
Just edit file /etc/hosts
#vi /etc/hosts
and add the line on bottom and save
192.168.0.9 ftp.demo.com
Step 2: Install vsftpd (very secure FTP daemon) package.
#yum install vsftpd ftp xinetd
Configuring FTP server in Linux Centos
Step 3: Configure vsftpd package. We will edit /etc/vsftpd/vsftpd.conf.
#vi /etc/vsftpd/vsftpd.conf
anonymous_enable=YES
Change the line chroot_local_user=NO to chroot_local_user=YES.
This will permit local user as FTP account.
The local user directory will be the FTP directory.
Start FTP service once you do all the above edits.
#service vsftpd start
To enable this service at boot time
#chkconfig vsftpd on
Check Ftp command line. Create ftp account to do the testing.
#useradd ftp
#passwd ftp
now open command line of other computer and test
Watch video How to Install and configure FTP server in Redhat / Centos Linux online without registration, duration hours minute second in high quality. This video was added by user Phuong Nguyen 21 November 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,860 once and liked it 5 people.