惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
Google DeepMind News
Google DeepMind News
博客园 - 司徒正美
Y
Y Combinator Blog
F
Fortinet All Blogs
云风的 BLOG
云风的 BLOG
T
Tailwind CSS Blog
G
Google Developers Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MyScale Blog
MyScale Blog
N
Netflix TechBlog - Medium
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
P
Proofpoint News Feed
Jina AI
Jina AI
B
Blog RSS Feed
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
D
Docker

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Deploying Bitwarden Password Management Vault on Ubuntu 2...
Sanskriti Ha · 2026-05-26 · via DEV Community

Bitwarden is an open-source, end-to-end encrypted password manager. The official self-hosted server runs as a stack of Docker containers and ships with an interactive installer that wires up TLS and the database. This guide installs the official Bitwarden server on Ubuntu 24.04, configures automatic Let's Encrypt TLS through the installer, and creates the first vault user. By the end, you'll have a self-hosted Bitwarden vault available securely at your domain.

Prerequisites: Ubuntu 24.04 with at least 2 GB RAM (4 GB recommended), Docker + Docker Compose installed, a domain pointed at the server, and an Installation ID + Key from bitwarden.com/host.


Prepare the Environment

1. Add your user to the Docker group:

$ sudo usermod -aG docker $USER
$ newgrp docker

Enter fullscreen mode Exit fullscreen mode

2. Create and own the install directory:

$ sudo mkdir -p /opt/bitwarden
$ sudo chown -R $USER:$USER /opt/bitwarden
$ cd /opt/bitwarden

Enter fullscreen mode Exit fullscreen mode


Download and Install Bitwarden

1. Fetch the installer script:

$ curl -Lso bitwarden.sh https://go.btwrdn.co/bw-sh
$ chmod 700 bitwarden.sh

Enter fullscreen mode Exit fullscreen mode

2. Run the installer:

$ ./bitwarden.sh install

Enter fullscreen mode Exit fullscreen mode

Answer the interactive prompts:

  • Domain name: your fully qualified domain (e.g. bitwarden.example.com)
  • Use Let's Encrypt: y (recommended) — supply a contact email
  • Database name: vault (default is fine)
  • Installation ID and Key: from bitwarden.com/host
  • Region: US or EU to match where you obtained your install ID

Start the Server

1. Bring the stack online:

$ ./bitwarden.sh start

Enter fullscreen mode Exit fullscreen mode

2. Confirm the containers are running:

$ docker container ls

Enter fullscreen mode Exit fullscreen mode

The first start downloads images and builds configuration. Initial start can take a few minutes.


Create Your First User

  1. Open https://bitwarden.example.com in a browser.
  2. Click Create Account and complete the signup form.
  3. Verify the email address (configure SMTP in /opt/bitwarden/bwdata/env/global.override.env if not already set).
  4. Sign in to create your first organization and vault items.

Warning: Bitwarden uses zero-knowledge encryption. If the master password is lost, the vault cannot be recovered. Save it in a secure offline location.


Next Steps

Bitwarden is running securely at your domain. From here you can:

  • Configure SMTP so users receive invitations and password reset emails
  • Set up scheduled backups of /opt/bitwarden/bwdata
  • Use ./bitwarden.sh update and ./bitwarden.sh restart to roll new releases

For the full guide with additional tips, visit the original article on Vultr Docs.