Skip to content
Follow
CMS Ubuntu Linux

How to Install sysPass Password Manager on Ubuntu

Richard
Written by
Richard
Oct 11, 2022 Updated Aug 13, 2026 3 min read
How to Enable or Disable Microsoft Defender Cloud Protection
How to Enable or Disable Microsoft Defender Cloud Protection

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.

⚡ Quick Answer

Install Apache, MariaDB, and PHP 8.3 using apt. Clone sysPass from GitHub to /var/www/html/syspass, then run composer install. Create a database in MariaDB and configure Apache with a new virtual host for sysPass. Finally, visit your domain to complete the web-based setup.

Install the Apache HTTP server

Start by updating the system’s software list before installing the Apache web server package. Finally, ensure Apache starts automatically when the computer boots.

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.

Default Apache test page on Ubuntu Linux
ubuntu linux apache default test page

Install the MariaDB database server

sysPass requires a database to store passwords and other sensitive information. MariaDB handles the database backend here, offering free, open-source storage that pairs well with sysPass.

sudo apt install mariadb-server
sudo systemctl enable --now mariadb

⚠️Warning
Run the following command to set a root password and remove insecure default settings:

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 acts as a package manager, fetching the extra PHP components that sysPass requires to function. Installing Composer on Ubuntu involves downloading a setup script and executing it via PHP. This process guarantees the application receives all required dependencies.

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:

⚠️Warning
CREATE DATABASE syspassdb;
CREATE USER 'syspassdbuser'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL ON syspassdb.* TO 'syspassdbuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Install sysPass

Installing sysPass on an Ubuntu system involves cloning program files using Git. Afterward, assign correct permissions to these directories before running Composer to fetch the remaining application files.

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.

sysPass installation portal on Ubuntu
syspass ubuntu install portal

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 an Ubuntu 24.04 server, 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?

Was this helpful?
Richard

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.

📚 Related Tutorials

How to Setup MariaDB Master Slave Replication on Ubuntu
Ubuntu Linux How to Setup MariaDB Master Slave Replication on Ubuntu
How to Install Apache on Ubuntu Linux
Ubuntu Linux How to Install Apache on Ubuntu Linux
Install MySQL and MariaDB on Ubuntu: A Step-by-Step Guide
Ubuntu Linux Install MySQL and MariaDB on Ubuntu: A Step-by-Step Guide
How to Install GNOME Desktop on Ubuntu 24.04
Ubuntu Linux How to Install GNOME Desktop on Ubuntu 24.04

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *