VaultWarden: Difference between revisions
From FlowerHouseWiki
(→Rust) |
|||
Line 26: | Line 26: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<p>Create :</p> | <p>Create environment variable:</p> | ||
<syntaxhighlight lang="console" line> | <syntaxhighlight lang="console" line> | ||
echo 'export PATH=~/.cargo/bin:$PATH' >> ~/.bashrc | echo 'export PATH=~/.cargo/bin:$PATH' >> ~/.bashrc | ||
Line 33: | Line 33: | ||
<p>After running following command:</p> | <p>After running following command:</p> | ||
<syntaxhighlight lang="console" | <syntaxhighlight lang="console"> | ||
which rustc | which rustc | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<p>It should show the path:</p> | <p>It should show the path:</p> | ||
<syntaxhighlight lang="console" | <syntaxhighlight lang="console"> | ||
/home/bitwarden/.cargo/bin/cargo | /home/bitwarden/.cargo/bin/cargo | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 18:34, 23 February 2021
IP: | 192.168.88.?? |
---|---|
MAC: | B6:04:55:14:93:89 |
Domain: | keys.flowerhouse.at |
OS: | Debian Buster |
---|---|
RAM: | 512MB |
Cores: | 1 |
Privileged: | No |
The BitWarden-LXC is reachable under 192.168.88.??
which is located in the ServerVLAN.
The subdomain is keys.flowerhouse.at which is handled by the ReverseProxy.
Basic Setup
The original BitWarden-Server is only available with docker, this an alternative software programmed with rust.
Install the required packages:
apt install git nano curl wget htop pkg-config openssl libssl1.1 libssl-dev build-essential
Rust
Download an start script and follow installer:
curl https://sh.rustup.rs -sSf | sh
Create environment variable:
echo 'export PATH=~/.cargo/bin:$PATH' >> ~/.bashrc
export PATH=~/.cargo/bin:$PATH
After running following command:
which rustc
It should show the path:
/home/bitwarden/.cargo/bin/cargo
NodeJS
D
D