update : not good
This commit is contained in:
36
-05-manageengine/script.sh
Normal file
36
-05-manageengine/script.sh
Normal file
@@ -0,0 +1,36 @@
|
||||
#!/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}"
|
Reference in New Issue
Block a user