How to Install Bitwarden on Ubuntu 20.04 - Self Hosting a Password Manager

Поделиться
HTML-код
  • Опубликовано: 16 июл 2024
  • This video will walk you through how to install the Bitwarden password manager on your Ubuntu 20.04 server. I show you how to prepare your home server to install Bitwarden, how to configure Bitwarden with a free domain name from ClouDNS, and finally how to setup an Apache reverse proxy to point your free domain to your Bitwarden instance.
    Follow this tutorial on my blog: techguides.yt/guides/install-...
    This video is part of my ultimate home server tutorial video series!
    Part 0: 10 GIGABIT Ryzen Home Server Build: • Ultimate 10 GIGABIT Ry...
    Part 1: How to Install Ubuntu Server 20.04 LTS from USB: • The Home Server Projec...
    Part 2: How to format and partition hard drives: • How to Partition, Form...
    Part 3: How to secure a Linux Home Server: • How to Secure a Linux ...
    Part 4: How to set up ZFS RAID 10 on Ubuntu 20.04: • How to set up ZFS RAID...
    Part 5: How to Install Nextcloud Hub 21 on Ubuntu 20.04: • How to Install Nextclo...
    Part 6: You are here :)
    Part 7: Dynamic DNS: Remote Access to Home Server with Dynu: • Dynamic DNS (DDNS) for...
    Timestamps:
    00:00 Why self host a password manager?
    02:36 Preparing Ubuntu for Bitwarden
    03:57 How to install Bitwarden on Ubuntu
    08:06 Bitwarden configuration
    10:12 Setting up Apache reverse proxy for Bitwarden
    11:50 Saving your first password with Bitwarden
    13:12 Installing the Bitwarden Chrome Extension
    14:00 Installing the Bitwarden Mobile App
    Thumbnail: www.vecteezy.com/free-vector/...
    🎵 Music courtesy of Epidemic Sound: www.epidemicsound.com/referra...
    💻 Gaming Setup: amzn.to/2E67AUG
    📷 Production Gear: amzn.to/2VhbShO
    📝 Blog: techguides.yt
    👕 Merchandise: teespring.com/stores/tech-guides
    🐦 Twitter: / techguidesyt
    📺 Twitch: / speedbre4ker
    🎧 Discord: / discord
    #Bitwarden #PasswordManager #SelfHost
  • НаукаНаука

Комментарии • 67

  • @pipeliner8969
    @pipeliner8969 3 года назад

    Great Explanations!

  • @mazidCalas
    @mazidCalas 2 года назад +1

    thanks man.... Great work

  • @glen4cindy
    @glen4cindy Год назад

    This was an awesome video and was a great resource that helped me get my own self-hosted Bitwarden Server up and running. I did not find it necessary to do the steps starting at 10:12 that describe the steps for setting up a reverse proxy. However, I'm pretty sure that's how mine is operating. I can access my vault from anywhere.

    • @n3tfury
      @n3tfury Год назад

      That's interesting. From what I understand you need to have a reverse proxy set up or some sort of tunnel (cloudflare, etc.)

    • @MrSevenEleven
      @MrSevenEleven Год назад

      Those steps are for setting up the ssl encryption, which isn't technically necessary

  • @desertshadow72
    @desertshadow72 2 года назад

    Thank you!

  • @imanator1819
    @imanator1819 2 года назад +1

    Fantastic video my guy! However I am having trouble getting bitwarden to work behind the Wildcard Certificate that we created in the video card you had on your nextcloud video. Not sure what I did worng but it comes up with an internal service error from apache.

  • @akashrajpurohit97
    @akashrajpurohit97 3 года назад +6

    Great video, I wanted to ask one thing, how can we setup automatic backups for the database created by Bitwarden on our local server. This would be needed in case where we are auto generating passwords for sites (which we would not remember) and our local server crashes for some reason or data gets corrupted.

    • @TechGuides
      @TechGuides  3 года назад +1

      Havent really thought about an automated solution for that. Im currently simply saving an (encrypted) backup on my local disk..

    • @akashrajpurohit97
      @akashrajpurohit97 3 года назад

      @@TechGuides Just want to clarify, when you mean you store encrypted file to local you mean "exporting the vault from the app in json form and storing that on some Backups folder maybe" Or is there any other process from the self hosted server solution?

    • @TechGuides
      @TechGuides  3 года назад +1

      Exactly!

  • @emodepo4701
    @emodepo4701 Год назад

    do you have any suggestions to make a backup self hosted instance in case the first one is down?

  • @GT-yv4fc
    @GT-yv4fc Год назад

    I have a Nextcloud instance over a LAMP server, if I install docker alongside LAMP would there be any issues?

  • @eljodinkaki3018
    @eljodinkaki3018 3 года назад

    my problem is that i can't get the e-mail configuration set. i have tried everything in config but to no avail. is there a solution?

  • @poke6753
    @poke6753 Год назад

    I have installed everything and can access my bitwarden but when it comes to the ssl and https it is not working i followed all the steps from this video and the video dedicated to it but can't get it to work?

  • @xTheShady1x
    @xTheShady1x 2 года назад +4

    How much resources would you allocate for installing Bitwarden?
    1/2/4 core?
    1/2/4 GB RAM?
    How much HDD space?

    • @desertshadow72
      @desertshadow72 2 года назад

      I don't know but generally, docker is pretty lightweight

  • @JPEaglesandKatz
    @JPEaglesandKatz 2 года назад

    think you forgot one important step.. the e-mail option.. Mandatory if you want others (say family members to have access since it uses e-mail verification)... setting up bitwarden is easy, getting the e-mail verification to work is another story

  • @theocerutti7385
    @theocerutti7385 2 года назад +1

    But, if you disable ssl in the config.yml why do we need to specifiy cert.pem and privkey.pem ?
    (if we disable ssl, the default.conf of the nginx doesn't even use these paths)

  • @yourpcmd
    @yourpcmd 2 года назад +1

    Question. Is this install for a single user or can you have multiple users create an account, such as co-workers, family members, etc.?

    • @TechGuides
      @TechGuides  2 года назад

      You can have as many user accounts as you want, but the free version sadly does not allow to share passwords with each other...

  • @shanewilliams2956
    @shanewilliams2956 2 года назад

    I like your video... I am having a problem though, bitwarden is not getting deployed in Docker... When I try to deploy stack manually using the .yml file I get some error about a env file... any ideas?

    • @the_rewster4120
      @the_rewster4120 Год назад +1

      This video is outdated. It will not work if you follow these steps.

  • @candyxxy
    @candyxxy 2 года назад

    So I have set everthing up like you showed in the video but I only can access Bitwarden over http

    • @TechGuides
      @TechGuides  2 года назад

      Yes, you will need a reverse proxy in front of Bitwarden which terminates an SSL connection from outside like shown in this video and the follow up to this: ruclips.net/video/3cWEeDXToNE/видео.html

  • @pipeliner8969
    @pipeliner8969 2 года назад

    Stupid question: If I selfhost Bitwarden, do I need to keep my server on all the time? Otherwise I can't connect to the database right?

    • @TechGuides
      @TechGuides  2 года назад +1

      Yes, sorry for the super late response ;)

    • @pipeliner8969
      @pipeliner8969 2 года назад

      @@TechGuides no worries. I started with a subscription on their server and will probably migrate everything to my own one as soon as I am ready

  • @brenannsap1634
    @brenannsap1634 2 года назад

    where is the written tutorial on the blog when you search for bitwarden nothing is found it be nice if someone put the url to it in the comments

    • @TechGuides
      @TechGuides  2 года назад

      Haven't finished it because of some issues - its done now: techguides.yt/guides/install-bitwarden-password-manager-on-ubuntu-20-04/

  • @skarabei2303
    @skarabei2303 2 года назад

    Hi I can't create new account.This is the error after submit ERROR Error: Uncaught (in promise): TypeError: this.subtle is null

  • @martynpage4823
    @martynpage4823 Год назад

    Great video...but what about trackers in android apps.....

    • @TechGuides
      @TechGuides  Год назад

      what do you mean? you can connect to your self hosted instance from android too!

    • @martynpage4823
      @martynpage4823 Год назад

      @@TechGuides there are two app trackers

    • @TechGuides
      @TechGuides  Год назад

      what do you mean by app trackers?

    • @martynpage4823
      @martynpage4823 Год назад

      @@TechGuides sorry you should not have to ask..

    • @martynpage4823
      @martynpage4823 Год назад

      @@TechGuides This guy might be biased but have a look at about 15 minutes into the video and give me your view..ruclips.net/video/lq4WJ_m4vVE/видео.html

  • @cenubit
    @cenubit 2 года назад

    If you install bitwarden in docker and everythink value is in docker. How can you be sure that the values will not disappear? docker is a bad solution if the value is stored inside them.

    • @TechGuides
      @TechGuides  2 года назад

      You literally can't install most PW managers without docker. Its not a bad salutation as long as you backup your shit ;)

    • @cenubit
      @cenubit 2 года назад

      @@TechGuides The Docker for backup is shit solution. I think better is using K8s + Persistent vol. And make Backup in NFS/iSCSI Storage layer.

    • @cenubit
      @cenubit 2 года назад

      ​@@TechGuides Ok. I try to install it. It is incomprehensible why you chose apache. Nginx is tre best choice for my. Ok I install it according to your method. But I canot createaccount. If I view docker -a I see every max 1m restarted bitwarden/admin docker. It doesn't see anything special in the log file.

    • @mikay971
      @mikay971 4 месяца назад

      @@cenubit he didnt say backup in docker...

  • @evanflowers3528
    @evanflowers3528 2 года назад

    where do i find my SSL cert and SSL key?

  • @madnoizemusik
    @madnoizemusik 2 года назад

    hey i have a problem to create a account. i click on the submit button but nothing happens no loading etc :(

    • @nathbrouillette
      @nathbrouillette 2 года назад

      Same here !! Have you found a solution ?

    • @madnoizemusik
      @madnoizemusik 2 года назад

      No

    • @Maxlo158
      @Maxlo158 2 года назад +1

      @@madnoizemusik U probably haven't forced HTTPS on your server

  • @mavchb
    @mavchb 2 года назад

    If Bitwarden is only available in my LAN. Will the App cache the vault content?

  • @henrylawson430
    @henrylawson430 2 года назад +1

    If you don't trust other companies with your data, why do you trust a precompiled binary or a docker from another company? This is something I struggle with. I don't see the difference. If the company is really that dodgy, then surely they can have malicious code in your self hosted installation?

    • @TechGuides
      @TechGuides  2 года назад

      You can check the code of bitwarden if you want. Docker just facilitates the install nothing pre-compiled there...

  • @crixi__
    @crixi__ 3 года назад +1

    I'm surprised you're using chrome, but you do you.
    What I really dislike however is how you almost advertise its usage. I'm sure you're already aware of how it's harmful to the Internet by dominating it and crushing browser diversity?

    • @TechGuides
      @TechGuides  3 года назад +1

      Actually I'd argue quite the opposite when it comes to being harmful for the Internet. A lot of technology we take for granted was established thanks to Google. However this video was not about Chrome anyways - the Bitwarden extension is available for any browser as far as I know. Im also open to browser suggestions!

    • @crixi__
      @crixi__ 3 года назад +1

      @@TechGuides Interesting. I was referring to this video from TechAltar ruclips.net/video/ELCq63652ig/видео.html whom you probably know. Maybe give it a view and tell me what you think? :)

    • @TechGuides
      @TechGuides  3 года назад +1

      All pretty anecdotal, currently all the "broken" stuff works without any issues in Firefox. And honestly I think its quite obvious that Google products work better / get more frequent updates in Google browsers. Don't think Firefox would do it different if they developed a video platform tbh

    • @crixi__
      @crixi__ 3 года назад

      @@TechGuides Hey, thanks, thats good to hear!
      Yes, ofc they're allowed to work a little better in chrome, no big deal. Even if the roles were flipped, it would be an equally bad thing if Mozilla was having a browser monopoly.
      I think browser diversity is a thing we want, regardless of who is in the lead, don't you think?

    • @Bountyhunter411
      @Bountyhunter411 2 года назад

      @@crixi__ How is he going to fix browser diversity. You also may not realize that the majority of browsers run with the chromium back-end. which is what chrome is based off.

  • @Cantakor
    @Cantakor Год назад

    Es wäre hilfreich gewesen vorher zu erwähnen, dass dieser Apache Kram nicht notwendig ist in einer local umgebung. Ich habe all Schritte genau so gemacht und kann nun nicht per Web zugreifen. Port 8080 und 443 sind zu....

    • @TechGuides
      @TechGuides  Год назад

      Verstehe ich nicht ganz, möchtest du nun aus dem Web oder nicht zugreifen? Was klappt nicht? Du musst ziemlich sicher die beiden Ports in deinem Router freigeben damit es von aussen funktioniert!

    • @Cantakor
      @Cantakor Год назад

      @@TechGuides ich möchte die Lösung nur im local Netz verwenden. Ich komm zwar per http drauf, aber https fehlt. Ansonsten bekomme ich fehler wie "n is null " beim Festlegen des Masterkennworts und port 443 ist über test-netconnection (powershell) zu, ufw ist auch schon deaktiviert. Welcher Schritt ist das mit der HTTPS einrichtung im Video?