システム管理に関するFAQ-25
pure-ftpd の導入から起動までを教えてください。
■インストールと起動
pure-ftpd パッケージがインストールされている事をご確認ください。
# rpm -q pure-ftpd
pure-ftpd-1.0.20-24.13
以下のコマンドで pure-ftpd のサービスを起動します。
# service pure-ftpd start
* - 以下のコマンドでも起動する事ができます。
# rcpure-ftpd start
クライアントから pure-ftpd サーバにログインをすると、 全てのセッションはサーバーにある /srv/ftp ディレクトリをトップディレクトリしてログインします。これは、/etc/passwd ファイルにおいて ftp ユーザのホームディレクトリがデフォルトで /srv/ftp に設定されている為です。
# ftp 192.168.0.5
Connected to 192.168.0.5.
220-Welcome to Pure-FTPd.
220-You are user number 1 of 10 allowed.
220-Only anonymous FTP is allowed here
220 You will be disconnected after 15 minutes of inactivity.
Name (192.168.0.5:root): anonymous
230 Anonymous user logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
ftp サーバにうまくログインできない場合は、/var/log/messages のログファイル内容や、ファイアウォールなどのアクセス制御をご確認ください。
≫ 前のページへ戻る