安装 prometheus 报错 prometheus:prometheus:cannot execute binary file

安装 prometheus 报错 prometheus: prometheus: cannot execute binary file

./prometheus: ./prometheus: cannot execute binary file

查看CPU:

[root@yepk prometheus-2.20.1.darwin-386]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
Stepping:              4
CPU MHz:               2500.012
BogoMIPS:              5000.02
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              33792K
NUMA node0 CPU(s):     0-7

解决办法:你的CPU是Intel的但你安装的是amd的,所以装不上,下载x86的包即可。

https://github.com/prometheus/prometheus/releases/download/v2.20.1/prometheus-2.20.1.linux-386.tar.gz

评论

企鹅群:39438021

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×