mirror of https://github.com/statping/statping
Updated Linux (markdown)
parent
e2843892fc
commit
9697cb2b1a
4
Linux.md
4
Linux.md
|
@ -1,7 +1,7 @@
|
||||||
# Installing on Linux
|
# Installing on Linux
|
||||||
Installing Statup on Linux is a 1 line command. It's that easy.
|
Installing Statup on Linux is a 1 line command. It's that easy.
|
||||||
```
|
```
|
||||||
bash <(curl -s https://statup.io/install.sh)
|
bash <(curl -s https://assets.statup.io/install.sh)
|
||||||
statup version
|
statup version
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ You're Statup server will now automatically restart when your server restarts.
|
||||||
You can even run Statup on your Raspberry Pi by installing the precompiled binary from [Latest Releases](https://github.com/hunterlong/statup/releases/latest). For the Raspberry Pi 3 you'll want to download the `statup-linux-arm7.tar.gz` file. Be sure to change `VERSION` to the latest version in Releases, and include the 'v'.
|
You can even run Statup on your Raspberry Pi by installing the precompiled binary from [Latest Releases](https://github.com/hunterlong/statup/releases/latest). For the Raspberry Pi 3 you'll want to download the `statup-linux-arm7.tar.gz` file. Be sure to change `VERSION` to the latest version in Releases, and include the 'v'.
|
||||||
|
|
||||||
```
|
```
|
||||||
VERSION=v0.24
|
VERSION=$(curl -s "https://github.com/hunterlong/statup/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}')
|
||||||
wget https://github.com/hunterlong/statup/releases/download/$VERSION/statup-linux-arm7.tar.gz
|
wget https://github.com/hunterlong/statup/releases/download/$VERSION/statup-linux-arm7.tar.gz
|
||||||
tar -xvzf statup-linux-arm7.tar.gz
|
tar -xvzf statup-linux-arm7.tar.gz
|
||||||
chmod +x statup
|
chmod +x statup
|
||||||
|
|
Loading…
Reference in New Issue