5
0
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:
Mikaela Suomalainen 2019-02-10 16:59:58 +02:00
parent 6589c864ba
commit 8a635f9a4e
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -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