服务器部署,Docker & Vsftpd

# Dokcer && Docker-Compose

1. curl -fsSL https://get.docker.com/ | sh
1. Download From https://github.com/docker/compose/releases
1. mkdir -p /home/docker
1. nginx / mysql / node / phpmyadmin


## Vsftpd

1. apt update
1. apt install -y vsftpd
1. Append to /etc/vsftp.conf
1. Add User
1. chomd -R 777 /home/docker/nginx/html
```
useradd -m uftp
passwd uftp
```
```
write_enable=YES

userlist_file=/etc/vsftpd.user_list
userlist_enable=YES
userlist_deny=NO

pasv_promiscuous=YES
pasv_address=0.0.0.0
local_root=/home/docker/nginx/html
```


## SSH User

1. id_rsa.pub > ~/.ssh/authorized_keys

发表评论

电子邮件地址不会被公开。 必填项已用*标注