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

AMH 社区首页

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

[综合话题] 协助安装AMH

lywuji
铁牌会员
15.00 价值分

lywuji 发表于 2021-03-02 16:55:57
安装AMH遇到问题,请协助安装。
补充安装出错信息:
多次安装amh6.0失败

错误日志信息,无法截图上传附件

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.it.ubc.ca
* elrepo: repos.lax-noc.com
* extras: mirror.it.ubc.ca
* updates: mirror.esecuredata.com
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Package 2:tar-1.26-35.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed
---> Package curl.x86_64 0:7.29.0-54.el7_7.1 will be updated
---> Package curl.x86_64 0:7.29.0-59.el7_9.1 will be an update
--> Processing Dependency: libcurl = 7.29.0-59.el7_9.1 for package: curl-7.29.0-59.el7_9.1.x86_64
---> Package gcc.x86_64 0:4.8.5-44.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: cpp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libgcc >= 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-44.el7.x86_64
---> Package gcc-c++.x86_64 0:4.8.5-44.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-44.el7 for package: gcc-c++-4.8.5-44.el7.x86_64
--> Processing Dependency: libstdc++ = 4.8.5-44.el7 for package: gcc-c++-4.8.5-44.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-44.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-323.el7_9 will be installed
--> Processing Dependency: glibc-headers = 2.17-323.el7_9 for package: glibc-devel-2.17-323.el7_9.x86_64
--> Processing Dependency: glibc = 2.17-323.el7_9 for package: glibc-devel-2.17-323.el7_9.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-323.el7_9.x86_64
---> Package libcurl.x86_64 0:7.29.0-54.el7_7.1 will be updated
---> Package libcurl.x86_64 0:7.29.0-59.el7_9.1 will be an update
---> Package libgcc.x86_64 0:4.8.5-39.el7 will be updated
---> Package libgcc.x86_64 0:4.8.5-44.el7 will be an update
---> Package libgomp.x86_64 0:4.8.5-39.el7 will be updated
---> Package libgomp.x86_64 0:4.8.5-44.el7 will be an update
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package libstdc++.x86_64 0:4.8.5-39.el7 will be updated
---> Package libstdc++.x86_64 0:4.8.5-44.el7 will be an update
---> Package libstdc++-devel.x86_64 0:4.8.5-44.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.17-292.el7 will be updated
--> Processing Dependency: glibc = 2.17-292.el7 for package: glibc-common-2.17-292.el7.x86_64
---> Package glibc.x86_64 0:2.17-323.el7_9 will be an update
---> Package glibc-headers.x86_64 0:2.17-323.el7_9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-323.el7_9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-323.el7_9.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-292.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-323.el7_9 will be an update
---> Package glibc-headers.x86_64 0:2.17-323.el7_9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-323.el7_9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-323.el7_9.x86_64
--> Finished Dependency Resolution
Error: Package: glibc-headers-2.17-323.el7_9.x86_64 (updates)
Requires: kernel-headers >= 2.2.1
Error: Package: glibc-headers-2.17-323.el7_9.x86_64 (updates)
Requires: kernel-headers
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.it.ubc.ca
* elrepo: repos.lax-noc.com
* extras: mirror.it.ubc.ca
* updates: mirror.esecuredata.com
Package ntp-4.2.6p5-29.el7.centos.2.x86_64 already installed and latest version
Package cronie-1.4.11-23.el7.x86_64 already installed and latest version
Nothing to do
systemctl: /usr/bin/systemctl /usr/share/man/man1/systemctl.1.gz
ntpdate: /usr/sbin/ntpdate /usr/share/man/man8/ntpdate.8.gz
2 Mar 16:47:46 ntpdate[68052]: adjust time server 172.98.193.44 offset -0.005828 sec
chronyc: /usr/bin/chronyc /usr/share/man/man1/chronyc.1.gz
200 OK
Start time: Tue Mar 2 16:47:46 CST 2021
groupadd: group 'www' already exists
useradd: user 'www' already exists
--2021-03-02 16:47:46-- http://code.amh.sh/files/amh-conf-6.0.tar.gz
Resolving code.amh.sh (code.amh.sh)... 45.79.70.161
Connecting to code.amh.sh (code.amh.sh)|45.79.70.161|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://c34eed7aec.code-usa.amh.sh/files/amh-conf-6.0.tar.gz?e=1614674930&amhcode=RD1WlWo3ncQKJuDRBx2vNQ== [following]
--2021-03-02 16:47:50-- http://c34eed7aec.code-usa.amh.sh/files/amh-conf-6.0.tar.gz?e=1614674930&amhcode=RD1WlWo3ncQKJuDRBx2vNQ==
Resolving c34eed7aec.code-usa.amh.sh (c34eed7aec.code-usa.amh.sh)... 45.79.70.161
Reusing existing connection to code.amh.sh:80.
HTTP request sent, awaiting response... 200 OK
Length: 4900 (4.8K) [application/octet-stream]
Saving to: ‘amh-conf-6.0.tar.gz’

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

2021-03-02 16:47:50 (434 MB/s) - ‘amh-conf-6.0.tar.gz’ saved [4900/4900]

amh-conf-6.0/
amh-conf-6.0/conf/
amh-conf-6.0/conf/amh-base
amh-conf-6.0/conf/amh.c
amh.sh: line 152: gcc: command not found
chmod: cannot access ‘/bin/amh’: No such file or directory
amh.sh: line 168: amh: command not found
amh.sh: line 169: amh: command not found
amh.sh: line 170: amh: command not found
amh.sh: line 171: amh: command not found
amh.sh: line 172: amh: command not found
[Error] libiconv-1.14 download failed.
[Error] mysql-generic-5.5 download failed.
[Error] nginx-generic-1.18 download failed.
[Error] php-generic-5.6 download failed.
[Error] amh-6.0 download failed.
==========================================================================
Sorry, Failed to install AMH
Please contact us: http://amh.sh
2021-03-02 16:55:57 1

lywuji
铁牌会员
15.00 价值分

无论是中国 美国 都是同样的错误信息,vps是新开通的,没有用过
  支持 (0分)  反对 (0分)
回复  2021-03-02 16:57:02 2

amysql
创始人
16530.81 价值分

用的什么系统与版本,没安装成功的原因是gcc没安装上。
先尝试把gcc安装上,安装排查命令
Centos:
yum install gcc

Debian或Ubuntu:
apt-get install gcc
  支持 (0分)  反对 (0分)
回复  2021-03-02 18:39:58 3

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

lywuji
铁牌会员
15.00 价值分

我用得是centos 7 64bit
刚尝试安装gcc
应该没有安装成功吧

[root]# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.it.ubc.ca
* elrepo: repos.lax-noc.com
* extras: mirror.it.ubc.ca
* updates: mirror.esecuredata.com
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-44.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: cpp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libgcc >= 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-44.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-44.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-323.el7_9 will be installed
--> Processing Dependency: glibc-headers = 2.17-323.el7_9 for package: glibc-devel-2.17-323.el7_9.x86_64
--> Processing Dependency: glibc = 2.17-323.el7_9 for package: glibc-devel-2.17-323.el7_9.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-323.el7_9.x86_64
---> Package libgcc.x86_64 0:4.8.5-39.el7 will be updated
---> Package libgcc.x86_64 0:4.8.5-44.el7 will be an update
---> Package libgomp.x86_64 0:4.8.5-39.el7 will be updated
---> Package libgomp.x86_64 0:4.8.5-44.el7 will be an update
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.17-292.el7 will be updated
--> Processing Dependency: glibc = 2.17-292.el7 for package: glibc-common-2.17-292.el7.x86_64
---> Package glibc.x86_64 0:2.17-323.el7_9 will be an update
---> Package glibc-headers.x86_64 0:2.17-323.el7_9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-323.el7_9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-323.el7_9.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-292.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-323.el7_9 will be an update
---> Package glibc-headers.x86_64 0:2.17-323.el7_9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-323.el7_9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-323.el7_9.x86_64
--> Finished Dependency Resolution
Error: Package: glibc-headers-2.17-323.el7_9.x86_64 (updates)
Requires: kernel-headers >= 2.2.1
Error: Package: glibc-headers-2.17-323.el7_9.x86_64 (updates)
Requires: kernel-headers
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
  支持 (0分)  反对 (0分)
回复  2021-03-02 18:55:28 4

陌涛
铝牌会员
403.85 价值分

yum -y install gcc gcc-c++ kernel-devel

安装完成后,验证

gcc -v
  支持 (0分)  反对 (0分)
回复  2021-03-03 10:01:02 5

陌涛的记事本

amysql
创始人
16530.81 价值分

引用:
lywuji 发表于 2021-03-02 18:55:28
我用得是centos 7 64bit
刚尝试安装gcc
应该没有安装成功吧

[root]# yum install gcc
Loaded plugins: fastestmirror
Loading...

rpm -qa | grep kernel
看下当前内核版本信息。
是否系统改过内核,定制的版本。

或是发个工单这边去安装看。
  支持 (0分)  反对 (0分)
回复  2021-03-03 13:08:53 6

lywuji
铁牌会员
15.00 价值分

引用:
amysql 发表于 2021-03-03 13:08:53
rpm -qa | grep kernel
看下当前内核版本信息。
是否系统改过内核,定制的版本。

或是发个工单这边去安装看。

输入命令 rpm -qa | grep kernel
出现

kernel-tools-libs-3.10.0-1062.7.1.el7.x86_64
kernel-ml-5.4.2-1.el7.elrepo.x86_64
kernel-tools-3.10.0-1062.7.1.el7.x86_64
  支持 (0分)  反对 (0分)
回复  2021-03-03 14:25:43 7

amysql
创始人
16530.81 价值分

引用:
lywuji 发表于 2021-03-03 14:25:43
输入命令 rpm -qa | grep kernel
出现

kernel-tools-libs-3.10.0-1062.7.1.el7.x86_64
kernel-ml-5.4.2-1.el7....

yum install kernel-headers

安装一下kernel-headers。
  支持 (0分)  反对 (0分)
回复  2021-03-03 14:46:19 8

lywuji
铁牌会员
15.00 价值分

引用:
陌涛 发表于 2021-03-03 10:01:02
yum -y install gcc gcc-c++ kernel-devel

安装完成后,验证

gcc -v

[root@ ~]# yum -y install gcc gcc-c++ kernel-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.it.ubc.ca
* elrepo: repos.lax-noc.com
* extras: mirror.it.ubc.ca
* updates: centos.ca-west.mirror.fullhost.io
No package kernel-devel available.
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-44.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: cpp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-44.el7.x86_64
---> Package gcc-c++.x86_64 0:4.8.5-44.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-44.el7 for package: gcc-c++-4.8.5-44.el7.x86_64
--> Processing Dependency: libstdc++ = 4.8.5-44.el7 for package: gcc-c++-4.8.5-44.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-44.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-323.el7_9 will be installed
--> Processing Dependency: glibc-headers = 2.17-323.el7_9 for package: glibc-devel-2.17-323.el7_9.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-323.el7_9.x86_64
---> Package libgomp.x86_64 0:4.8.5-39.el7 will be updated
---> Package libgomp.x86_64 0:4.8.5-44.el7 will be an update
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package libstdc++.x86_64 0:4.8.5-39.el7 will be updated
---> Package libstdc++.x86_64 0:4.8.5-44.el7 will be an update
---> Package libstdc++-devel.x86_64 0:4.8.5-44.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-323.el7_9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-323.el7_9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-323.el7_9.x86_64
--> Finished Dependency Resolution
Error: Package: glibc-headers-2.17-323.el7_9.x86_64 (updates)
Requires: kernel-headers >= 2.2.1
Error: Package: glibc-headers-2.17-323.el7_9.x86_64 (updates)
Requires: kernel-headers
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
  支持 (0分)  反对 (0分)
回复  2021-03-03 14:53:45 9

lywuji
铁牌会员
15.00 价值分

已经安装上 kernel-devel 了,在/etc/yum.conf 中把 exclude=kernel* 改为 #exclude=kernel* 即可安装
然后gcc也顺利安装 amh也安装上去了
  支持 (0分)  反对 (0分)
回复  2021-03-03 15:57:53 10
 1 2 >  (总2页)
AMH社区列表
用户服务中心