LoginSignup
1
0

More than 5 years have passed since last update.

ubuntu ftpd install 備忘録

Last updated at Posted at 2018-09-13

授業でした内容を自分のメモとして書き残します。


ftpd install

ftpd インストール コマンド

sudo apt-get install -y vsftpd

ftpd Configuration

① ファイルの編集 - 訂正・追記

sudo vi /etc/vsftpd.conf

キーボードの i で入力可能にしておく

14、22、25、28、31、
48、54、57、60、99、
100、114、123、125、131、
142、145、149、150、151

上記の行の # を削除
末尾に、下記を追記

local_root=/var/www/html
seccomp_sandbox=NO

② ファイルの作成

sudo vi /etc/vsftpd.chroot_list

一行目に任意のユーザ名を入力し保存

ftpd Confirmation

① 設定が終了したので再起動

sudo service vsftpd restart

② ftpd のステータスを確認

sudo service vsftpd status

③ 繋がっているか確認(?)

telnet localhost 21

④ Bye

quit

あくまで自分の備忘録ですので、よろしくお願いします


最後までお読みいただきありがとうございました。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0