mirror of
https://gitlab.com/veilid/veilid-dot-com.git
synced 2025-01-18 02:17:11 -05:00
Adding in additonal info from the main install.md
This commit is contained in:
parent
0c672e1120
commit
e9762ff7f9
@ -7,7 +7,9 @@ layout: subpage
|
|||||||
|
|
||||||
### Step 1
|
### Step 1
|
||||||
|
|
||||||
Get the keys for package repo
|
Add the GPG keys to your operating systems keyring.
|
||||||
|
|
||||||
|
_Explanation_: The wget command downloads the public key, and the sudo gpg command adds the public key to the keyring.
|
||||||
|
|
||||||
<div class="code-snippet">
|
<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">
|
<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">
|
||||||
@ -16,32 +18,64 @@ Get the keys for package repo
|
|||||||
|
|
||||||
### Step 2
|
### Step 2
|
||||||
|
|
||||||
Add the repo to apt
|
Identify your architecture
|
||||||
|
|
||||||
|
_Explanation_: The following command will tell you what type of CPU your system is running
|
||||||
|
|
||||||
<div class="code-snippet">
|
<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'>
|
<input aria-label="Add Keys" type="text" readonly value='dpkg --print-architecture'>
|
||||||
<button class="btn btn-secondary"><span>Copy</span></button>
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### Step 3
|
### Step 3
|
||||||
|
|
||||||
Update your system
|
Add Veilid to your list of available software.
|
||||||
|
|
||||||
|
_Explanation_: Using the command in Step 2 you will need to run one of the following:
|
||||||
|
|
||||||
|
- For **AMD**64 based systems run this command:
|
||||||
|
|
||||||
|
<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" | sudo tee /etc/apt/sources.list.d/veilid.list 1>/dev/null'>
|
||||||
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
- For **ARM**64 based systems run this command:
|
||||||
|
|
||||||
|
<div class="code-snippet">
|
||||||
|
<input aria-label="Add Keys" type="text" readonly value=echo "deb [arch=arm64 signed-by=/usr/share/keyrings/veilid-packages-keyring.gpg] https://packages.veilid.net/apt stable main" | sudo tee /etc/apt/sources.list.d/veilid.list 1>/dev/null'>
|
||||||
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
_Explanation_: Each of the above commands will create a new file called `veilid.list` in the `/etc/apt/sources.list.d/`. This file contains instructions that tell the operating system where to download Veilid.
|
||||||
|
|
||||||
|
### Step 4
|
||||||
|
|
||||||
|
Refresh the package manager.
|
||||||
|
|
||||||
|
_Explanation_: This tells the `apt` package manager to rebuild the list of available software using the files in `/etc/apt/sources.list.d/` directory
|
||||||
|
|
||||||
<div class="code-snippet">
|
<div class="code-snippet">
|
||||||
<input aria-label="Run Updates" type="text" readonly value="apt update">
|
<input aria-label="Run Updates" type="text" readonly value="apt update">
|
||||||
<button class="btn btn-secondary"><span>Copy</span></button>
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### Step 4
|
#### Step 5
|
||||||
|
|
||||||
Install `veilid-server` and `veilid-cli`
|
Install Veilid.
|
||||||
|
|
||||||
|
_Explanation_: With the package manager updated, it is now possible to install Veilid!
|
||||||
|
|
||||||
<div class="code-snippet">
|
<div class="code-snippet">
|
||||||
<input aria-label="Install the headless and command line utilities" type="text" readonly value="apt install veilid-server veilid-cli">
|
<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>
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### Step 5
|
<hr />
|
||||||
|
|
||||||
|
The remaining steps are optional.
|
||||||
|
|
||||||
|
### Step 6
|
||||||
|
|
||||||
Start `veilid-server.service` manually
|
Start `veilid-server.service` manually
|
||||||
|
|
||||||
@ -50,7 +84,7 @@ Start `veilid-server.service` manually
|
|||||||
<button class="btn btn-secondary"><span>Copy</span></button>
|
<button class="btn btn-secondary"><span>Copy</span></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### Step 6
|
### Step 7
|
||||||
|
|
||||||
Set up `veilid-server.service` to start at boot
|
Set up `veilid-server.service` to start at boot
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user