Skip to content

lseiller/OCSInventory_GLPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 

Repository files navigation

This repo is not maintained, the script was made to automate a process I had to do during a high school internship.

I had done it to train myself in bash scripting, I was absolutely not competent enough in shell to write a script in an "optimal" way (i.e. readable, using intelligently the bash functionalities, managing several distributions and knowledge in each of them, etc). I don't recommend using this script.

OCSInventory/GLPI-Script

Install OCSInventory, GLPI, MariaDB and OCS/GLPI plugin.

This script must be run as root. It is also hightly recommended to use this script on a fresh installation.

What can this script do ?

  • Install OCSInventory (+ MySQL).
  • Install GLPI (+ MySQL).
  • Install GLPI + OCSInventory (+ MySQL).
  • Install MySQL for GLPI and/or OCS.
  • Choose a Specific Version of OCS.
  • Choose a Specific Version of GLPI.
  • Reset root password of MySQL.
  • Add the Plugin to connect OCS with GLPI.

Use :

bash install.sh

Supported OS :

Operating System Version Compatibility Recommended Notes
Ubuntu 21.04 ✔️ ✔️
20.04 ✔️ ✔️
18.04 ✔️ 🟡
Debian 10 ✔️ ✔️ Highly recommended
CentOS Linux 8 🔴 🔴 https://www.centos.org/download/
7 🔴 🔴 All CentOS won't work, I will fix it
CentOS Stream 8 🔴 🔴 later.
Fedora 34 🟡 ✔️ OCS Install is working but not GLPI
----------------- ------- -------------------- -----------------> Tested under KVM, LXC & Bare Metal