Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
How to Install sysPass Password Manager on Ubuntu

How to Install sysPass Password Manager on Ubuntu

Posted on October 12, 2022 By admin No Comments on How to Install sysPass Password Manager on Ubuntu

How to Install sysPass Password Manager on Ubuntu

sysPass is a free, open-source password manager. sysPass is built on top of HTML5 and PHP which supports AES-256-CTR for stronger password encryption. In this article, we will show you the steps to install sysPass password manager on Ubuntu.

How to Install sysPass Password Manager on Ubuntu

At first, we need to install the web server because sysPass is a PHP-based web application and it needs a web server along with a database to run on Ubuntu.

Install Apache HTTP server on Ubuntu

Run the following commands to install the Apache server on Ubuntu.

sudo apt update
sudo apt install apache2

The following commands are for the basic operation of Apache. They are used to stop, start and enable Apache to automatically start up when your Ubuntu starts up.

sudo systemctl stop apache2
sudo systemctl start apache2
sudo systemctl enable apache2

You can run the following in your web browser to make sure that Apache is running.

http://localhost

Now, we need to install a Database too and we will be using MariaDB in this article.

Install MariaDB database server

Run the commands below to install MariaDB server on Ubuntu.

sudo apt update
sudo apt install mariadb-server

The following commands are for the basic operation of MariaDB. They are used to stop, start and enable MariaDB to automatically start up when your Ubuntu starts up.

sudo systemctl stop mariadb
sudo systemctl start mariadb
sudo systemctl enable mariadb

MariaDB security configuration:

READ More Relevant Stuff:  Install Flat Remix Gnome Theme In 2023

Run the following command to create root login details for MariaDB.

sudo mysql_secure_installation

Now, we need to install PHP on Ubuntu.

Run the following command to add the PPA repository.

sudo add-apt-repository ppa:ondrej/php

Finally, run the commands below on your Ubuntu to install PHP version 7.4.

sudo apt install libapache2-mod-php7.4 php7.4 php7.4-mysqli php7.4-pdo php7.4 php7.4-cgi php7.4-cli php7.4-common php7.4-gd php7.4-json php7.4-readline php7.4-curl php7.4-intl php7.4-ldap php7.4-xml php7.4-mbstring git

Now create a database for sysPass .

sudo mysql -u root -p

Type the root password.

Then run the commands below to create a database named syspass_db.

CREATE DATABASE syspass_db;

Now create a database user account named syspassdb_user and set a password for it.

CREATE USER 'syspassdb_user'@'localhost' IDENTIFIED BY 'new_password_here';

Then grant the user full access to the database.

GRANT ALL ON syspass_db.* TO 'syspassdb_user'@'localhost' WITH GRANT OPTION;

Exit with the following command.

FLUSH PRIVILEGES;
exit;

Install sysPass

Run the commands below to download sysPass files.

git clone https://github.com/nuxsmin/sysPass.git

Next, move the downloaded files to the Apache root directory, and change the permissions and ownership.

sudo mv sysPass /var/www/html/syspass
sudo chown -R www-data:www-data /var/www/html/syspass
sudo chmod 750 /var/www/html/syspass/app/{config,backup}

Next, run the following command to create a composer script.

sudo nano /var/www/html/syspass/install-composer.sh

Now you need to copy the content below and paste it into the file, then save and exit.

#!/bin/sh
 EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)"
 php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
 ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"
 if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ]
 then
     >&2 echo 'ERROR: Invalid installer signature'
     rm composer-setup.php
     exit 1
 fi
 php composer-setup.php --quiet
 RESULT=$?
 rm composer-setup.php
 exit $RESULT

Now, Run the following command to run the composer script created above, and install required PHP dependencies.

cd /var/www/html/syspass/
sudo sh install-composer.sh
sudo php composer.phar install --no-dev

Configure Apache for sysPass

Run the following commands to create an Apache server block file for sysPass.

sudo nano /etc/apache2/sites-available/syspass.conf

Copy and paste the following code into the file and save.

<VirtualHost *:80>
  ServerName syspass.example.com
  ServerAlias www.syspass.example.com
  ServerAdmin [email protected]
  DocumentRoot /var/www/html/syspass
    
  <Directory /var/www/html/syspass/>
       Options FollowSymlinks
       AllowOverride All
       Require all granted
  </Directory>

       ErrorLog ${APACHE_LOG_DIR}/error.log
       CustomLog ${APACHE_LOG_DIR}/access.log combined
    
</VirtualHost>

Now, you need to enable the configuration above and restart Apache.

sudo a2ensite syspass
sudo systemctl restart apache2

Finally, it’s time to open your internet browser and run the following url. You will be able to see the syspass installation dashboard.

http://syspass.example.com
Ubuntu

Post navigation

Previous Post: Best Linux CCTV Camera Software
Next Post: Essential DNF Commands for Linux With Examples

Related Posts

Set The Default Terminal Emulator On Ubuntu 18.04 LTS Set The Default Terminal Emulator On Ubuntu 18.04 LTS ubuntu 18.04
How To Set Up Automatic Updates On Ubuntu 22.04 LTS How To Set Up Automatic Updates On Ubuntu 22.04 LTS Tutorials
Ubuntu Budgie 18.04 Is Now Long-Term Supported Version Ubuntu
Ubuntu 23.04 “Lunar Lobster” Release Date Schedule Ubuntu 23.04 “Lunar Lobster” Release Date Schedule Ubuntu
How To List Installed Packages On Ubuntu Operating System Ubuntu
How To Fix “Sub-process /usr/bin/dpkg returned an error code (1)” Error In Ubuntu How To Fix “Sub-process /usr/bin/dpkg returned an error code (1)” Error In Ubuntu Fix

Leave a Reply Cancel reply

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

Recent Posts

  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023
  • Linux Wget Examples September 27, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Technical Writer

    • Michigan
    • US Tech Solutions
    • Full Time
  • Technical Writer

    • Houston, TX
    • PTR Global
    • Full Time
  • Senior Data Scientist

    • San Francisco, CA (Remote)
    • Patreon
    • Full Time
  • SERVICE WRITER – FLOAT

    • Sauk City, WI
    • McFarlane's
    • Full Time
  • Technical Writer

    • Hanover, MD
    • TAD PGS, Inc.
    • Full Time
  • Technical Writer

    • Carlsbad, NM
    • Airswift
    • Full Time
  • Customs Entry Writer

    • Long Beach, CA
    • Coda Search│Staffing
    • Full Time
  • Technical Writer

    • Palo Alto, CA
    • DeWinter Group
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme