说明:AMH是由Amysql自主开发的国产免费开源虚拟主机面板,基于Linux、Nginx、MySQL、PHP环境运行,同时具有SSH命令与Web端维护管理Nginx、MySQL、PHP、主机、FTP等,相类似的面板还有宝塔,VestaCP等,都挺好用的,这里说下loc大佬发的AMH4.5安装教程。
更新
- 更新
curl为curl-7.53.0(如果内存没超过1G以上,不建议安装Mysql5.7以及以上系列数据库)。 - 更新:
php-5.3.29,php-5.4.45,php-5.5.38,php-5.6.30,php-7.0.17,php-7.1.3,nginx-1.10.3,openssl-1.1.0e,mysql-5.5.54,mysql-5.6.35,mysql-5.7.17,mariadb-5.5.54,mariadb-10.1.21。
安装
1、准备工作
yum install -y wget
yum install -y vim
强烈建议先运行screen,防止ssh中断
apt-get install screen #debian
yum -y install screen #centos
screen -S amh
2、安装脚本Centos 5 .x和Centos 6.x可直接运行以下命令:
wget http://www.sxsay.com/amh/amh.sh && chmod 775 amh.sh && ./amh.sh 2>&1 | tee amh.log
备用地址:
wget --no-check-certificate https://www.moerats.com/usr/down/amh.sh && chmod 775 amh.sh && ./amh.sh 2>&1 | tee amh.log
Centos 7.x安装请先运行ifconfig,要是功能不全,就运行以下命令:
yum -y install net-tools.x86_64
再一键运行上面的脚本,最后更改控制面板的端口(8888更改为你想要的端口):
amh SetParam amh amh_Listen 8888
原文地址:http://www.hostloc.com/thread-357168-1-1.html
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/246491.html