Ads Top

How to Install and Configure vsftpd on CentOS 7

Vsftpd [Very Secure File Transport Protocol Daemon] is a fast and secure file transfer service for linux/Unix.  Ftp server is used to transfer and exchange files between computers over network, In this article i will explain you to how to install and configure ftp server in Linux machine.

Update your server yum repository and install VSFTPD.

# yum check-update
# yum -y install vsftpd

Open VSFTPD configuration file and make changes as below.
# vim /etc/vsftpd/vsftpd.conf

Change anonymous login yes to no.

Uncomment below lines:


Add below line to the end of file.


Restart VSFTPD service and make enable to automatic start on boot.

# systemctl restart vsftpd.service
# systemctl enable vsftpd.service

Allow ftp service and port ftom firewall.

# firewall-cmd --permanent --add-service=ftp
# firewall-cmd --permanent --add-port=21/tcp
# firewall-cmd --reload

Create ftp user as root is not allow by default.

useradd -m ftp -s /sbin/nologin
passwd ftp

Now you can login from any system with ftp client.

By VishalVyas

No comments:

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + ''; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();
© 2020 Vishal Vyas. All rights reserved. Theme images by Jason Morrow. Powered by Blogger.