首页 > 代码库 > setup FTP server on CentOS 7

setup FTP server on CentOS 7

https://www.unixmen.com/install-configure-ftp-server-centos-7/

vsftpd (Very Secure File Transport Protocol Daemon) is a secure, fast FTP server for Unix/Linux systems.

 

# install vsftpyum install vsftpd -y#edit config file and## disable anonymous login : change YES to NO## uncomment ascii_upload_enable=YES and ascii_download_enable=YES## Uncomment - Enter your Welcome message - This is optional ### ftpd_banner=Welcome to UNIXMEN FTP service.vi /etc/vsftpd/vsftpd.conf## Add at the end of this  file ##use_localtime=YES#Enable and start the vsftpd service:systemctl enable vsftpdsystemctl start vsftpd

By default, root user is not allowed to login to ftp server for security purpose. So, let us create a normal testing user called “sk” with password “centos”.

useradd skpasswd sk
> ftp 192.168.1.101


setup FTP server on CentOS 7