AMH4.2 FTP control is a bit unsatisfactory, each FTP account can only correspond to a site;
If you follow the permissions provided by the Panel, the number of stations you have to set how many FTP accounts, this operation will be very cumbersome, resulting in inefficiency;
However, AMH5.0 has been able to set up an FTP account through the panel corresponding to multiple sites, but to charge the personal version of five dollars one months;
Through the SSH command is also able to let amh4.2 set of FTP management all the site;
First attach my command operation Log Bar, understand people at a glance [[email protected] ~]# AMH FTP add========================================================== = = = [Lnmp/nginx] amysql host-amh 4.2 http://Amysql.com [Notice] Please input ftpuser Name:admin[notice] Ftpuser Password:123456[notice] Please input ftpuser root directory:/home/wwwroot[notice] Please input ftpuser uid-name ( Www/ftpuser): Wwwpassword:enter It again: [OK] successfully create Ftpuser yunorgftp root directory Is/home/wwwroot[ok] C Hown-r ftpuser root directory success. [[email protected] ~]# amh FTP list============================================================= [Lnmp/nginx] Amysql HOST-AMH 4.2
Steps to explain in detail
First, open the SSH management tool, I use the Xshell with root login server;
Type: AMH FTP add
(This is the meaning of adding an FTP user)
Second, please input ftpuser name:
This place enter the user name you want to set
Third, please input ftpuser password:
Set Password
Iv.. Please input ftpuser root directory:
Enter the directory of the FTP account,/home/wwwroot This address will be able to see all the site Directory
V. Please input ftpuser uid-name (www/ftpuser):
This gives FTP account permissions, enter www
Return the following information and set it up.
[OK] successfully create Ftpuser yunorg
FTP root directory Is/home/wwwroot
[OK] Chown-r ftpuser root directory success.
Vi. Check the directory and permissions of the FTP account opening
Input AMH FTP list, you can see all the FTP account information intuitively;
Reprint Please specify: Chu League blog»amh4.2 FTP account path modification settings
AMH4.2 FTP Account Path modification settings