From 1a94868f2c01921aa0c92a3bee1a0d861bc85bf7 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 25 Aug 2017 09:13:23 -0400 Subject: [PATCH] added tldr --- _articles/hosting/install-on-premise.md | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/_articles/hosting/install-on-premise.md b/_articles/hosting/install-on-premise.md index e97193f3..6b1a1def 100644 --- a/_articles/hosting/install-on-premise.md +++ b/_articles/hosting/install-on-premise.md @@ -12,6 +12,7 @@ This article will walk you through how to install and deploy bitwarden to your o ## Table of Contents +- [TL;DR](#tldr) - [Configure Your Domain](#configure-your-domain) - [Install Docker](#install-docker) - [Adjust Docker Resources](#adjust-docker-resources) @@ -20,6 +21,39 @@ This article will walk you through how to install and deploy bitwarden to your o - [Deploy bitwarden](#deploy-bitwarden) - [Script Commands](#script-commands) +## TL;DR + +1. Set DNS records for a domain name pointing to your machine. Open ports 80 and 443 on the machine. +2. Install [Docker](https://docs.docker.com/engine/installation/){:target="_blank"} and [Docker Compose](https://docs.docker.com/compose/install/){:target="_blank"}. If using Windows or macOS, adjust Docker so that it has at least 4 GB of RAM available. +3. Install & deploy bitwarden. + + Bash + + curl -s -o bitwarden.sh \ + https://raw.githubusercontent.com/bitwarden/core/master/scripts/bitwarden.sh \ + && sudo chmod u+x bitwarden.sh + ./bitwarden.sh install + ./bitwarden.sh start + ./bitwarden.sh updatedb + + PowerShell + + Invoke-RestMethod -OutFile bitwarden.ps1 ` + -Uri https://raw.githubusercontent.com/bitwarden/core/master/scripts/bitwarden.ps1 + .\bitwarden.ps1 -install + .\bitwarden.ps1 -start + .\bitwarden.ps1 -updatedb +4. Adjust additional configuration settings in `./bitwarden/env/global.override.env` and restart. + + Bash + + ./bitwarden.sh restart + + PowerShell + + .\bitwarden.ps1 -restart +5. Test your deployment. Visit the web vault at your configured domain name, register a new account, and log in. + ## Configure Your Domain bitwarden will be served through ports 80 (http) and 443 (https) on the localhost machine. You should open these ports so that bitwarden can be accessed from within and/or outside of the network.