2021-09-11 11:31:31 +00:00
|
|
|
# Unofficial Innernet APT Repository
|
|
|
|
|
2023-05-12 14:46:32 +00:00
|
|
|
This is a Debian/Ubuntu APT repository containing `.deb` files from https://github.com/tonarino/innernet/releases.
|
|
|
|
The updates are fully reproducible through GitHub Actions.
|
2021-09-11 11:31:31 +00:00
|
|
|
|
|
|
|
For more information, see https://github.com/tonarino/innernet.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
### Adding the Repository
|
|
|
|
|
2023-02-17 15:25:34 +00:00
|
|
|
```sh
|
2023-05-12 14:46:32 +00:00
|
|
|
codename=$(lsb_release --codename --short)
|
2023-02-17 15:25:34 +00:00
|
|
|
curl -sS https://tommie.github.io/innernet-debian/repository.asc | sudo tee /etc/apt/keyrings/github-tommie-innernet.asc >/dev/null
|
|
|
|
cat >/etc/apt/sources.list.d/innernet.list <<EOF
|
2023-05-12 14:46:32 +00:00
|
|
|
deb [signed-by=/etc/apt/keyrings/github-tommie-innernet.asc] https://tommie.github.io/innernet-debian/debian $codename contrib
|
2021-09-11 11:31:31 +00:00
|
|
|
EOF
|
2023-02-17 15:25:34 +00:00
|
|
|
apt update
|
2021-09-11 11:31:31 +00:00
|
|
|
```
|
|
|
|
|
2023-05-12 14:46:32 +00:00
|
|
|
See [`dists/`](https://github.com/tommie/innernet-debian/tree/main/debian/dists) for supported codenames.
|
2023-05-13 06:39:15 +00:00
|
|
|
Debian 11 (Bullseye) is served by `focal`.
|
|
|
|
There is a symlink in place to allow `bullseye`, which will cause APT to warn that the codenames missmatch.
|
|
|
|
In the end, both names work.
|
2023-05-12 14:46:32 +00:00
|
|
|
|
2021-09-11 11:31:31 +00:00
|
|
|
### Installing the Server
|
|
|
|
|
2023-05-12 14:46:32 +00:00
|
|
|
This is installed on the coordination server machine.
|
|
|
|
It needs to be accessible from all peers.
|
2021-09-11 11:31:31 +00:00
|
|
|
|
|
|
|
```shell
|
2023-02-17 15:25:34 +00:00
|
|
|
$ sudo apt install innernet-server
|
2021-09-11 11:31:31 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Installing the Peer Client
|
|
|
|
|
|
|
|
This is installed on all peers.
|
|
|
|
|
|
|
|
```shell
|
2023-02-17 15:25:34 +00:00
|
|
|
$ sudo apt install innernet
|
2021-09-11 11:31:31 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2023-05-12 14:46:32 +00:00
|
|
|
The repository maintenance code itself is under the MIT License.
|
|
|
|
See also [LICENSE in tonarino/innernet](https://github.com/tonarino/innernet/blob/main/LICENSE).
|