Install KeeWeb Password Manager on Ubuntu 20.04

You can download this article in PDF format via the link below to support us.
Download the guide in PDF formatturn off

When dealing with online services, password management is critical. Remembering the password is very important, but the most important thing is to ensure that the password is properly protected. Many people tend to use simple passwords over and over again so that they can easily remember them, but there is a risk of being hacked.

By using password management tools, we can ensure that strong passwords are safe and placed in a location that is easy to retrieve. The password manager ensures that the passwords are encrypted so that outsiders can easily access them. The most common password management tool is Keepass.

Advantages of using a password manager

  • Use a password manager to avoid the burden of having to remember so many passwords
  • It makes it possible to use strong passwords without worrying about remembering them
  • Password manager can manage shared accounts
  • They have an automatic password generation function and can easily obtain strong passwords.

Keeweb is a Linux password manager. It can store passwords offline and online, and synchronize with online storage tools such as Owncloud, OneDrive, GoogleDrive, and Gropbox.This guide is about how to install Keeweb password manager on Ubuntu 20.04 with dcker

Install KeeWeb on Ubuntu 20.04 using Docker

First, make sure that Docker CE is installed in Ubuntu 20.04. Please follow the steps below to install Docker CE on Ubuntu 20.04.

Step 1: Install Docker CE on Ubuntu 20.04

Use the following command to install the Docker dependency package on Ubuntu 20.04

sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common

Next, add the docker GPG key and docker repository to your Ubuntu server as follows:

curl -fsSL | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] focal stable"

Now update the package and install Docker CE on Ubuntu 20.04

sudo apt-get update
sudo apt install docker-ce

After installation, the Docker daemon should start automatically. You can confirm the status as follows:

$ sudo systemctl status docker
● docker.service - Docker Application Container Engine 
    Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) 
    Active: active (running) since Sat 2020-10-17 16:28:08 EAT; 57s ago 
TriggeredBy: ● docker.socket 
  Main PID: 2807 (dockerd) 

You can add users to the Docker group so that you don’t have to write sudo when running Docker commands.

sudo usermod -aG docker ${USER}

Step 2: Use Docker to install KeeWeb on Ubuntu 20.04

We will build Keeweb from source using the following command:

git clone
cd docker-keeweb
docker build -t svenc56/keeweb .

Now run the keeweb image and expose it on port 80 as follows:

$ sudo docker run -d -p 80:80 keeweb         

Access KeeWeb from a browser https:// <您的主机-ip>. This is the page you should see:

Click on + Sign Start adding a new password file. This is the page you got:

Click on ‘new’ At the bottom left, you will get the following page. Provide the master password, name, backup (if required) and other settings that may be required.

When finished, click ‘Save to‘. Here, you will choose to save to file or integrate with cloud storage like Dropbox, OneDrive, and Google Drive.I will save to Google Drive

After adding, the new password file should appear on the left side of the KeeWeb application.

To start adding entries, click + Then select the entry. You can also choose to add a group or template.

Add the items you need as follows.You can add more fields as needed

Step 3: Customize KeeWeb

KeeWeb provides many options, you can customize it according to your needs. It supports shortcut keys and keyboard completion functions, plug-ins, and interaction with USB.Some shortcuts are as follows

Step 4: Install KeeWeb plugin

Click on Plugin → Load the plugin library.

Select a plug-in and click installation

Step 5: KeeWeb and Google Drive integration

To integrate KeeWeb with Google Drive, click on the new keepass, click “Save to”, and select “Google Drive”. You may receive the following errors:

This means that the URL provided for KeeWeb does not match the authorization URL of the OAuth client. To update the authorized redirect URI, visit Go to Google Developer Console on a new item

Click Credentials -> Create Credentials -> OAuth Client ID

Under Application Type, select Web Application

Next, provide your domain and site URL as shown below and click “Create”.

Once clicked create, You should receive the customer’s customer ID and customer’s secrets. Keep them.Please follow the remaining steps below to complete the configuration

  • Set client ID and secret in KeeWeb gdriveClientId with gdriveClientSecret Your configuration fields
  • You will need to verify your domain or add yourself to the “Dangerous Access” of the Unreviewed Apps Google Group (more information on Google Drive in this issue).
  • Enable Drive API for your project

in conclusion

The importance of password management is something we cannot ignore, because it reduces the trouble of remembering so many passwords, and it also allows us to retrieve passwords from password managers as strong as possible. In this guide, we studied how to install KeeWeb password manager using Docker. KeeWeb is an online and offline tool for password management. I hope this is useful.

You can download this article in PDF format via the link below to support us.
Download the guide in PDF formatturn off

Related Posts