This brief tutorial shows students and new users how to easily install KeyWeb password manager on Ubuntu 20.04 | 18.04.
KeeWeb is a free, cross-platform password manager that is compatible with KeePass. It helps you store your password online as well as offline securely.
With KeeWeb, you can sync your password automatically with popular cloud services, including OneDrive, Google Drive, Dropbox and many others.
It supports multiple features, including user-friendly desktop interface, multiple themes, multiple files supports, drag n’ drop, password generator and more.
To get started with installing KeeWeb, follow the steps below:
Before installing KeeWeb on Ubuntu, run the commands to install required and recommended packages.
sudo apt update sudo apt-get install apt-transport-https git ca-certificates curl software-properties-common gnupg2 unzip
After running the command above, continue below to installing KeeWeb.
Now that you’ve installed the recommended packages above, continue below and install Docker.
Docker is required to run KeeWeb. For this post, we’re going to be installing Docker CE (Community Edition).
First add Docker repository key to your system by running the commands below:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo apt-key fingerprint 0EBFCD88
Then run the commands below to add Docker repository
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Next, run the commands below to install Docker CE.
sudo apt-get install docker-ce
To validate that Docker is installed run the commands below:
That should display the Docker version installed.
Docker version 20.10.3, build 48d30b5
To run Docker as a non-root user, add your user account to Docker’s group by running the commands below:
sudo usermod -aG docker $USER sudo chmod 666 /var/run/docker.sock sudo systemctl restart docker
You may also want to restart your machine just to be sure.
Now that Docker is installed, run the commands below to get KeeWeb packages from git repostory.
git clone https://github.com/SvenC56/docker-keeweb.git
Next, run the commands below to download all neccessary docker packages that are required to run KeeWeb.
cd docker-keeweb docker build -t svenc56/keeweb . docker images
Then run the commands below to create a container for KeeWeb from the downloaded image and expose it on port 80.
docker run -d -p 80:80 svenc56/keeweb
You can check that the container is running by running the commands below:
That should display similar lines as below:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 94b75afc875e svenc56/keeweb "/docker-entrypoint.…" 8 seconds ago Up 7 seconds 0.0.0.0:80->80/tcp strange_pike
Now that KeeWeb is installed, browse to the server hostname or IP address to load KeeWeb portal.
You can now begin entering your secure password entries. Click the Plus ( + ) to start.
Then click New to create a new file entry.
That should do it!
This post showed you how to install KeeWeb Password Manager on Ubuntu. If you find any error above, please use the form below to report.