美文网首页
centos 中部署proftpd

centos 中部署proftpd

作者: 阳光_8af8 | 来源:发表于2018-09-27 14:58 被阅读0次

具体步骤:

  1. 安装编译器
    yum install gcc gcc-c++ autoconf automake
  2. 下载源码:
    ftp://ftp.proftpd.org/distrib/source/
    3.安装配置
    tar zxvf proftpd-1.3.6.tar.gz
    cd proftpd-1.3.6
    ./configure --prefix=/usr/local/proftpd --sysconfdir=/etc
    make
    make install
    4.建立FTP用户及组
    groupadd ftpgroup
    useradd loguser -g ftpgroup -d /logdata/weblog -s /sbin/nologin
    passwd loguser
  3. 配置及启动
    vi /etc/proftpd.conf
    把Group的nogroup修改为nobody
    启动服务
    /usr/local/proftpd/sbin/proftpd
    6.开机自动启动
    vi /etc/rc.local
    最后添加一行 /usr/local/proftpd/sbin/proftpd

参考:https://www.yanning.wang/archives/184.html

相关文章

网友评论

      本文标题:centos 中部署proftpd

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