Skip to content

Commit 219cecb

Browse files
README: install from the v1.0.0 release; fix sibling link to pingping
1 parent bb2a564 commit 219cecb

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,32 @@ Just scp and run
44

55
fogping is the SQLite build of the smoke-graph probe: same oscilloscope UI, same
66
zero-config target lists, but rounds land in an embedded SQLite file with
7-
in-process rollup and retention. Its sibling [fogping](https://github.com/githubflyideas/fogping)
7+
in-process rollup and retention. Its sibling [pingping](https://github.com/githubflyideas/pingping)
88
keeps the plain-JSONL storage.
99

1010
```bash
11-
git clone https://github.com/githubflyideas/fogping.git
12-
cd fogping
13-
CGO_ENABLED=1 go build -trimpath -ldflags "-s -w" -o fogping .
11+
mkdir -p /home/fogping && cd /home/fogping
12+
13+
wget https://github.com/githubflyideas/fogping/releases/download/v1.0.0/fogping-v1.0.0-linux-amd64.tar.gz
14+
tar -zxvf fogping-v1.0.0-linux-amd64.tar.gz
1415
./fogping user=admin passwd=admin
1516
```
17+
18+
Or build it yourself (cgo required):
19+
20+
```bash
21+
git clone https://github.com/githubflyideas/fogping.git && cd fogping
22+
CGO_ENABLED=1 go build -trimpath -ldflags "-s -w" -o fogping .
23+
```
1624
Open http://localhost:8518 and watch your first puff of network smoke
1725

1826
Storage is SQLite (`data/fogping.db`); history is kept for 40 days by default
1927
(`--days=300` for longer). Rollup and pruning run in-process — there is nothing
2028
to cron.
2129

2230
Build note: SQLite goes through `mattn/go-sqlite3`, so cgo is required and
23-
linux/amd64 is the supported target. `.goreleaser.yaml` builds a statically
24-
linked tarball if you ever push a `v*` tag.
31+
linux/amd64 is the only released target. The published tarball is statically
32+
linked — it does not depend on the build host's glibc.
2533

2634
-----------------------------------------------------------
2735
Add target host

0 commit comments

Comments
 (0)