首页 > 其他 > 详细

setup FTP server on CentOS 7

时间:2017-03-31 23:02:10      阅读:243      评论:0      收藏:0      [点我收藏+]

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 vsftp
yum 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 vsftpd
systemctl 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 sk
passwd sk

> ftp 192.168.1.101


setup FTP server on CentOS 7

原文:http://www.cnblogs.com/swlin/p/6653951.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!