码迷,mamicode.com
首页 > 其他好文 > 详细

setup FTP server on CentOS 7

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

标签:ascii   asc   etc   comm   sage   alt   toc   localtime   testing   

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

标签:ascii   asc   etc   comm   sage   alt   toc   localtime   testing   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!