|
1 | 1 | # Installation for Slicer for Linux |
2 | 2 |
|
3 | | -Don't wait for the perfect system. Slicer can run practically anywhere. |
| 3 | +Looking for Slicer for Mac? See the [Slicer for Mac installation guide](/mac/installation). |
4 | 4 |
|
5 | | -To activate Slicer, pick the tier that matches your use-case on the [Slicer pricing page](https://slicervm.com/pricing). A free trial is available. |
| 5 | +## System requirements |
6 | 6 |
|
7 | | -If you need Slicer for Mac instead, use the [Slicer for Mac installation guide](/mac/installation) first. |
| 7 | +You can run Slicer on a varied range of hardware, from mini PCs, to your Mac, to cloud-based VMs with nested virtualisation support. |
8 | 8 |
|
9 | | -After the installation, when you run `slicer activate` you'll get an invite link to the Discord server. We highly recommend joining. |
| 9 | +* Bare-metal or nested virtualisation |
| 10 | +* x86_64 or Arm64 (including Raspberry Pi) |
| 11 | +* Ubuntu LTS is the preferred/supported OS (Debian, and RHEL-like should also work) |
10 | 12 |
|
11 | | -## System requirements |
| 13 | +See the [appendix](#appendix) for suggested local hardware and cloud-based options. |
12 | 14 |
|
13 | | -Any reasonably modern computer can run Slicer, the requirements are very low - x86_64 or Arm64 (including the Raspberry Pi). |
| 15 | +Slicer is designed to run on a basic OS installation, without Docker, Kubernetes, or other virtualisation tools. Slicer installs and manage its own dependencies, such as Firecracker, Cloud Hypervisor, and containerd. |
14 | 16 |
|
15 | | -Ideal for labs and the home office: |
| 17 | +## Quick installation |
16 | 18 |
|
17 | | -* Low powered mini PC i.e. [Intel N100](https://blog.alexellis.io/n100-mini-computer/), Beelink, Minisforum, Acemagic, etc |
18 | | -* [Adlink Ampere Developer Platform](https://www.adlinktech.com/Products/computer_on_modules/COM-HPC-Server-Carrier-and-Starter-Kit/Ampere_Altra_Developer_Platform?lang=en) / [system76 Thelio Astra](https://system76.com/desktops/thelio-astra-a1.1-n1/configure) / [Raspberry Pi 4 or 5](https://www.raspberrypi.com/products/raspberry-pi-5/) (an NVMe is better than SD card) |
19 | | -* Mac Mini M1 or M2 (with [Asahi Linux](https://asahilinux.org/) installed) |
20 | | -* PC, laptop, or used server from eBay - under your desk or in your basement. |
| 19 | +The default slicer installation only enables support for [`image` storage](/storage/overview). Additional storage backends for [zfs](/storage/zfs) or [devmapper](/storage/devmapper) can be enabled using the `--zfs` and `--devmapper` flags. See [Snapshot-based storage](#snapshot-based-storage). |
21 | 20 |
|
22 | | -Cloud-based bare-metal: |
| 21 | +```sh |
| 22 | +curl -sLS https://get.slicervm.com | sudo bash |
| 23 | +``` |
23 | 24 |
|
24 | | -* [Hetzner bare-metal](https://www.hetzner.com/bare-metal-server) aka "robot" (cheapest, best value) |
25 | | -* [Phoenix NAP](https://phoenixnap.com/bare-metal-cloud/instances) |
26 | | -* [Latitude.sh](https://www.latitude.sh/features) |
| 25 | +> See also: [installation script](https://github.com/slicervm/slicervm.com/blob/master/get.sh) |
27 | 26 |
|
28 | | -Additional cloud-based options for KVM are [included on this page on our sister site (Actuated)](https://docs.actuated.com/provision-server/) |
| 27 | +The installer sets up [Firecracker](https://firecracker-microvm.github.io), [Cloud Hypervisor](https://github.com/cloud-hypervisor/cloud-hypervisor), [containerd](https://containerd.io/) for storage, and a few networking options. |
29 | 28 |
|
30 | | -Enterprise: |
| 29 | +**Setup the license key** |
31 | 30 |
|
32 | | -* On-premises datacenter with your own bare-metal servers |
33 | | -* OpenStack / VMware (with nested virtualisation) |
34 | | -* Azure, DigitalOcean, GCP VMs (with nested virtualisation) |
| 31 | +If you have a subscription for Slicer Individual, Team or Platform, then you'll have received a license key via email. Save it to ~/.slicer/LICENSE`. This license will not expire, so long as your subscription remains active. |
35 | 32 |
|
36 | | -A Linux system with KVM is required (bare-metal or nested virtualisation), so if you see `/dev/kvm`, Slicer will work there. |
| 33 | +If you're paying for Slicer Individual via GitHub Sponsors, then after installation, you should run `slicer activate` to link your GitHub account to your Slicer installation. The keys for sponsors last for 30 days, but can be refreshed using the same command. |
37 | 34 |
|
38 | | -Ubuntu LTS is formally supported, whilst Debian, Fedora, RHEL-like Operating Systems (Rocky, Alma, CentOS), and Arch Linux should work - we won't be able to debug your system. |
| 35 | +Next, start your first VM with the [walk through](/getting-started/walkthrough). |
39 | 36 |
|
40 | | -Ideally, nothing else should be installed on a host that runs Slicer. It should be thought of as a basic appliance - a bare OS, with minimal packages. |
| 37 | +For production, use [snapshot based storage](#snapshot-based-storage) for near-instance VM creation times. |
41 | 38 |
|
42 | | -## Quick installation |
| 39 | +### Updating slicer |
43 | 40 |
|
44 | | -The default slicer installation only enables support for [`image` storage](/storage/overview). Additional storage backends for [zfs](/storage/zfs) or [devmapper](/storage/devmapper) can be enabled using the `--zfs` and `--devmapper` flags. See [Snapshot-based storage](#snapshot-based-storage). |
| 41 | +To update Slicer, use the `slicer update` command: |
45 | 42 |
|
46 | | -```sh |
47 | | -curl -sLS https://get.slicervm.com | sudo bash |
| 43 | +```bash |
| 44 | +sudo slicer update |
48 | 45 | ``` |
49 | 46 |
|
50 | | -The installer sets up [Firecracker](https://firecracker-microvm.github.io), [Cloud Hypervisor](https://github.com/cloud-hypervisor/cloud-hypervisor), [containerd](https://containerd.io/) for storage, and a few networking options. |
| 47 | +## Appendix |
51 | 48 |
|
52 | | -> Feel free to read/verify [the installation script](https://get.slicervm.com) before running it. |
| 49 | +### Local hardware for Slicer |
53 | 50 |
|
54 | | -Additional storage backends can always be enabled later by running the installer again with the appropriate flags. |
| 51 | +Ideal for labs/or and the home office: |
55 | 52 |
|
56 | | -If you have a subscription for Slicer Individual, Team or Platform, then you'll have received a license key via email. Save it to ~/.slicer/LICENSE`. |
| 53 | +* Low powered mini PC i.e. [Intel N100](https://blog.alexellis.io/n100-mini-computer/), Beelink, Minisforum, Acemagic, etc |
| 54 | +* [Adlink Ampere Developer Platform](https://www.adlinktech.com/Products/computer_on_modules/COM-HPC-Server-Carrier-and-Starter-Kit/Ampere_Altra_Developer_Platform?lang=en) / [system76 Thelio Astra](https://system76.com/desktops/thelio-astra-a1.1-n1/configure) / [Raspberry Pi 4 or 5](https://www.raspberrypi.com/products/raspberry-pi-5/) (an NVMe is better than SD card) |
| 55 | +* Mac Mini M1 or M2 (with [Asahi Linux](https://asahilinux.org/) installed) |
| 56 | +* PC, laptop, or used server from eBay - under your desk or in your basement. |
57 | 57 |
|
58 | | -If you're using the GitHub Sponsors bundle for SlicerVM, K3sup Pro and Superterm, then you can run `slicer activate` to obtain a key with your GitHub account. The key will last for 30 days, but can be refreshed via `slicer activate`. When refreshing, it'll use the stored GitHub token, instead of running the device flow again. |
| 58 | +### Cloud options for Slicer |
59 | 59 |
|
60 | | -Next, start your first VM with the [walk through](/getting-started/walkthrough). |
| 60 | +Cloud-based bare-metal: |
61 | 61 |
|
62 | | -## Snapshot-based storage |
| 62 | +* [Hetzner bare-metal](https://www.hetzner.com/bare-metal-server) aka "robot" (cheapest, best value) |
| 63 | +* [Phoenix NAP](https://phoenixnap.com/bare-metal-cloud/instances) |
| 64 | +* [Latitude.sh](https://www.latitude.sh/features) |
| 65 | + |
| 66 | +Enterprise: |
| 67 | + |
| 68 | +* On-premises datacenter with your own bare-metal servers |
| 69 | +* OpenStack / VMware (with nested virtualisation) |
| 70 | +* Azure, DigitalOcean, GCP VMs (with nested virtualisation) |
| 71 | + |
| 72 | +Additional cloud-based options for KVM are [included on this page on our sister site (Actuated)](https://docs.actuated.com/provision-server/) |
| 73 | + |
| 74 | +### Snapshot-based storage |
63 | 75 |
|
64 | 76 | Snapshot-based storage is not required for development and testing, instead, it's recommended that most users use the `image` storage approach instead, until they want to trade a little extra setup, for much improved VM disk clone times. |
65 | 77 |
|
@@ -100,17 +112,3 @@ curl -sLS https://get.slicervm.com | sudo bash -s -- \ |
100 | 112 |
|
101 | 113 | The `--devmapper` and `--zfs` flags can be used together to enable both storage backends. |
102 | 114 |
|
103 | | -## Updating slicer |
104 | | - |
105 | | -To update Slicer, use the `slicer update` command: |
106 | | - |
107 | | -```bash |
108 | | -sudo slicer update |
109 | | -``` |
110 | | - |
111 | | -Alternatively, if you're on an earlier version, repeat this command from the installation step: |
112 | | - |
113 | | -```bash |
114 | | -sudo arkade oci install ghcr.io/openfaasltd/slicer:latest \ |
115 | | - --path /usr/local/bin |
116 | | -``` |
0 commit comments