![]() |
◆ | FTPサーバーのインストール |
[root@linux]# apt-get install proftpd ← 入力 |
|
◆ | proftpd の設定 |
[root@linux]# vi /etc/proftpd.conf ← 入力 途中略 ServerName "ProFTPD Default Installation" ↓ ServerName "Welcome! FTPD Server" ← 変更(サーバー名を表示しない) ServerType standalone DefaultServer on 以下追記 ListOptions "-a" ← ./等で始まるファイルを表示、削除できるようにする ServerIdent on "FTP server ready." ← バージョンの非表示 IdentLookups off ← Identプロトコルを無効 UseReverseDNS off ← DNS逆引きを無効 DefaultRoot ~ !wheel ← wheelグループ 以外はホームディレクトリより上に移動できない 以下略 |
|
◆ | FTPサーバの開始 |
[root@linux]# /etc/rc.d/init.d/proftpd start ← 入力 |
|
再起動の自動起動設定 | |
[root@linux]# chkconfig proftpd on ← 入力 |
|
自動起動設定の確認 | |
[root@linux]# chkconfig --list proftpd ← 入力 httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
|
再起動 | |
[root@linux]# /etc/rc.d/init.d/proftpd restart ← 入力 |
|