2023-08-20 21:26:55 +00:00
|
|
|
---
|
2023-08-20 21:35:06 +00:00
|
|
|
title: Debian Install
|
|
|
|
description: How to install `veilid-server` and `veilid-cli` on Debian based systems
|
|
|
|
weight: 3
|
2023-08-20 21:26:55 +00:00
|
|
|
layout: subpage
|
|
|
|
---
|
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
### Step 1
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
Get the keys for package repo
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
<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>
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
### Step 2
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
Add the repo to apt
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
<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>
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
### Step 3
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
Update your system
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
<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>
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
### Step 4
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
Install `veilid-server` and `veilid-cli`
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
<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>
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
### Step 5
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
Start `veilid-server.service` manually
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
<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>
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
### Step 6
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
Set up `veilid-server.service` to start at boot
|
2023-08-20 21:26:55 +00:00
|
|
|
|
2023-08-20 21:35:06 +00:00
|
|
|
<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>
|
2023-08-20 21:26:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|