Free Shipping

Secure Payment

easy returns

24/7 support

  • Home
  • Blog
  • Beginners guide to FTP & SFTP Server Configuration

Beginners guide to FTP & SFTP Server Configuration

 July 9  | 0 Comments

Through this blog we will be discussing about FTP & SFTP server configuration on Linux Server.

So what is FTP?s://

File Transfer Protocol (FTP) is a standard protocol used to transfer computer files between client and server on a computer network.

FTP – File transfer protocol is used to transfer files from one host to another over TCP. FTP is a secure transmission medium and through this blog we will configure FTP server on Centos Linux.

Note: Before configuring FTP server, you require a sudo user who has root privileges. Perform all the steps through root only.

Prefer root to configure ftp or vsftpd server.

Configuring FTP Server on Centos 6 Linux

Step 1. Start with installing vsftpd package:

yum install vsftpd -y


Step 2. Install ftp packages:

Yum install ftp* -y


Step 3. Open  /etc/vsftpd/vsftpd.conf file to configure ftp server:

vi /etc/vsftpd/vsftpd.conf


Update all the properties accordingly to below lines:

chroot_local_user=YES  #(this property used to limit the users to their home directories.)


Next, find these properties and Uncomment the below lines:



Step 4. Next, create a user for accessing FTP server.

useradd  acd


Provide password to this user.

passwd acd


Step 5. Start vsftpd service by using the below command.

service vsftpd start
service vsftpd restart


Now type the below command to start FTP server service automatically at startup:

chkconfig vsftpd on

Step 6: Disable firewall ( Iptables )

service iptables stop


chkconfig iptables off


Step 7: Move to pub directory to upload files:

cd /var/ftp/pub


Now put some files to pub directory so one can access that files.

mkdir acadgild

Vi prateek

Vi kiran

Refer to the screenshot given below:


Now open FTP path (ftp://ftp-server-IP or ftp://server_name/) in remote machine’s browser. It will ask for Authentication. After that you can see the created files list.





FTP Server is now configured in Linux Server.