sysPass is a free, open-source, intuitive, secure, and multiuser password manager built on top of HTML5 and PHP technologies to offer a better UX. It supports AES-256-CTR for stronger password encryption and RSA to send data securely. Its user-friendly web interface helps users to configure different authentication options and supports multiple ways to store, export, and manage their passwords. Below is how to install and use sysPass password manager on Ubuntu Linux.
How to install and use sysPass password manager on Ubuntu Linux
As described above, sysPass is a free, open-source, intuitive and secure, and multiuser password manager built on top of HTML5 and PHP technologies to offer a better UX. Below is how to install it on Ubuntu Linux. sysPass is a PHP-based web application. You will need to install a web server, database, and PHP script to install it on Ubuntu Linux.
Install the Apache HTTP server
For this article, we will be using Apache HTTP web server with sysPass. Below is how to install Apache on Ubuntu Linux. Once Apache is installed, use the commands below to stop, start and enable Apache to automatically start up when your server starts up. To verify that Apache is installed and functioning, open your web browser and browse to the server’s hostname or IP address. You will see a similar page as the one below.
Install the MariaDB database server
A database server is also required to run and use sysPass. For this article, we will be installing and using the MariaDB database server. Run the commands below to install the MariaDB server. Once MariaDB is installed, run the commands below to stop, start and enable the MariaDB database to automatically start up when the server starts up. You can enhance MariaDB security by running the commands below. This will allow you to create a root password, remove anonymous users and test the database. When prompted, use the guide below to answer the following questions.
Install PHP
sysPass is a PHP-based application and requires that PHP is installed. sysPass also only supports PHP 7.4 as of the time of writing this article. If your Ubuntu server has PHP 7.4 repositories already included, then simply run the apt-get install command. However, if you need to install PHP 7.4, the commands below will help you install it. Next, add the PPA repository below. Finally, run the commands below to install PHP version 7.4. If you want to add additional PHP configurations, the default file is at the path below:
Create a database for sysPass
At this point, we have installed Apache, MariaDB, and PHP. Next, create a database for sysPass to store its content. The commands below will help you create it. Type the root password you created above if prompted. Then run the commands below to create a database named syspassdb. After that, create a database user account named syspassdbuser and set a password for the account. Then grant the user full access to the database. Exit when you are done.
Install sysPass
We are now ready to install sysPass. Run the commands below to download sysPass files. Next, move the downloaded files to the Apache root directory, and change the permissions and ownership of the files. Next, create a composer script by running the commands below. Copy the content below and paste it into the file, then save and exit. After that, change into the directory and run the composer script created above, and install the required PHP dependencies.
Configure Apache for sysPass
Once you are done above, run the commands below to create an Apache server block file for sysPass. Copy and paste the code below into the file and save. Run the commands below to enable the configuration above and restart Apache. If all is set up correctly, you should be able to open your browser and type in the domain or server hostname created, and access the sysPass setup portal. Create an admin account, and type in the database details created above, (database name, user, and password). Check the box Hosting Mode. Then click Install to finish the installation. Login with the admin account created and start using sysPass. You can also use sysPass with Let’s Encrypt certificate. Below is how to install and use Let’s Encrypt on Ubuntu Linux with Apache. How to set up Let’s Encrypt with Apache on Ubuntu Linux That should do it. Conclusion: This post showed you how to install sysPass password manager on Ubuntu Linux. If you find any error above or have something to add, please use the comment form below.