In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to install AMH control panel on VPS host". In daily operation, I believe many people have doubts about how to install AMH control panel on VPS host. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt of "how to install AMH control panel on VPS host". Next, please follow the editor to study!
AMH Administration Panel installation tutorial:
The first step, SSH installation system
My system is installed with CentOS 5 32bit xen 256m memory, log in to SSH, and then use the following one-click script to install version 4.2, which is currently 4.2 up to date.
The code is as follows:
Wget http://amh.sh/file/AMH/4.2/amh.sh & & chmod 775 amh.sh & &. / amh.sh 2 > & 1 | tee amh.log
I have also had contact with the AMH management panel. I feel that the official upgrade frequency is relatively high, and it is definitely necessary for users to pursue the latest version, but the frequent upgrades feel a little uncomfortable.
Step 2, select the option we need to install-1
Enter 1, and then enter, it will prompt our VPS IP, because my VPS has 2 IP, which can also be seen. Then we need to enter the MYSQL password.
After entering the enter, we need to enter the login password of the AMH management panel, and after we continue to enter, it will be installed automatically.
The third step is to wait, which is based on the speed of our VPS host to wait for the installation time. Usually it can be done in 10-20 minutes.
When you see the interface above, it shows that it is finished. We can use IP:8888 to log in to our own panel account backend.
A brief look at the background interface, or relatively refreshing. However, the navigation is in English, it is estimated that some friends nodded a lot, in fact, it is the same, it is not complicated at all. On the right, we can see that my 256m VPS takes up 88m of memory. Not bad.
This is a brief introduction to the AMH panel. Later, I will share with you how to use it and install regular CMS sites. To be clear, at the beginning of the installation, I used a free 1-gigabyte memory solution of VPS, the speed of the computer room is not very good, and then I changed to the current machine in Los Angeles, the speed is better. The test machine is 256 megabytes of memory, do not when friends see the front machine IP information is different from the back, do not think that it is a fake tutorial, the tutorial is complete.
Fixed the problem that the AMH panel could not connect due to changing the MYSQL database password of the panel
Today, some netizens came to me to say that when I changed the database password of the website in the PHPMYADMIN panel, I chose the wrong datasheet and directly changed the password of the ROOT user, who is the database linked by the AMH panel.
If this password error causes us to open the panel with "[Amysql-Notice] Access denied for user 'root'@'localhost' (using password: YES) Mysql link error, please configure the / Amysql/config.php file." If such a prompt is wrong, the problem should be solved. This friend is also very interesting, I asked him to provide ROOT information I logged in to solve, but asked me to describe to him to operate, because I have not encountered such a problem, and there is no AMH panel environment, I can only open a testing machine, and then install an AMH panel, of course, it is very boring to change the ROOT password to cause the same error as him and then to solve it for myself.
Before solving this problem, some users may also need this process, because maybe the MYSQL database password we set when we installed the AMH panel is too simple, and we also want to reset the database password of a more complex AMH panel, so let's change the password first.
First, modify the password of the AMH panel ROOT user database
We can directly use the command to solve, if trouble or not familiar with, then first log in to the AMH panel download component PHPMYADMIN installation and then directly use this database panel to log in.
We can see the image above, find the ROOT user we need to modify, and then edit it. Today, this friend did not want to modify this user information, he wanted to modify a website database, resulting in a mistake.
Here we can generate a complex password, or we can set one ourselves and execute it. In fact, at this time, we can see the error when we open the front page of the panel, because we still have a configuration file that has not been modified.
Second, modify the AMH panel database configuration file
In the error prompt, we can see that the "Amysql/config.php" configuration file needs to be modified, in AMH5.0, we can see the official solution, after all, people pay, AMH4.2 does not tell where the path is (we did not spend money), so the editor uses the find command to search to see where there is this file in the server. And found several files with the same name.
The code is as follows:
AHM5.0-/ usr/local/amh-5.0/web/Amysql/
AMH4.2-/ home/wwwroot/index/web/Amysql/
To find the config.php file, we need to edit the fields inside.
See the figure above, find the location of the password field, and then modify the replacement. If we open the home page of the AMH panel again, there will be no such problem.
At this point, the study on "how to install the AMH control panel on the VPS host" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.