Last update at :2024-03-26,Edit by888u
The following content is updated synchronously from the AMH official website. Welcome to bookmark this page to get the latest news on the latest AMH panel
AMH4.2 official website installation address: http://amh.sh/install.htm
AMH4.2 compilation and installation
AMH 4.2 is an independent set of LNMP/Nginx virtual host panel. Please use a pure system for installation.
Compile and install method (installation time 15 to 25 minutes)
1) Log in to the Linux server using the root account.
2) Execute amh installation script.
3) Select options 1~3 according to the prompts. 1 is to install amh, 2 is to uninstall amh, and 3 is to exit without performing any operation.
Enter 1 and press Enter, then enter the MySQL and AMH passwords to enter the installation process. The installation process takes about 10 to 20 minutes (subject to server performance). If you see a successful installation prompt at the end, it means that the system has been installed.
After successful installation, please delete the log file: amh.log if necessary. If the installation fails and you need assistance with the installation, please feedback the error log to us.
Visit http://ip:8888 to enter AMH web management. The default account is admin.
Installation Tips
If the server cannot resolve the amh.sh domain name during the installation of amh,
Please change the server's DNS first and then install AMH. Execute the following command to complete the replacement of DNS resolution:
AMH4.2 compile and install supported systems
Supports the following versions of CentOS, Ubuntu and Debian
CentOS 6 x64
CentOS 6 i386
CentOS 5 x64
CentOS 5 i386
Ubuntu 12x64
Ubuntu 12 i386
Debian 6 x64 (squeeze)
Debian 6 i386 (squeeze)
AMH panel command operation list
LNMP Panel - AMH command using nginx
» SSH Nginx 1) There are step-by-step instructions: ssh execution command: amh nginx Then select the corresponding option to operate.
2) Or operate directly: Start Nginx: amh nginx start Stop Nginx: amh nginx stop Reload Nginx: amh nginx reload Restart Nginx: amh nginx restart
LNMP Panel - AMH command using mysql
» SSH MySQL 1) There are step-by-step instructions: ssh execution command: amh mysql Then select the corresponding options 1~6 to operate. 2) Or operate directly: Start MySQL: amh mysql start Stop MySQL: amh mysql stop Reload MySQL: amh mysql reload Restart MySQL: amh mysql restart Force reload MySQL: amh mysql force-reload
LNMP Panel - AMH command using php
» SSH PHP 1) There are step-by-step instructions: ssh execution command: amh php
2) Or operate directly: (the default primary identification domain name is to operate all domain names) Start PHP: amh php start [primary domain name] Stop PHP: amh php stop [primary domain name] Forcefully stop PHP: amh php force-quit [primary domain name] Restart PHP: amh php restart [primary domain name] Reload PHP: amh php reload [primary domain name]
3) PHP operation of the panel itself: amh php [start/stop/restart/reload] [amh-web] [y/n] The main PHP identification parameter of the panel itself is amh-web, and an additional confirmation parameter [y/n]
is required.-------------------------------------------------- ----------------
Usage example 1: amh php stop amysql.com Stop the php whose main domain name is amysql.com website.
Usage example 2: amh php start Start php, and the default primary identification domain name starts all host php.
Usage example 3: amh php reload Reload php on all hosts, usually after php.ini configuration changes.
LNMP Panel - AMH command using ftp
» SSH FTP 1) There are step-by-step instructions: ssh execution command: amh ftp Then select the corresponding options 1~6 to operate.
2) Or operate directly: View ftp list: amh ftp list Add ftp user: amh ftp add [account] [password] [root directory] [upload speed limit] [download speed limit] [upload ratio value] [download ratio value] [number of files] [capacity] [number of concurrent connections] [ Usage time limit] Edit ftp user: amh ftp edit [account] [-] [root directory] [upload speed limit] [download speed limit] [download ratio value] [download ratio value] [number of files] [capacity] [number of concurrent connections] [ Usage time limit] Change ftp password: amh ftp pass [account] [password] Delete ftp user: amh ftp del [account]
Warm reminder: To add or edit an account, please fill in 0 if you want to ignore the parameter. If there is no limit, please fill in the - symbol. -------------------------------------------------- -------------
Usage example 1: amh ftp add testftp testpass /home/wwwroot 0 100 The above command is to add an ftp user. The account number is testftp and the password is testpass. The ftp root directory is /home/wwwroot. Ignore changing the upload speed parameters and limit the download speed to 100kb
AMH host command to use the host article
» SSH Host 1) There are step-by-step instructions: ssh execution command: amh host Then select the corresponding options 1~7 to operate.
2) Or operate directly: Start the virtual host: amh host start [primary identification domain name] The default primary identification domain name is all Stop the virtual host: amh host stop [primary identification domain name] The default primary identification domain name is all Virtual host list: amh host list Add a new virtual host: amh host add [primary domain name amysql.com] [bind domain name amysql.com, www.amysql.com] [default home page index.php, index.html] [Rewrite rule amh] [custom error Page 404,502] [Access log on/off] [Error log on/off] [Second-level domain name binding subdirectory on/off] [Set PHP-FPM static/dynamic,1,2,3,4] Edit virtual host: amh host edit [primary identification domain name] [the remaining parameters are the same as the add command] Delete virtual host: amh host del [primary identification domain name]
3) Warm reminder: To add or edit a virtual host and ignore a parameter, please fill in 0. If there are multiple parameters, please use commas to separate them.
-------------------------------------------------- ----------------
Usage example 1: amh host add amysql.com amysql.com,www.amysql.com index.html,index.php 0 404,502 on off on static,1,2,3,4 The above command is to add a virtual host, the main domain name is amysql.com, bind the domain names amysql.com and ww.amysql.com, the default homepage is index.html and index.php, enable custom 404 and 502 pages, and enable errors Log, and binding to open subdirectories. And set the host php-fpm to static mode and the number of child processes to 4.
Usage example 2: amh host add amysql.com amysql.com,www.amysql.com
The above command adds a virtual host and ignores other parameters and only binds the domain name.
Recommended site searches: domain name space registration, Qingdao ip agency, Western Digital registration, domain name registration, virtual host evaluation network, domain name registration price, server defense cost, icp registration, foreign vps, anti-complaint server,
发表评论