PasswordLab Installation Guide for Vultr Marketplace

Overview

This comprehensive guide will walk you through installing PasswordLab from the Vultr marketplace. Vultr's marketplace deployment provides a streamlined installation process with pre-configured database settings, making it one of the fastest ways to deploy PasswordLab in a production environment.

Prerequisites

Before beginning the installation, ensure you have the following:

Required Accounts & Information

Part 1: Vultr Server Deployment

Step 1: Access Vultr Cloud Compute

Step 2: Deploy New Server

Step 3: Server Configuration

Location Selection

Image Selection

Server Size Selection

Database Configuration

Unique Vultr Feature: Pre-configure database credentials during deployment

Important: These credentials will be automatically configured during installation and displayed in the Vultr dashboard.

Server Identification

Step 4: Deploy Server

Part 2: Installation Verification

Step 5: Access Server Details

Step 6: Verify Database Credentials

In the Vultr server dashboard, locate the database credentials:

Important: Note these credentials as they'll be required for PasswordLab configuration.

Part 3: PasswordLab Configuration

Step 7: Access PasswordLab Web Interface

Step 8: Initial Configuration Wizard

Step 8.1: Accept Terms and Conditions

Step 8.2: License Activation

Step 8.3: Database Configuration

Use the credentials from your Vultr dashboard:

Configuration steps:

Step 8.4: SMTP Configuration

Configure email settings for notifications and 2FA codes:

Step 8.5: Administrator Account Creation

Create the primary system administrator account:

Password Requirements:

Step 8.6: Email Verification

Step 8.7: Master Vault Setup

Critical Security Configuration: This step creates the master vault protected by Shamir's Secret Sharing

Step 8.8: System Initialization

The system automatically performs:

Wait for completion - this process typically takes 1-2 minutes.

Part 4: Post-Installation Setup

Step 9: Service Management

Restart PasswordLab Service

After configuration completion, restart the service to apply settings:

Service Management Commands

    
# Start the service
systemctl start passwordlab

# Stop the service
systemctl stop passwordlab

# Restart the service
systemctl restart passwordlab

# Check service status
systemctl status passwordlab

# Enable auto-start on boot
systemctl enable passwordlab  
    
  

Step 10: Master Vault Activation

Collect Master Key Pieces

Unlock the Master Vault

Step 11: First Login Verification

Administrator Login Test

Part 5: System Management

Security Configuration

Firewall Settings

The installation automatically configures UFW firewall with:

Additional Security Recommendations

Database Management

Database Access

    
# Access as PasswordLab user
mysql -u [your-db-username] -p [your-db-name]

# Access as root user
mysql -u root -p

# View database credentials
cat /root/database.txt
    
  

Database Maintenance

Monitoring and Maintenance

System Monitoring

    
# Check system resources
htop
df -h
free -h

# Monitor PasswordLab logs
journalctl -u passwordlab -f

# Check system logs
tail -f /var/log/syslog
    
  

Performance Optimization

Troubleshooting

Common Issues

Issue 1: PasswordLab Not Accessible

Symptoms: Cannot access web interface on port 3000 Solutions:

    
# Check service status
systemctl status passwordlab

# Check firewall rules
ufw status

# Check if port is listening
netstat -tlnp | grep 3000

# Restart service
systemctl restart passwordlab
    
  

Issue 2: Database Connection Errors

Symptoms: Database connection failures during configuration Solutions:

    
# Verify database service
systemctl status mariadb

# Test database connection
mysql -u [username] -p [database-name]

# Check database credentials
cat /root/database.txt

# Restart database service
systemctl restart mariadb
    
  

Issue 3: Email/SMTP Issues

Symptoms: 2FA codes not being sent Solutions:

Issue 4: Master Vault Unlock Problems

Symptoms: Cannot unlock vault with key pieces Solutions:

Log Analysis

Application Logs

    
# Real-time PasswordLab logs
journalctl -u passwordlab -f

# Recent PasswordLab logs
journalctl -u passwordlab --since "1 hour ago"

# Error-only logs
journalctl -u passwordlab -p err
    
  

System Logs

    
# System messages
tail -f /var/log/syslog

# Authentication logs
tail -f /var/log/auth.log

# Database logs
tail -f /var/log/mysql/error.log
    
  

You have successfully deployed PasswordLab on Vultr marketplace with:

The system is now ready for:

Your PasswordLab installation on Vultr provides a robust, scalable, and secure foundation for your organization's password management needs.