Install PasswordLab on Ubuntu 24 LTS Server

Install PasswordLab on Ubuntu 24 LTS Server

Looking to install PasswordLab on your own infrastructure? Follow this step-by-step guide to set up PasswordLab on a clean Ubuntu 24 LTS server. It’s quick, secure, and built for full control.

Prerequisites

Before starting the installation, make sure you have:

  • A freshly installed Ubuntu 24 LTS server with root access
  • A valid PasswordLab license
  • SMTP login credentials (used for sending 2FA codes and notifications)

Step 1 – Log in to Your Server

Start by connecting to your server using the root account:

ssh root@your-server-ip

Step 2 – Run the Installer Script

Use the following command to download and run the official PasswordLab installation script:

curl -sSL https://install.passwordlab.io | bash

This script will:

  • Check your server environment
  • Install all required dependencies
  • Set up PasswordLab automatically

Once the script completes, make sure to note down the database credentials displayed on your screen. These will be required in the next configuration step.

Step 3 – Access the Web Installer

After installation, open your server IP in a web browser to begin the web-based configuration.

Step 4 – Final Configuration

  1. Accept Terms
    Start by agreeing to the terms and conditions.

  2. Enter License Key
    Provide your valid PasswordLab license. If you don’t have one, you can purchase it via the interface.

  3. Enter Database Details
    Use the credentials shown earlier during installation.

  4. Configure SMTP
    Enter your SMTP server login details. PasswordLab uses this to send 2FA codes and important system notifications.

  5. Create Admin Account
    Set up the first administrator account. This account will manage users, permissions, and overall software configuration.

  6. Verify Email (OTP)
    Enter the OTP sent to your email address to continue.

  7. Secure the Vault
    PasswordLab uses Shamir’s Secret Sharing to split the master key into 5 parts. You’ll need at least 3 out of 5 shares to unlock the master vault.

    Enter five trusted email addresses to distribute these shares. We recommend using five different individuals. For demonstration purposes, the same email can be reused.

Important: Losing 3 or more shares will permanently lock the vault. There’s no recovery, so store shares securely.

Step 5 – Restart the Service

Once the configuration is complete, restart the PasswordLab service for changes to take effect:

systemctl restart passwordlab

Verify the status:

systemctl status passwordlab

It should show as active.

Step 6 – Start Using PasswordLab

Visit your server IP in the browser. You’ll now see the Vault Unlock screen. From here, you’re ready to start using PasswordLab.

That’s it!

Your PasswordLab server is up and running on Ubuntu 24 LTS—fully self-hosted and under your control. You now have enterprise-grade password management without relying on cloud-based services.

Next Steps