[LNMP] lnmp ftp management and filled pit

I. First, a system installation lnmp a key installation package

After a successful installation command line input

lnmp

That is not the command can not find the instructions has been installed

 

II. Installation Pureftpd

Find lnmp installation directory can not find it using the search command

find / -name lnmp

Then run

/(lnmp所在目录)/pureftpd.sh 

Then install equipment installed, until success

Three .ftp Account Management

ftp command management

lnmp ftp list  查看已存在账户
lnmp ftp add    添加ftp登录账户
lnmp ftp edit    编辑ftp账户
lnmp ftp del    删除ftp账户

Add need to enter the account number, password, and path (to the prompts on the line)

IV. Ftp connection

1. browser and enter ftp: // ip address

2.window my computer right Add Network Location address input ftp: // ip address

3.ftp link tool

When prompted, enter account password

 

 

Stepped and bypassed pit: after a successful ftp account to add connections are not possible causes

lnmp ftp need to use the TCP 21 port and 20000-30000 random port (do not know the danger is not dangerous, anyway, these ports first opened to say)

1. Check the server rental business background set of rules for security settings

2. Check the server settings iptables  

iptables -L

3. Check the server firewall settings

systemctl status firewalld

If the firewall is turned on, you need to open the corresponding port

Click firewalld firewall management-related commands

Published 35 original articles · won praise 18 · views 370 000 +

Guess you like

Origin blog.csdn.net/TXX_c/article/details/81357187