0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

さくらVPS FTP接続

Posted at

vsftpdをインストールする。

$ sudo yum install vsftpd

起動。

$ systemctl start vsftpd

システム起動時に自動起動するように設定。

$ systemctl enable vsftpd

firewall設定。

$ sudo firewall-cmd --add-service=ftp --permanent

設定ファイル編集。

anonymous_enable=NO
ascii_upload_enable=YES
ascii_download_enable=YES
userlist_enable=YES
userlist_deny=NO
tcp_wrappers=NO
local_root=/var/www/html/

userlistファイルにftp接続するユーザを追加する。

hoge

ftp接続するディレクトリの所有者を変更する。

$ sudo chown -R hoge /var/www/html/
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?