美文网首页
阿里云ECS 搭建ftp服务

阿里云ECS 搭建ftp服务

作者: Ningxi_ | 来源:发表于2019-08-12 10:23 被阅读0次
    1、安装与启动
    安装
    yum install -y vsftpd
    
    设置开机启动
    systemctl enable vsftpd.service
    
    启动
    systemctl start vsftpd.service
    
    停止
    systemctl stop vsftpd.service
    
    查看状态
    systemctl status vsftpd.service
    
    2、vsftpd默认配置配置(可根据实际情况修改)
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    local_umask=022
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    ascii_upload_enable=YES
    ascii_download_enable=YES
    listen=NO
    listen_ipv6=YES
    pam_service_name=vsftpd
    userlist_enable=YES
    tcp_wrappers=YES
    
    3、阿里云安全组规则添加 开启21端口
    1565576549222.jpg

    相关文章

      网友评论

          本文标题:阿里云ECS 搭建ftp服务

          本文链接:https://www.haomeiwen.com/subject/pxjyjctx.html