安装proftpd-1.3.0

阅读更多
1.安装
  cd /usr/local/
  tar -zxvf /usr/local/src/proftpd-1.3.0.tar.gz
  ./configure --prefix=/usr/local/proftpd shdow --enable-autoshadow --with-modules=mod_ratio:mod_readme:mod_wrap
  make; make install
 
 
2.把FTP添加到super daemon
  vi /etc/xinetd.d/proftpd
内容如下:
  service ftp
  {
    disable = no
    flags = REUSE
    socket_type = stream
    wait = no
    user = root
    server = /usr/local/proftpd/sbin/proftpd
    server_args = -c /usr/local/proftpd/etc/proftpd.conf
    log_on_success += DURATION USERID
    log_on_failure += USERID
  }
 
 
3.
  vi /usr/local/proftpd/etc/proftpd.conf
  ServerType standalone -> inetd
  Group nogroup  ->nobody
 
 
4./etc/rc.d/init.d/xinetd restart

你可能感兴趣的:(Socket,C,C++,C#)