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 – www.server.world (192.168.0.101)

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

1

Step 2 : Now open the configuration file of vsftd.

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

1.PNG

go to line no. 12 and make changes

1.PNG

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

1.PNG

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

1.PNG

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

1.PNG

go to line 109 and uncomment

1.PNG

Now go to line 114 and uncomment

1.PNG

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

1.PNG

Now add follows to the end & specify root directory ( if don’t specify, users’ home directory become FTP home directory)
1.PNG
Now save the vsftpd configuration file.
Step 3 : Now add users you allow to move over their home directory.
[#] vi /etc/vsftpd/chroot_list
1.PNG
Step 4 : Now restart the vsftpd services
[#] systemctl start vsftpd
[#] systemctl enable vsftpd
[#] systemctl restart vsftpd
1.PNG
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.
1.PNG
Now it is possible to transfer file on server using filezilla client.

 

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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