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

Поділитися
Вставка
  • Опубліковано 20 жов 2024

КОМЕНТАРІ • 68

  • @glen4cindy
    @glen4cindy Місяць тому

    I'm watching this video again because I'm in the process of setting up a new Bitwarden server. I'm seeing at 6:15 you are installing Bitwarden as yourself and as root. The TL:DR directions in the install section specifically say "Do not install Bitwarden as root." They also recommend using a dedicated bitwarden service account but I see you've used your account here. Does that cause issues as the directions suggest?

  • @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!

  • @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

  • @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?

  • @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.

  • @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

  • @poke6753
    @poke6753 2 роки тому

    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?

  • @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

  • @yourpcmd
    @yourpcmd 3 роки тому +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  3 роки тому

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

  • @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)

  • @mazidCalas
    @mazidCalas 2 роки тому +1

    thanks man.... Great work

  • @pipeliner8969
    @pipeliner8969 3 роки тому

    Great Explanations!

  • @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?

  • @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: ua-cam.com/video/3cWEeDXToNE/v-deo.html

  • @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..ua-cam.com/video/lq4WJ_m4vVE/v-deo.html

  • @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.

  • @pipeliner8969
    @pipeliner8969 3 роки тому

    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  3 роки тому +1

      Yes, sorry for the super late response ;)

    • @pipeliner8969
      @pipeliner8969 3 роки тому

      @@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 3 роки тому

    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/

  • @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

  • @cenubit
    @cenubit 3 роки тому

    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  3 роки тому

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

    • @cenubit
      @cenubit 3 роки тому

      @@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 3 роки тому

      ​@@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 7 місяців тому

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

  • @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...

  • @mavchb
    @mavchb 2 роки тому

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

  • @evanflowers3528
    @evanflowers3528 3 роки тому

    where do i find my SSL cert and SSL key?

  • @desertshadow72
    @desertshadow72 2 роки тому

    Thank you!

  • @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

  • @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 ua-cam.com/video/ELCq63652ig/v-deo.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 3 роки тому

      @@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?