Code in this video_How to Install and Configure GLPI on Debian

Code in this video_How to Install and Configure GLPI on Debian 12/11/10

Note: Replace the highlighted section with your information

	sudo apt install -y vim wget tar php-curl php-zip php-gd php-intl php-intl php-pear php-imagick php-imap php-memcache php-pspell php-tidy php-xmlrpc php-xsl php-mbstring php-ldap php-ldap php-cas php-apcu libapache2-mod-php php-mysql php-bz2

	CREATE DATABASE glpi_db;

	CREATE USER glpi_user@localhost IDENTIFIED BY 'glpi_PWD';

	GRANT ALL ON glpi_db.* TO glpi_user@localhost;

	FLUSH PRIVILEGES;


Alias "/glpi" "/var/www/glpi/public"

    <Directory /var/www/glpi/public>
        Require all granted

        RewriteEngine On

        # Ensure authorization headers are passed to PHP.
        # Some Apache configurations may filter them and break usage of API, CalDAV, ...
        RewriteCond %{HTTP:Authorization} ^(.+)$
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

        # Redirect all requests to GLPI router, unless file exists.
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ index.php [QSA,L]
    </Directory>

Leave a Reply

Your email address will not be published. Required fields are marked *