2012年3月21日水曜日

[webmin] vsFtpd のインストール

[Webmin]-[Webmin Configuration]-[Webmin Module] の Third party module from からvsFtp を選んでモジュールをインストールと行きたいところだったのだが、

Failed to install module from This module configures the vsftpd.conf file from your VSFTPD FTP-Server. You can also have nice graphical stats from your ftp visitors. New in v.1.4: SSL CERT Creation and SSL support for your vsftpd-server : Invalid URL
上のようなエラーがでてモジュールのインストールが失敗。


webmin.com から vsftpd.tar.gz をダウンロード。

場所はwwebmin.comCommunity タブをクリック、サイドメニューの Third party modules をクリックFind modules or themes matching: にvsftp と入力 Search を押下するとダウンロードページのリンクが出てくるのでそれを押下してダウンロードのページを開きます。LADENボタンをクリックしてダウンロードします。

再び [Webmin]-[Webmin Configuration]-[Webmin Module]に戻りfrom uploaded file から先ほどダウンロードしたファイルを入力して [install Module] ボタンをクリックします。

vsFtpd がインストールされていなかったらインストールする。

[vsftp] の画面を開き [Module Configuration] をクリックして2箇所を修正

[The path and filename to vsftpd.conf]

* 変更前:[/etc/vsftpd.conf]→変更後:[/etc/vsftpd/vsftpd.conf]。

[Path where the virtual user will be stored]

* 変更前:[/etc/vsftpd/vsftpd_user_conf]→変更後:[/etc/vsftpd/user_list]

[Start Vsftpd Server] をクリックしてFTPサーバーを起動させます。
利用し終わったら [Stop Vsftpd Server] クリックしてしてFTPサーバーを停止させます。
常時起動する場合は chroot や SSL を設定する。


0 件のコメント:

コメントを投稿