解决AMH面板5.3安装出现:Sorry, Failed to install AMH

发现问题

运行:wget http://amh.sh/amh.sh && bash amh.sh 2>&1 | tee amh.log

返回日志,只链结尾部分:


groupadd: group 'www' already exists
useradd: user 'www' already exists
mkdir: cannot create directory `/usr/local/php-generic-5.3/var/run/pid': File exists
[Notice] php-generic-5.3 is not installed.
==========================================================================
Sorry, Failed to install AMH
Please contact us: http://amh.sh

解决问题的方法:

1.进入阿里云后台,清空服务器硬盘;(更换一下系统盘,解决问题)
2.root权限进入云服务器,mac用户终端,windows用户用xshell等;
3.进入:/etc/resolv.conf在文件最后一行插入:
nameserver 8.8.8.8
nameserver 114.114.114.114

补充3:与官网说的运行这个类似:echo -e "options timeout:1 attempts:1 rotate\nnameserver 8.8.8.8\nnameserver 114.114.114.114" >/etc/resolv.conf;

4.重新运行安装命令,done!

0 条回复

发表评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注