Skip to content

Instantly share code, notes, and snippets.

@jniltinho
Last active April 6, 2024 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jniltinho/b3c413b615de5058103d344a519d8c62 to your computer and use it in GitHub Desktop.
Save jniltinho/b3c413b615de5058103d344a519d8c62 to your computer and use it in GitHub Desktop.
#!/bin/bash
## Install GLPI Ubuntu 22.04
## https://glpi-install.readthedocs.io/en/latest/prerequisites.html
## https://medium.com/@elaurichetoho/how-to-install-glpi-on-linux-server-with-nginx-252074687e4
#echo 'session.cookie_secure=1' >> /etc/php/*/fpm/php.ini
#echo 'session.cookie_httponly=1' >> /etc/php/*/fpm/php.ini
#echo 'session.cookie_samesite=Lax' >> /etc/php/*/fpm/php.ini
#sed -i 's|;date.timezone =|date.timezone="America/Sao_Paulo"|' /etc/php/*/fpm/php.ini
#timedatectl set-timezone "America/Sao_Paulo"
apt -y install certbot
apt -y install nginx mariadb-client mariadb-server locales tzdata
apt -y install php-fpm php-mysql php-curl php-gd php-ldap php-xml php-mbstring php-zip php-bz2 php-intl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment