How to Install sysPass Password Manager on Ubuntu
sysPass is a free, self-hosted password manager that runs locally on Ubuntu 24.04 LTS to store and protect your login details in a private web vault.
Running your own password manager stops weak password reuse and keeps sensitive account information safe on your own hardware without relying on third-party cloud servers.
Install the Apache HTTP server
You can install the Apache HTTP server on Ubuntu by updating your package list and running the standard package installation commands in your terminal. This process sets up the core web server needed for your sysPass installation Ubuntu setup to serve pages correctly.
sudo apt update
sudo apt install apache2
Enable Apache to start automatically when the system boots up:
sudo systemctl enable --now apache2
Open a web browser and navigate to the server's IP address to confirm Apache runs correctly.

Install the MariaDB database server
You need to install the MariaDB database server on your Ubuntu machine to store encrypted passwords and user data for sysPass installation Ubuntu tasks. This open-source database backend provides the secure storage required by the password manager to run properly.
sudo apt install mariadb-server
sudo systemctl enable --now mariadb
sudo mysql_secure_installation
Install PHP
sysPass 2026 requires PHP 8.2 or 8.3. Run these commands to install the necessary modules:
sudo apt install php8.3 php8.3-mysql php8.3-xml php8.3-mbstring php8.3-curl php8.3-gd php8.3-intl php8.3-bcmath libapache2-mod-php8.3 git
General: Composer and SSL Configuration
Composer (a tool for managing PHP programming packages) lets you fetch the extra code libraries required during your sysPass installation Ubuntu process. Downloading and running the setup script via PHP ensures the application receives all necessary dependencies to function correctly.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
Securing the connection: Running a password manager over an unencrypted HTTP connection poses a major security risk. Install Certbot to obtain a free SSL certificate:
sudo apt install certbot python3-certbot-apache
sudo certbot --apache
Follow the on-screen prompts to secure the domain. This configures an encrypted Virtual Host (a dedicated server section configured specifically for a single website).
Create a database for sysPass
Log into MariaDB to create the storage area for sysPass:
sudo mysql -u root -p
Once at the MariaDB prompt, run the following commands:
CREATE DATABASE syspassdb;
CREATE USER 'syspassdbuser'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL ON syspassdb.* TO 'syspassdbuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Install sysPass
You can finish your sysPass installation Ubuntu setup by cloning the core program files from GitHub directly into your web server directory using Git. Setting the correct file permissions and running Composer finishes the deployment so you can access the login page.
git clone https://github.com/nuxsmin/sysPass.git /var/www/html/syspass
sudo chown -R www-data:www-data /var/www/html/syspass
cd /var/www/html/syspass
sudo composer install --no-dev
Now, create the Apache configuration file for sysPass:
sudo nano /etc/apache2/sites-available/syspass.conf
Add server details here, then enable the site and restart Apache:
sudo a2ensite syspass
sudo systemctl restart apache2
To complete the sysPass installation, visit the configured domain in a web browser. This action opens the sysPass web portal, where on-screen prompts finalize the password manager setup, including administrator account creation and initial configurations.

Enter database credentials, create an administrator account, and click Install. The password manager is now ready for secure use.
[Y/n] [Y/n] [Y/n] [Y/n] [Y/n] [Y/n]
What is the password for Ubuntu installation?
On standard Ubuntu cloud and virtual machine images, the default username and password is 'ubuntu'. By default, this is only accessible via the command line, and it remains essential to change credentials immediately after logging in.
How to reset BIOS password in Ubuntu?
Need to reset a forgotten BIOS password? Accessing the recovery mode menu allows dropping straight into a root shell prompt. Pressing enter for maintenance opens an active root prompt.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!