Skip to content

Commit

Permalink
Update installation.md (cloudflare#988)
Browse files Browse the repository at this point in the history
Added information on how to install cloudflared for Linux machines.

Co-authored-by: abracchi-tw <[email protected]>
  • Loading branch information
tenaciousdlg and abracchi-tw authored Mar 25, 2021
1 parent a988234 commit 759b9a5
Showing 1 changed file with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,41 @@ Binary | [Download](https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux

</TableWrap>

### `.deb` install

Use the `deb` package manager to install `cloudflared` on compatable machines. `amd64 / x86-64` package in this example.

```sh
wget -q https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-amd64.deb
dpkg -i cloudflared-stable-linux-amd64.deb
```

### `.rpm` install

Use the `rpm` package manager to install `cloudflared` on compatable machines. `amd64 / x86-64` is used in this example.

```sh
wget -q https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-amd64.rpm
rpm -ivh cloudflared-stable-linux-amd64.rpm
```

### Build from source

You can also build the latest version of `cloudflared` from source with the following steps.

```sh
$ git clone https://github.com/cloudflare/cloudflared.git
$ cd cloudflared
$ make cloudflared
$ go install github.com/cloudflare/cloudflared/cmd/cloudflared
```

Depending on where you installed `cloudflared`, you can move it to a known path as well.

```sh
mv /root/cloudflared/cloudflared /usr/bin/cloudflared
```

## Docker

A Docker image of `cloudflared` is [available on DockerHub](https://hub.docker.com/r/cloudflare/cloudflared).
Expand Down

0 comments on commit 759b9a5

Please sign in to comment.