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, duration hours minute second in high quality that is uploaded to the channel Phuong Nguyen 21 November 2016. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,860 times and liked it 5 visitors.