WordPress knowledge sharing

Installation and use of FTP server in lnmp environment

The Linux VPS tutorial of Weieis Blog uses the military brother lnmp1.3 version, and the command is different from the previous version. The FTP server needs to be created by the user himself. lnmp has already prepared the program for us, so we don't need to see how to create it.

First, use the Xshell to connect to the VPS interface and enter the directory after lnmp decompression. The command is as follows:

cd lnmp1.3-full

 lnmpftpazsy01 Then install the FTP server. The command is as follows:

./pureftpd.sh

 lnmpftpazsy02

When you see the prompt Press any key to install... or Press Ctrl+c to cancel, you can press a key at random to start the installation. After a while, the installation will succeed.

Next, we add the ftp account password.

Note that you need to use the cd command to enter the website folder you created earlier, and then create the ftp account password.

For example, the following command enters the folder of the vpsss website.

cd /home/wwwroot/vpsss/

 lnmpftpazsy03

Enter the command to add an ftp account:

lnmp ftp add

 lnmpftpazsy04

Enter the ftp account, password and directory corresponding to the ftp account to be created according to the prompts. The directory must be an absolute directory starting with/, that is, the website directory when the virtual host was created earlier.

Finally, it displays that the ftp account was created successfully.

The ftp account and password you just entered must be recorded for backup.

Summary: The ftp command of the military brother lnmp version 1.3 is very simple. Use the command lnmp ftp {add | del | edit} for management, including adding, deleting, and modifying. It is also very simple to use. Run these three commands yourself and follow the prompts.

Like( zero )
Article name: Installation and Use of FTP Server in lnmp Environment
Article link: https://www.vpsss.net/239.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.