Debian 9 Installation



Debian GNU/Linux package installation.

$ sudo apt install locales apache2 libapache2-mod-php7.0 php-pear php7.0 php7.0-cgi php7.0-cli php7.0-common php7.0-fpm php7.0-gd php7.0-json php7.0-mysql php7.0-readline php7.0 curl php7.0-intl php7.0-ldap php7.0-mcrypt php7.0-xml php7.0-mbstring
$ sudo service apache2 restart

Optional for enabling SSL.

In order to increase your sysPass instance security, please consider to use SSL. See Security and the following resources for Debian:

Directories and permissions

Create a directory for sysPass within the web server root.

$ sudo mkdir /var/www/html/syspass

If you go with the packaged version, download and unpack sysPass files.

$ cd /var/www/html/syspass
# Strip version directory and extract contents to current directory.
$ sudo tar xzf syspass.tar.gz --strip-components=1
# If using the vendors package
$ sudo tar xzf vendors.tar.gz

If you go with Git cloned version, clone sysPass GitHub repository.

$ sudo git clone  /var/www/html/syspass

Setup directories permissions. The owner should match the web server running user.

$ sudo chown apache -R /var/www/html/syspass
$ sudo chmod 750 /var/www/html/syspass/app/config /var/www/html/syspass/app/backup

Installing dependencies

PHP Composer is needed to keep up-to-date dependencies and an easy way to apply security or functional patches to them.

You can either download the dependencies using Composer itself or by getting the latest “vendor.tar.gz” package from the release page.


If you don’t have any Internet access from the server, the vendor package will provide all the release dependencies and you don’t need to deal with composer commands.

Using PHP Composer

From sysPass root directory, download and install Composer (

Create a bash script called “” and paste this code in it:

php -r "copy('', 'composer-setup.php');"
ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"

    >&2 echo 'ERROR: Invalid installer signature'
    rm composer-setup.php
    exit 1

php composer-setup.php --quiet
rm composer-setup.php
exit $RESULT
$ chmod +x
$ ./

Then install sysPass dependencies

$ php composer.phar install --no-dev

Environment configuration

Please, point your web browser to the following URL and follow the installer steps



More information about how sysPass works on Application


It’s very advisable to take a look to security advices on Security