Debian 9 Installation¶
Warning
Work in progress
Prerequisites¶
- Web server (Apache/Nginx/Lighttpd) with SSL enabled.
- MariaDB >= 10.1
- PHP >= 5.6 <= 7.0
- PHP modules
- mysql
- Curl
- Json
- GD
- XML
- mbstring
- ldap (optional)
- mcrypt (if upgrading from <= 2.0)
- The latest sysPass release https://github.com/nuxsmin/sysPass/releases
Installation¶
Packages installation in Debian GNU/Linux
apt install apache2 libapache2-mod-php php php-curl php-mysqlnd php-curl \
php-gd php-json mariadb-server php-ldap php-mbstring
service apache2 restart
Optional to enable LDAP
apt-get install php5-ldap
service apache2 restart
Optional to enable SSL
In order to increase the access security to your sysPass installation, consider using SSL. See Security and the following resources for Debian:
- For LAN-only websites or to use a self-signed SSL certificate: https://doc.debian.org/configuration/Self-Signed_Certificate
- For Internet-facing websites consider using LetsEncrypt - see https://certbot.eff.org/
Directories and permissions configuration:¶
Create a directory for the application in the webserver root
mkdir /var/www/html/syspass
Copy and unzip the sysPass archive in the newly created directory
cp sysPass.tar.gz /var/www/html/syspass
cd /var/www/html/syspass
tar xzf syspass.tar.gz
Change the owner of ‘syspass/config’ directory. It should be the same user that the web server runs
chown www-data /var/www/html/syspass/config
chmod 750 /var/www/html/syspass/config
Create an change the backup directory owner
mkdir /var/www/html/syspass/backup
chown www-data /var/www/html/syspass/backup
Environment configuration¶
Open the web browser and point to the URL
https://IP_OR_SERVER_NAME/syspass/index.php
Note
Please, follow installer steps and after the successful finishing, you will be able to log into the application
To know how sysPass works, please see Application
Warning
It’s advisable to read the security recommendations on Security