36 lines
890 B
Bash
36 lines
890 B
Bash
#!/bin/sh
|
|
# Pour install l'agent ManageEngine
|
|
|
|
GREEN='\033[0;32m'
|
|
YELLOW='\033[1;33m'
|
|
NOCOLOR='\033[0m'
|
|
|
|
echo "${YELLOW} ** ${NOCOLOR} Début du script : 05-manageengine"
|
|
echo "${NOCOLOR}"
|
|
|
|
echo "${YELLOW} * ${NOCOLOR} Installation composant"
|
|
echo "${NOCOLOR}"
|
|
|
|
apt install -y xz-utils >> /dev/null
|
|
|
|
echo "${YELLOW} * ${NOCOLOR} Installation composant : ${GREEN} OK"
|
|
echo "${NOCOLOR}"
|
|
|
|
echo "${YELLOW} * ${NOCOLOR} Mise en place des droits sur fichiers"
|
|
echo "${NOCOLOR}"
|
|
|
|
chmod +x 05-manageengine/UEMS_LinuxAgent.bin >> /dev/null
|
|
|
|
echo "${YELLOW} * ${NOCOLOR} Mise en place des droits sur fichiers : ${GREEN} OK"
|
|
echo "${NOCOLOR}"
|
|
|
|
echo "${YELLOW} * ${NOCOLOR} Installation"
|
|
echo "${NOCOLOR}"
|
|
|
|
./05-manageengine/UEMS_LinuxAgent.bin
|
|
|
|
echo "${YELLOW} * ${NOCOLOR} Installation : ${GREEN} OK"
|
|
echo "${NOCOLOR}"
|
|
|
|
echo "${YELLOW} ** ${NOCOLOR} Fin du script : 05-manageengine"
|
|
echo "${NOCOLOR}" |