Cloudflared: minor tweaks

* move armhf before arm64 since this is still the most common
* fix a comment
* stop renaming the downloaded binary

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2021-08-05 16:18:20 +03:00
parent 27f1d9c704
commit af57dfbc96
+10 -12
View File
@@ -35,17 +35,6 @@ sudo yum install ./cloudflared-linux-x86_64.rpm
cloudflared -v
```
**Note:** Binaries for other operating systems can be found here: <https://developers.cloudflare.com/argo-tunnel/downloads/>
#### arm64 architecture (64-bit Raspberry Pi)
```bash
wget -O cloudflared https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64
sudo mv cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v
```
#### armhf architecture (32-bit Raspberry Pi)
Here we are downloading the precompiled binary and copying it to the `/usr/local/bin/` directory to allow execution by the cloudflared user. Proceed to run the binary with the `-v` flag to check it is all working:
@@ -59,6 +48,15 @@ cloudflared -v
Note: Users [have reported](https://github.com/cloudflare/cloudflared/issues/38) that the current version of cloudflared produces a segementation fault error on Raspberry Pi Zero W, Model 1B and 2B. As a workaround you can use an older version provided at <https://bin.equinox.io/a/4SUTAEmvqzB/cloudflared-2018.7.2-linux-arm.tar.gz> instead.
#### arm64 architecture (64-bit Raspberry Pi)
```bash
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64
sudo cp ./cloudflared-linux-arm64 /usr/local/bin/cloudflared
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v
```
#### `cloudflared` archive page
You can find all `cloudflared` binary releases on <https://github.com/cloudflare/cloudflared/releases>.
@@ -147,7 +145,7 @@ proxy-dns-port: 5053
proxy-dns-upstream:
- https://1.1.1.1/dns-query
- https://1.0.0.1/dns-query
#Uncomment following if you want to also want to use IPv6 for external DOH lookups
# Uncomment the following if you also want to use IPv6 for external DOH lookups
#- https://[2606:4700:4700::1111]/dns-query
#- https://[2606:4700:4700::1001]/dns-query
```