简体   繁体   English

尝试在新的 Raspberry Pi 安装上安装 cloudflared 时出现“非法指令”错误

[英]Getting "Illegal Instruction" error when trying to install cloudflared on a fresh Raspberry Pi install

I am following the guide here for 32bit raspberry pi: https://bendews.com/posts/implement-dns-over-https/我正在遵循 32 位树莓派的指南: https : //bendews.com/posts/implement-dns-over-https/

At the very first step after "cloudflared -v" here I get an "illegal instruction" error and I can't proceed.在“cloudflared -v”之后的第一步,我收到“非法指令”错误,无法继续。

wget https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-arm.tgz
tar -xvzf cloudflared-stable-linux-arm.tgz
sudo cp ./cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v

This is on a fresh install of raspbian on a raspberry pi 1 B+ with all the necessary updates.这是在具有所有必要更新的 raspberry pi 1 B+ 上全新安装的 raspbian。 I have re-formatted and started from the beginning twice now so I'm curious if anyone knows what is incorrect here?我已经重新格式化并从头开始两次,所以我很好奇是否有人知道这里有什么不正确?

Thanks for any help.谢谢你的帮助。

Turns out you need to use cloudflared for pi zero/A etc for this to work from here:原来你需要使用 cloudflared for pi zero/A 等才能从这里开始工作:

https://hobin.ca/cloudflared/ https://hobin.ca/cloudflared/

just wget the "https://hobin.ca/cloudflared/releases/2020.10.0/cloudflared_2020.10.0_arm.tar.gz"只需获取“https://hobin.ca/cloudflared/releases/2020.10.0/cloudflared_2020.10.0_arm.tar.gz”

and then tar that file name.然后tar那个文件名。

worked for me为我工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM