产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] centos各种版本安装都失败

ijesse
铁牌会员
1.00 价值分

ijesse 发表于 2015-10-24 23:42:52
各种问题层出不穷,用的腾讯云,安装amh一直失败,下面是刚才出现的错误内容,求大神指点一二

引用:
[Notice] Confirm Install - AMH 5.1
Please select your nearest mirror: (1~4)
1) China [CN] 3) Japan [JP] 5) Exit
2) United States [USA] 4) Other [ALL]
#? 1
[OK] You Selected: China [CN]

Loaded plugins: fastestmirror, langpacks
http://mirrors.tencentyun.com/centos1/7/centosplus/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.tencentyun.com; No address associated with hostname"
Trying other mirror.


One of the configured repositories failed (Qcloud centosplus - x86_64),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:

yum-config-manager --disable centosplus

4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=centosplus.skip_if_unavailable=true

failure: repodata/repomd.xml from centosplus: [Errno 256] No more mirrors to try.
http://mirrors.tencentyun.com/centos1/7/centosplus/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.tencentyun.com; No address associated with hostname"
24 Oct 23:35:45 ntpdate[2140]: adjust time server 202.118.1.81 offset -0.000101 sec
Start time: Sat Oct 24 23:35:45 CST 2015
--2015-10-24 23:35:45-- http://code2.amh.sh/files/amh-conf-5.1.tar.gz
Resolving code2.amh.sh (code2.amh.sh)... 106.185.40.223
Connecting to code2.amh.sh (code2.amh.sh)|106.185.40.223|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://7fvbbu.com1.z0.glb.clouddn.com/files/amh-conf-5.1.tar.gz [following]
--2015-10-24 23:35:46-- http://7fvbbu.com1.z0.glb.clouddn.com/files/amh-conf-5.1.tar.gz
Resolving 7fvbbu.com1.z0.glb.clouddn.com (7fvbbu.com1.z0.glb.clouddn.com)... 115.231.158.70, 122.228.94.186
Connecting to 7fvbbu.com1.z0.glb.clouddn.com (7fvbbu.com1.z0.glb.clouddn.com)|115.231.158.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4377 (4.3K) [application/x-compressed]
Saving to: ?.mh-conf-5.1.tar.gz?

0K .... 100% 431M=0s

2015-10-24 23:35:47 (431 MB/s) - ?.mh-conf-5.1.tar.gz?.saved [4377/4377]

amh-conf-5.1/
amh-conf-5.1/conf/
amh-conf-5.1/conf/amh-base
amh-conf-5.1/conf/amh.c
amh.sh: line 145: gcc: command not found
chmod: cannot access ?.bin/amh?. No such file or directory
amh.sh: line 153: amh: command not found
amh.sh: line 154: amh: command not found
amh.sh: line 155: amh: command not found
amh.sh: line 156: amh: command not found
amh.sh: line 157: amh: command not found
amh.sh: line 159: amh: command not found
==========================================================================
Sorry, Failed to install AMH
Please contact us: http://amh.sh

2015-10-24 23:42:52 1

72135
金牌会员
5476.50 价值分

Could not resolve host: mirrors.tencentyun.com
换dns?
  支持 (0分)  反对 (0分)
回复  2015-10-25 01:00:48 2

amysql
创始人
16530.81 价值分

引用:
72135 发表于 2015-10-25 01:00
Could not resolve host: mirrors.tencentyun.com
换dns?


+1 DNS问题,无法解析域名。
  支持 (0分)  反对 (0分)
回复  2015-11-02 15:28:47 3

AMH面板 - 好用高效低占用、安全可靠极稳定

 1  (总1页)
AMH社区列表
用户服务中心