36 lines
1.6 KiB
Markdown
36 lines
1.6 KiB
Markdown
# ⚠️**IMPORTANT**⚠️:
|
|
## This script is still a work-in-progress and the instructions of use need to be completed, so please DONT use it in a production or real-world enviroment yet or for anything else other than testing.
|
|
# Vaultwarden_Setup_Script
|
|
|
|
This is a setup script to create a self-hosted Vaultwarden server (formaly Bitwarden_RS).
|
|
|
|
## To learn more about [Vaultwarden](https://github.com/dani-garcia/vaultwarden), please click [Here fore the Wiki](https://github.com/dani-garcia/vaultwarden/wiki).
|
|
|
|
## This script asumes a couple of things, such as; that you know how to setup and secure a OS or hosting enviroment, that you have use of or know how to register aand configure a domain.
|
|
|
|
## Prerequisites
|
|
|
|
|
|
1) A vaild registered domain name must be used (e.g : vaultwarden.example.com)
|
|
2) The hosting OS enviroment must be debian based, preferably Ubuntu.
|
|
3) If you are going to use ssh to connect to the server locally or over the internet, such as inside a VPS hosting enviroment it should be configured to enable and only use Public Key Authentication (ideally protected with a strong passphrase) and have SSH password authentication disabled.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
Before the script can be run, a hosting enviroment must be configured for it.
|
|
This script currently installs into the /opt dir.
|
|
|
|
To setup the server, clone this repository and run:
|
|
```sh
|
|
sudo ./vw_start_verbose.sh
|
|
```
|
|
or
|
|
```sh
|
|
curl https://git.ncltech.co.uk/Phil/Vaultwarden_Setup_Script/raw/branch/master/VW_Setup.sh | sudo bash
|
|
```
|
|
|
|
The script will ask for infomation such as, The FQDN that you want to use, an email address for letsencrypt.
|
|
|