Configure FTP server on Centos 7

ftp_made_simple-main (1)

FTP is an acronym for File Transfer Protocol. As the name suggests, FTP is used to transfer files between computers on a network. You can use FTP to exchange files between computer accounts, transfer files between an account and a desktop computer, or access online software archives. Keep in mind, however, that many FTP sites are heavily used and require several attempts before connecting.

Scenario :

FTP Server name – (

FTP Client Software – Filezilla on windows system.

Configuration : Install vsftpd to configure FTP Server

Step 1 : Install Vsftpd packages to configure the server.

[#] yum -y install vsftpd


Step 2 : Now open the configuration file of vsftd.

[#] vi /etc/vsftpd/vsftpd.conf


go to line no. 12 and make changes


Now go to line number 82 and 83 & uncomment (allow ascii mode)


Now go to line no. 100, 101 and uncomment (enable chroot)


Now go to line 103 and uncomment ( specify chroot list )


go to line 109 and uncomment


Now go to line 114 and uncomment


Now go to line 123 and change ( turn to OFF if it’s not need )


Now add follows to the end & specify root directory ( if don’t specify, users’ home directory become FTP home directory)
Now save the vsftpd configuration file.
Step 3 : Now add users you allow to move over their home directory.
[#] vi /etc/vsftpd/chroot_list
Step 4 : Now restart the vsftpd services
[#] systemctl start vsftpd
[#] systemctl enable vsftpd
[#] systemctl restart vsftpd
Here basic ftp server configuration is completed and now we have to check the configuration with the client. We use Filezilla as a client software on the windows system.
Step 5 : Now open the filezilla and fill the server credentials to list the directories.
Client is Windows System.
Now it is possible to transfer file on server using filezilla client.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s