Quickly Install AMH Hosting Panel on Ubuntu with Custom Component Versions
This guide explains how to install the open‑source AMH hosting panel on Ubuntu, covering both custom component selection and fast one‑click installation, showing the required wget commands, confirming prompts, post‑install access URLs, default credentials, and steps to log into the web dashboard.
Introduction
AMH is a free open‑source hosting control panel built on the LNMP (Linux, Nginx, MySQL, PHP) stack. It provides a web UI that lets users configure sites, manage databases and files without using SSH commands, making routine server operations easier.
It is the first open‑source panel in China, with transparent, un‑obfuscated code, modular architecture, and support for multiple environments (LNMP, LAMP, LNGX, LNAMP) and simultaneous multiple software versions.
Installation
Custom Installation
You can choose specific component versions to compile and install. Provide a comma‑separated list of software and versions after the command.
Install specific versions when you have strict version requirements.
Installation takes longer; choose carefully.
Example: install Nginx 1.26, MySQL 8.0 and PHP 8.3:
wget https://dl.amh.sh/amh.sh && sudo bash amh.sh nginx-1.26,mysql-8.0,php-8.3Fast Installation
The official AMH script provides a pre‑compiled package for supported systems, allowing installation without manual compilation.
wget http://dl.amh.sh/amh.sh && sudo bash amh.shRun the command, confirm with y and enter the sudo password to start the installation.
AMH-7.2
Powered by amh.sh 2006-2025
https://amh.sh All Rights Reserved
[Notice] AMH and MySQL initial credentials:
admin: 0b1... (redacted)
root: 0b1... (redacted)
[Notice] Confirm installation? y
[Notice] Installing AMH …
...When the script finishes, you will see a success message similar to:
[AMH] Congratulations! AMH 7.2 installed successfully.
Access the panel at http://121.41.24.163:12360 or https://121.41.24.163:12361
Username: admin
Password: 2751f012323b
MySQL user: root
MySQL password: 2751f012323b
Installation took about 2 minutes.Login to AMH Panel
Open the displayed URL in a browser, enter the admin username and password, and click Login. After logging in you can view basic instance information and navigate the dashboard.
If the server is behind a cloud provider, open the listed ports (e.g., 36150, 36151) in the security group inbound rules.
Note: The ports shown (36150, 36151) are typical defaults but may differ depending on the installation environment.
Images illustrate the login screen and dashboard.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Open Source Tech Hub
Sharing cutting-edge internet technologies and practical AI resources.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
