Last active
April 6, 2024 18:24
-
-
Save jniltinho/b3c413b615de5058103d344a519d8c62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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