Code in this video_GLPI 11 Installation Guide on Ubuntu with Nginx (LEMP Stack)

✳️ Replace the highlighted information with your own



sudo apt install php-fpm php-curl php-zip php-gd php-intl php-pear php-imagick php-imap php-memcache php-pspell php-tidy php-xmlrpc php-xsl php-mbstring php-ldap php-cas php-apcu php-mysql php-bz2 php-bcmath vim net-tools wget -y

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;

server {
listen 80 default_server;
listen [::]:80 default_server;

server_name _;

root /var/www/glpi/public;
index index.php;

location / {
try_files $uri /index.php$is_args$args;
}

location ~ ^/index\.php$ {
include fastcgi_params;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}

Read more

Leave a Reply

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