安裝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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章