mirror of
https://gitlab.com/veilid/veilid-dot-com.git
synced 2024-10-01 01:05:53 -04:00
65 lines
1.9 KiB
Markdown
65 lines
1.9 KiB
Markdown
---
|
|
title: Debian Install
|
|
description: How to install `veilid-server` and `veilid-cli` on Debian based systems
|
|
weight: 3
|
|
layout: subpage
|
|
---
|
|
|
|
### Step 1
|
|
|
|
Get the keys for package repo
|
|
|
|
<div class="code-snippet">
|
|
<input aria-label="Get Keys" type="text" readonly value="wget -O- https://packages.veilid.net/gpg/veilid-packages-key.public | sudo gpg --dearmor -o /usr/share/keyrings/veilid-packages-keyring.gpg">
|
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
|
</div>
|
|
|
|
### Step 2
|
|
|
|
Add the repo to apt
|
|
|
|
<div class="code-snippet">
|
|
<input aria-label="Add Keys" type="text" readonly value='echo "deb [arch=amd64 signed-by=/usr/share/keyrings/veilid-packages-keyring.gpg] https://packages.veilid.net/apt stable main" > /etc/apt/sources.list.d/veilid.list'>
|
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
|
</div>
|
|
|
|
### Step 3
|
|
|
|
Update your system
|
|
|
|
<div class="code-snippet">
|
|
<input aria-label="Run Updates" type="text" readonly value="apt update">
|
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
|
</div>
|
|
|
|
### Step 4
|
|
|
|
Install `veilid-server` and `veilid-cli`
|
|
|
|
<div class="code-snippet">
|
|
<input aria-label="Install the headless and command line utilities" type="text" readonly value="apt install veilid-server veilid-cli">
|
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
|
</div>
|
|
|
|
### Step 5
|
|
|
|
Start `veilid-server.service` manually
|
|
|
|
<div class="code-snippet">
|
|
<input aria-label="Install the headless and command line utilities" type="text" readonly value="sudo systemctl start veilid-server.service">
|
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
|
</div>
|
|
|
|
### Step 6
|
|
|
|
Set up `veilid-server.service` to start at boot
|
|
|
|
<div class="code-snippet">
|
|
<input aria-label="Install the headless and command line utilities" type="text" readonly value="sudo systemctl enable --now veilid-server.service">
|
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
|
</div>
|
|
|
|
|
|
|
|
|