vault backup: 2024-01-17 08:57:08
This commit is contained in:
22
00. Inbox/vsftpd.md
Normal file
22
00. Inbox/vsftpd.md
Normal file
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user