{"id":12877,"date":"2022-05-21T23:06:34","date_gmt":"2022-05-21T20:06:34","guid":{"rendered":"https:\/\/kifarunix.com\/?p=12877"},"modified":"2024-03-09T12:55:10","modified_gmt":"2024-03-09T09:55:10","slug":"install-syspass-password-manager-on-debian","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-syspass-password-manager-on-debian\/","title":{"rendered":"Install sysPass Password Manager on Debian 11\/Debian 10"},"content":{"rendered":"\n<p>In this tutorial, we are going to learn how to install sysPass password manager on Debian 11\/Debian 10. <a rel=\"noreferrer noopener\" aria-label=\"sysPass (opens in a new tab)\" href=\"https:\/\/doc.syspass.org\/en\/3.0\/\" target=\"_blank\">sysPass<\/a> is opensource multiuser password manager written in PHP for business and personal use. It allows a centralized and collaborative passwords management. It saves passwords using bidirectional encryption with a master password to a database. Passwords are associated to accounts, and these have detailed information about it like: customer, category, notes, files, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-syspass-password-manager-on-ubuntu-22.04\/Debian 10\">Install sysPass Password Manager on Debian 11\/Debian 10<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install Required Packages<\/li>\n<\/ul>\n\n\n\n<p>In this guide, we are going to install the <a href=\"https:\/\/github.com\/nuxsmin\/sysPass\/releases\/latest\" target=\"_blank\" rel=\"noreferrer noopener\">latest version of sysPass<\/a>, v3.2.2 as of this writing. Successful setup of sysPass v3.2.2 requires LAMP stack installed;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Web server (Apache\/Nginx\/Lighttpd) with SSL enabled.<\/li>\n\n\n\n<li>MariaDB &gt;= 10.1<\/li>\n\n\n\n<li>PHP &gt;= 7.0<\/li>\n\n\n\n<li>PHP modules; mysql, curl, json, gd, xml, mbstring, intl, readline, ldap (optional), mcrypt (optional for importing older XML export files)<\/li>\n<\/ul>\n\n\n\n<p>We have covered installation of LAMP stack on Debian 11\/Debian 10 in our previous guide. Check the link below;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-lamp-stack-on-debian-11\/\">Install LAMP Stack on Debian 11<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-lamp-stack-with-mariadb-10-on-debian-10-buster\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install LAMP Stack on Debian 10<\/a><\/p>\n\n\n\n<p>If you followed our tutorial above, some of the required modules are not installed and hence can be installed by running the command below.<\/p>\n\n\n\n<p>On Debian 10\/Debian 11;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install php-pear php php-cgi php-cli php-common \\\nphp-fpm php-gd php-json php-readline php-curl php-intl \\\nphp-ldap php-xml php-mbstring php-mysql git<\/code><\/pre>\n\n\n\n<p>Just to verify the MariaDB and PHP versions installed;<\/p>\n\n\n\n<p>Debian 10;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysqld -V<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mysqld  Ver 10.3.34-MariaDB-0+deb10u1 for debian-linux-gnu on x86_64 (Debian 10)<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>php -v<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>PHP 7.3.31-1~deb10u1 (cli) (built: Oct 24 2021 15:18:08) ( NTS )\nCopyright (c) 1997-2018 The PHP Group\nZend Engine v3.3.31, Copyright (c) 1998-2018 Zend Technologies\n    with Zend OPcache v7.3.31-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies<\/code><\/pre>\n\n\n\n<p>Debian 11;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysqld -V<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mysqld  Ver 10.5.15-MariaDB-0+deb11u1 for debian-linux-gnu on x86_64 (Debian 11)<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>php -v<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>PHP 7.4.29 (cli) (built: Apr 28 2022 11:47:05) ( NTS )\nCopyright (c) The PHP Group\nZend Engine v3.4.0, Copyright (c) Zend Technologies\n    with Zend OPcache v7.4.29, Copyright (c), by Zend Technologies<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create sysPass Database and user<\/li>\n<\/ul>\n\n\n\n<p>Login to MariaDB and create sysPass database and user will full privileges on the database. The names used here are not standard. Feel free to change them to suite your environment.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p -e \"create database syspass\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p -e \"create user spadmin@localhost identified by 'StronGP@ssw0RD'\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p -e \"grant all on syspass.* to spadmin@localhost\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p -e \"flush privileges\"<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download sysPass<\/li>\n<\/ul>\n\n\n\n<p>You can choose to use the sysPass tarball available on the latest releases page or just clone its repository.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/nuxsmin\/sysPass.git \/var\/www\/html\/syspass<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install sysPass Dependencies<\/li>\n<\/ul>\n\n\n\n<p>sysPass requires Composer that helps in managing all the required libraries and dependencies. To install Composer, navigate to the sysPass web directory and run the script below to programmatically install composer.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html\/syspass<\/code><\/pre>\n\n\n\n<p>Run the commands below to install composer.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -O composer-setup.php https:\/\/getcomposer.org\/installer<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo php composer-setup.php --install-dir=\/usr\/local\/bin --filename=composer<\/code><\/pre>\n\n\n\n<p>Next, install the sysPass dependencies.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>composer install --no-dev<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Setup sysPass directories permissions<\/li>\n<\/ul>\n\n\n\n<p>The sysPass web directory should be owned by the web server user which is <strong>www-data<\/strong> in this case. Hence, run the command below to set up proper permissions and ownership of the directories.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chown www-data -R \/var\/www\/html\/syspass\nchmod 750 \/var\/www\/html\/syspass\/app\/{config,backup}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Restart Apache and MariaDB;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart apache2 mariadb<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Finalize sysPass Setup<\/li>\n<\/ul>\n\n\n\n<p>Once the installation is done, access sysPass from the browser to finalize on the setup. To access sysPass from web, use the URL;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;&lt;syspass-server&gt;\/syspass\/index.php<\/code><\/pre>\n\n\n\n<p>Configure sysPass admin and Master password.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-admin-pass-master-pass.png\" class=\"td-modal-image\"><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1829\" height=\"644\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-admin-pass-master-pass.png\" alt=\"Install sysPass Password Manager on Debian 11\/Debian 10\" class=\"wp-image-12868\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-admin-pass-master-pass.png?v=1653157686 1829w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-admin-pass-master-pass-768x270.png?v=1653157686 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-admin-pass-master-pass-1536x541.png?v=1653157686 1536w\" sizes=\"(max-width: 1829px) 100vw, 1829px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Next;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set the sysPass database connection details created above<\/li>\n\n\n\n<li>Choose the sysPass language<\/li>\n\n\n\n<li>check the hosting mode box<\/li>\n\n\n\n<li>hit install button to finalize on the setup.<\/li>\n<\/ul>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-db-configuration.png\" class=\"td-modal-image\"><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1756\" height=\"838\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-db-configuration.png\" alt=\"Install sysPass Password Manager on Debian 11\/Debian 10\" class=\"wp-image-12869\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-db-configuration.png?v=1653157718 1756w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-db-configuration-768x367.png?v=1653157718 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-db-configuration-1536x733.png?v=1653157718 1536w\" sizes=\"(max-width: 1756px) 100vw, 1756px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Once the setup is done, you will be redirected to sysPass login page. Use the admin credentials set during setup.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-login-page.png\" class=\"td-modal-image\"><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1392\" height=\"626\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-login-page.png\" alt=\"Install sysPass Password Manager on Debian 11\/Debian 10\" class=\"wp-image-12870\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-login-page.png?v=1653157855 1392w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-login-page-768x345.png?v=1653157855 768w\" sizes=\"(max-width: 1392px) 100vw, 1392px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>When you successfully login, you will land on the default sysPass dashboard.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-dashboard.png\" class=\"td-modal-image\"><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1900\" height=\"529\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-dashboard.png\" alt=\"Install sysPass Password Manager on Debian 11\/Debian 10\" class=\"wp-image-12871\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-dashboard.png?v=1653157927 1900w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-dashboard-768x214.png?v=1653157927 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/syspass-dashboard-1536x428.png?v=1653157927 1536w\" sizes=\"(max-width: 1900px) 100vw, 1900px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>That is all it takes to install sysPass on Debian 11\/Debian 10. You can now create different account, add users and access privileges.<\/p>\n\n\n\n<p>Learn how to integrate sysPass with OpenLDAP for authentication by following the link below;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/integrate-syspass-with-openldap-for-authentication\/\" target=\"_blank\" rel=\"noreferrer noopener\">Integrate sysPass with OpenLDAP for Authentication<\/a><\/p>\n\n\n\n<p>Other Related Tutorials;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-bitwarden-password-manager-on-ubuntu\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Bitwarden password manager on Ubuntu<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-passbolt-password-manager-on-rocky-linux-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Passbolt Password Manager on Rocky Linux 8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to learn how to install sysPass password manager on Debian 11\/Debian 10. sysPass is opensource multiuser password manager written<\/p>\n","protected":false},"author":1,"featured_media":11551,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[34,121,339,595],"tags":[5208,5209,5211,5210],"class_list":["post-12877","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-howtos","category-password-managers","category-syspass","tag-install-syspass-debian-10","tag-install-syspass-debian-11","tag-setup-syspass-on-debian","tag-syspass-password-manager-debian-11","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12877"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=12877"}],"version-history":[{"count":3,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12877\/revisions"}],"predecessor-version":[{"id":20503,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12877\/revisions\/20503"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/11551"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=12877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=12877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=12877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}