{"id":12881,"date":"2022-05-22T08:30:03","date_gmt":"2022-05-22T05:30:03","guid":{"rendered":"https:\/\/kifarunix.com\/?p=12881"},"modified":"2024-03-09T12:54:19","modified_gmt":"2024-03-09T09:54:19","slug":"install-syspass-password-manager-on-rocky-linux","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-syspass-password-manager-on-rocky-linux\/","title":{"rendered":"Install sysPass Password Manager on Rocky Linux"},"content":{"rendered":"\n<p>In this tutorial, we are going to learn how to install sysPass password manager on Rocky Linux. <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\/Ubuntu 20.04\">Install sysPass Password Manager on Rocky Linux<\/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 (<em>we use MySQL 8.x in this tutorial<\/em>).<\/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 Rocky Linux in our previous guide. Check the link below;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-lamp-stack-on-rocky-linux-8\/\">Install LAMP Stack on Rocky Linux<\/a><\/p>\n\n\n\n<p>Ensure you <a href=\"https:\/\/kifarunix.com\/install-lamp-stack-on-rocky-linux-8\/#php-7.4-rocky\">install PHP 7.4<\/a> on Rocky Linux. This is due to some compatibility issues between PHP 8 and Composer.<\/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<pre class=\"wp-block-code\"><code>dnf 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-mysqlnd git<\/code><\/pre>\n\n\n\n<p>Just to verify the MariaDB and PHP versions installed;<\/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>mysql  Ver 8.0.26 for Linux on x86_64 (Source distribution)<\/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.19 (cli) (built: May  4 2021 11:06:37) ( NTS )\nCopyright (c) The PHP Group\nZend Engine v3.4.0, Copyright (c) Zend Technologies\n    with Zend OPcache v7.4.19, 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 apache: -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 httpd mysqld<\/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<\/code><\/pre>\n\n\n\n<p>Be sure to open the web server ports on firewall.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>firewall-cmd --add-port={80,443}\/tcp --permanent\nfirewall-cmd --reload<\/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 Rocky Linux\" 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 Rocky Linux\" 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 Rocky Linux\" 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 Rocky Linux\" 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 Rocky Linux. 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-passbolt-password-manager-on-rocky-linux-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Passbolt Password Manager on Rocky Linux 8<\/a><\/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 22.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to learn how to install sysPass password manager on Rocky Linux. sysPass is opensource multiuser password manager written in<\/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":[5213,341,5214,5215],"class_list":["post-12881","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-howtos","category-password-managers","category-syspass","tag-install-syspass-on-rocky-linux","tag-password-manager","tag-rocky-linux-password-manager","tag-syspass","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\/12881"}],"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=12881"}],"version-history":[{"count":6,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12881\/revisions"}],"predecessor-version":[{"id":20502,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12881\/revisions\/20502"}],"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=12881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=12881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=12881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}