

Name (192.168.1.101:root): sk331 Please specify the password.Ĭongratulations!! you will be able to login to FTP server without any problems. Now, try to connect to FTP server itself with user “sk”: ftp 192.168.1.101 So, let us create a normal testing user called “sk” with password “centos”. Then, update the SELinux boolean values for FTP service: setsebool -P ftp_home_dir on Create FTP usersīy default, root user is not allowed to login to ftp server for security purpose. firewall-cmd -permanent -add-port=21/tcpįirewall-cmd -permanent -add-service=ftp Systemctl start vsftpd Firewall And SELinux ConfigurationĪllow the ftp service and port 21 via firewall. # Uncomment - Enter your Welcome message - This is optional #įtpd_banner=Welcome to UNIXMEN FTP service.Įnable and start the vsftpd service: systemctl enable vsftpd Run the following command in terminal to install vsftpd package: yum install vsftpd ftp -y Configure vsftpdĮdit vsftpd configuration file /etc/vsftpd/nf, vi /etc/vsftpd/nfįind the following lines and make the changes as shown below: Install vsftpdĪll commands should be run with ‘root’ user. Change these values to match your scenario. My testbox server hostname and IP Address are and 192.168.1.101/24 respectively. However, this procedure might work well on RHEL CentOS, Scientific Linux 7 version too.

In this how-to article, let us see how to setup a basic FTP server on CentOS 7. Vsftpd ( Very Secure File Transport Protocol Daemon) is a secure, fast FTP server for Unix/Linux systems.
