Debian 8 Jessie
Sponsored Link

FTPサーバーの設定 : ProFTPD2015/05/13

 
ProFTPD をインストールして、ファイル転送用に FTP サーバーを構築します。
[1] ProFTPD のインストールと設定です。
root@www:~#
aptitude -y install proftpd
# Proftpd をinet経由で起動かスタンドアロンで起動か選択を求められる

# ここではスタンドアロンを選択して進める

 +-------------------------| ProFTPD configuration |-------------------------+
 | ProFTPD can be run either as a service from inetd, or as a standalone     |
 | server. Each choice has its own benefits. With only a few FTP             |
 | connections per day, it is probably better to run ProFTPD from inetd in   |
 | order to save resources.                                                  |
 |                                                                           |
 | On the other hand, with higher traffic, ProFTPD should run as a           |
 | standalone server to avoid spawning a new process for each incoming       |
 | connection.                                                               |
 |                                                                           |
 | Run proftpd:                                                              |
 |                                                                           |
 |                                from inetd                                 |
 |                                standalone                                 |
 |                                                                           |
 |                                                                           |
 |                                  <Ok>                                     |
 |                                                                           |
 +---------------------------------------------------------------------------+
 
root@www:~#
vi /etc/proftpd/proftpd.conf
# 11行目:必要なければ「off」に変更

UseIPv6
off
# 15行目:サーバー名変更

ServerName
"www.srv.world"
# 34行目:コメント解除 ( chrootのルートディレクトリ指定 )

DefaultRoot ~
root@www:~#
vi /etc/ftpusers
# FTP接続を禁止するユーザを1行ずつ列挙

test
root@www:~#
systemctl restart proftpd

関連コンテンツ