Files
Obsidian-Main/00. Inbox/vsftpd.md

22 lines
359 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 安裝
```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
```