2024-10-03 16:59:48 +00:00
|
|
|
# Installation
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-10-03 16:59:48 +00:00
|
|
|
This document will guide you through the process of obtaining and installing
|
|
|
|
Isle on your machine.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2023-01-29 18:01:58 +00:00
|
|
|
NOTE currently only linux machines with the following architectures are
|
|
|
|
supported:
|
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
- `x86_64` (aka `amd64`)
|
|
|
|
- `aarch64` (aka `arm64`)
|
2023-01-29 18:01:58 +00:00
|
|
|
- `i686`
|
2024-12-19 16:49:10 +00:00
|
|
|
- `armv6l` (For older Raspberry Pis)
|
2023-01-29 18:01:58 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
(`i686` has not been tested.)
|
2023-01-29 18:01:58 +00:00
|
|
|
|
2021-04-20 21:31:37 +00:00
|
|
|
More OSs and architectures coming soon!
|
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
## Install isle
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
How isle gets installed depends on which Linux distribution you are using.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
### Archlinux (also Manjaro)
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
Download the latest `.pkg.tar.zst` package file for your platform from
|
|
|
|
[this link][latest].
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
Install the package using pacman:
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-12-18 20:54:15 +00:00
|
|
|
```bash
|
2024-07-07 11:37:26 +00:00
|
|
|
sudo pacman -U /path/to/isle-*.pkg.tar.zst
|
2021-04-20 21:31:37 +00:00
|
|
|
```
|
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
### Other Distributions
|
2022-10-07 19:05:51 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
If a package file is not available for your distribution you can still install
|
|
|
|
an AppImage directly. It is assumed that all commands below are run as root.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
Download the latest `.AppImage` binary for your platform from
|
|
|
|
[this link][latest], and place it in your `/usr/bin` directory.
|
2022-10-07 19:05:51 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
Create a `daemon.yml` file using default values by doing:
|
2024-12-18 20:54:15 +00:00
|
|
|
|
|
|
|
```bash
|
2024-07-07 11:37:26 +00:00
|
|
|
mkdir -p /etc/isle/
|
|
|
|
isle daemon --dump-config > /etc/isle/daemon.yml
|
|
|
|
```
|
2023-12-23 16:06:16 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
Create a system user for the isle daemon to run as:
|
2024-12-18 20:54:15 +00:00
|
|
|
|
|
|
|
```bash
|
2024-07-07 11:37:26 +00:00
|
|
|
useradd -r -s /bin/false -C "isle Daemon" isle
|
|
|
|
```
|
2023-12-23 16:06:16 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
If your distro uses systemd, download [the latest systemd service
|
|
|
|
file][serviceFile] and place it in `/etc/systemd/system`. Run `systemctl
|
|
|
|
daemon-reload` to ensure systemd has seen the new service file.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
If your distro uses an init system other than systemd then you will need to
|
|
|
|
configure that yourself. You can use the systemd service file linked above as a
|
|
|
|
reference.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-10-03 16:59:48 +00:00
|
|
|
[latest]: https://code.betamike.com/micropelago/isle/releases/latest
|
2024-07-07 11:37:26 +00:00
|
|
|
[serviceFile]: https://code.betamike.com/micropelago/isle/src/branch/main/dist/linux/isle.service
|
|
|
|
|
|
|
|
### From Source
|
|
|
|
|
2024-10-03 16:59:48 +00:00
|
|
|
If you'd like to build your own `isle` binary from scratch, see the [Building
|
|
|
|
Isle](./dev/building.md) document.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
## Add Users to the `isle` Group (Optional)
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
If you wish to run isle commands as a user other than root, you can add that
|
|
|
|
user to the `isle` group:
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-12-18 20:54:15 +00:00
|
|
|
```bash
|
2024-07-07 11:37:26 +00:00
|
|
|
sudo usermod -aG isle username
|
2021-04-20 21:31:37 +00:00
|
|
|
```
|
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
## Start the isle Service
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
Once installed and bootstrapped you can enable and start the isle service by
|
|
|
|
doing:
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2024-12-18 20:54:15 +00:00
|
|
|
```bash
|
2023-08-05 21:53:17 +00:00
|
|
|
sudo systemctl enable --now isle
|
2021-04-20 21:31:37 +00:00
|
|
|
```
|
|
|
|
|
2024-07-07 11:37:26 +00:00
|
|
|
(NOTE If your distro uses an init system other than systemd then you will need
|
|
|
|
to instead start isle according to that system's requirements.)
|