✳️ Replace the highlighted information with your own
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 php-bcmath
CREATE DATABASE glpi_db character set utf8mb4 collate utf8mb4_bin;
CREATE USER glpi_db_user@localhost IDENTIFIED BY 'glpi_db_PWD';
GRANT ALL ON glpi_db.* TO glpi_db_user@localhost;
FLUSH PRIVILEGES;
<VirtualHost *:80>
ServerName Domain_or_Sub-Domain_or_IP-Server
DocumentRoot /var/www/html
# Alias to access GLPI via /glpi
Alias /glpi /var/www/html/glpi/public
<Directory /var/www/html/glpi/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
RewriteEngine On
# Only rewrite if request is not for /glpi/index.php and file does not exist
RewriteCond %{REQUEST_URI} !^/glpi/index\.php$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /glpi/index.php [QSA,L]
# Ensure Authorization header is passed to PHP
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</Directory>
</VirtualHost>
Read more
- How to Fix the Pairing Required Error in OpenClaw with Docker
- How to Boost Your Raspberry Pi Performance by Booting from USB or External Drive
- Fix the ‘Device Signature Expired’ Error in OpenClaw
- How to Access the OpenClaw Dashboard from ANYWHERE
- Enable Windows Subsystem for Linux (WSL) on Windows
- Banana Pi M2 Zero: A Compact Powerhouse for Your Projects
- Installing OpenClaw on Ubuntu Linux
- Top 10 Linux Server Management Tools for Efficient Administration
- How to Create Your OpenAI API Key: A Step-by-Step Guide
- Guide to Installing n8n Server on Ubuntu Using Docker