mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2024-11-10 03:20:25 +00:00
platform-linux: use /usr/local/bin for other distributions
Usually /usr/ should be left for package managers and if something is installed outside of package manager, it belongs to /usr/local
This commit is contained in:
parent
6589c864ba
commit
8a635f9a4e
@ -111,13 +111,13 @@ sudo systemctl start yggdrasil
|
||||
|
||||
[Download the latest Yggdrasil binary](https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts) and install it:
|
||||
```
|
||||
sudo cp ~/yggdrasil-x.x.xx-linux-amd64 /usr/bin/yggdrasil
|
||||
sudo chmod +x /usr/bin/yggdrasil
|
||||
sudo cp ~/yggdrasil-x.x.xx-linux-amd64 /usr/local/bin/yggdrasil
|
||||
sudo chmod +x /usr/local/bin/yggdrasil
|
||||
```
|
||||
Alternatively, compile Yggdrasil from source (below) and install:
|
||||
```
|
||||
sudo cp /path/to/yggdrasil-go/yggdrasil /usr/bin/yggdrasil
|
||||
sudo chmod +x /usr/bin/yggdrasil
|
||||
sudo cp /path/to/yggdrasil-go/yggdrasil /usr/local/bin/yggdrasil
|
||||
sudo chmod +x /usr/local/bin/yggdrasil
|
||||
```
|
||||
|
||||
## Generate configuration
|
||||
|
Loading…
Reference in New Issue
Block a user