Skip to content
Snippets Groups Projects
Verified Commit 9e102ca5 authored by David Beniamine's avatar David Beniamine
Browse files

Install GLPI

parent a34b05a7
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
cd /tmp
wget -O glpi.deb https://github.com/glpi-project/glpi-agent/releases/download/1.4/glpi-agent_1.4-1_all.deb
dpkg -i glpi.deb
rm glpi.deb
apt-get -fy install
sed -i 's@#server =.*inventory.php@server = https://glpi.tetras-libre.fr/front/inventory.php@' /etc/glpi-agent/agent.cfg
sed -i 's@tag =@tag = tetras-libre@' /etc/glpi-agent/agent.cfg
glpi-agent
systemctl restart glpi-agent
systemctl enable glpi-agent
export MODS="Base WebServer MySQL Nextcloud Collabora Dolibarr TetrasBack"
export MODS="Base WebServer MySQL Nextcloud Collabora Dolibarr TetrasBack GlpiAgent"
# Valid levels are security and upgrade
export MAINTENANCE_LEVEL="security"
export DOMAIN="dev.tetras-libre.fr"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment