diff --git a/00. Inbox/vsftpd.md b/00. Inbox/vsftpd.md new file mode 100644 index 0000000..20fc73b --- /dev/null +++ b/00. Inbox/vsftpd.md @@ -0,0 +1,22 @@ +# 安裝 +```shell +sudo apt-get install vsftpd +``` + +# 設定檔 +## `/etc/vsftpd.conf` +```shell +# 不允许匿名访问  +anonymous_enable=NO  +# 设定可以进行写操作 +write_enable=YES  +# 设定本地用户可以访问 +local_enable=YES  +ascii_upload_enable=YES  +ascii_download_enable=YES +``` + +# Service +```shell +sudo service vsftpd restart +``` \ No newline at end of file