Skip to content

Commit

Permalink
[DOCS] Make linux installation instructions more clear (juanfont#1927)
Browse files Browse the repository at this point in the history
* Make linux installation instructions more clear

* Update running-headscale-linux.md
  • Loading branch information
pastudan authored May 6, 2024
1 parent 93a915c commit 2bac80c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/running-headscale-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@ configuration (`/etc/headscale/config.yaml`).

## Installation

1. Download the latest Headscale package for your platform (`.deb` for Ubuntu and Debian) from [Headscale's releases page](https://github.com/juanfont/headscale/releases):
1. Download the [latest Headscale package](https://github.com/juanfont/headscale/releases/latest) for your platform (`.deb` for Ubuntu and Debian).

```shell
HEADSCALE_VERSION="" # See above URL for latest version, e.g. "X.Y.Z" (NOTE: do not add the "v" prefix!)
HEADSCALE_ARCH="" # Your system architecture, e.g. "amd64"
wget --output-document=headscale.deb \
https://github.com/juanfont/headscale/releases/download/v<HEADSCALE VERSION>/headscale_<HEADSCALE VERSION>_linux_<ARCH>.deb
"https://github.com/juanfont/headscale/releases/download/v${HEADSCALE_VERSION}/headscale_${HEADSCALE_VERSION}_linux_${HEADSCALE_ARCH}.deb"
```

1. Install Headscale:

```shell
sudo apt install headscale.deb
sudo apt install ./headscale.deb
```

1. Enable Headscale service, this will start Headscale at boot:
Expand Down

0 comments on commit 2bac80c

Please sign in to comment.