Last update at :2024-06-16,Edit by888u
LLsMP is a one-click installation package commonly used by Snail for Linux VPS host website building. Compared with LNMP commonly used by some of our users, it saves a lot of resources. For example, Snail can also build 5 small sites in RAMNODE 128MBVPS. If you are ready to use one-click Friends who play VPS website building in a package environment can try it. I have shared a lot of LLSMP-related teaching articles on Snail Blog before. I just browsed through them and found that there is one missing tutorial on adding FTP account management for a separate site.
If the VPS host is used by ourselves, we may be more accustomed to using the ROOT account to connect to SFTP to manage all directories under the VPS, including the site. If we can ensure the security of the computer, account, and software used, this approach is also possible. If Our VPS is shared with others, or we are worried about modifying files and misusing operating system files. We can add FTP management website files to a certain site separately.
The default LLSMP one-click package comes with VSFTPD. We need to install it when we use it for the first time, and then add and authorize the directory account. The specific method is as follows.
First, install VSFTPD
sh /root/llsmp/vsftpd.shWhen we run the above script for the first time and prepare to add an account, we will see a prompt that we need to install VSFTPD first. We only need to enter y and press Enter to install it automatically.
Second, add an FTP account and authorize the directory
Before adding an FTP account, we need to have added a site in the LLSMP environment (LLSMP add site). For example, we have added the laozuo.org site in the /home/wwwroot/laozuo.org directory.
sh /root/llsmp/vsftpd.shEnter the above command and then start the Add FTP Wizard settings.
After adding it, we can use the above user name, password, default port 21, and our VPS host IP to log in and manage the website files using FTP software. We will see that html and conf are connected to the directory, and the website files are placed in in the HTML folder.
In this way, we have completed the tutorial of installing VSFTPD in the LLSMP environment package and adding separate FTP account management for the website.
Recommended site search: Which foreign server rental is the best, anti-complaint server, asp host, vps server, how to query the domain name registration number ip query network, ip proxy server, free personal homepage space, video server configuration, special price space, < /p>
发表评论