Merge branch 'master' of https://gitlab.com/garagenum/doc
This commit is contained in:
commit
7326ae58f6
4
docs/divers/admin/fusion/index.md
Normal file
4
docs/divers/admin/fusion/index.md
Normal file
@ -0,0 +1,4 @@
|
||||
# Utiliser l'agent Fusion Inventory NG pour GLPI
|
||||
|
||||
Dans cette rubrique, quelques guides pour Fusion Inventory Agent:
|
||||
- [Installer l'agent Fusion Inventory](install-fusion-agent.md)
|
||||
50
docs/divers/admin/fusion/install-fusion-agent.md
Normal file
50
docs/divers/admin/fusion/install-fusion-agent.md
Normal file
@ -0,0 +1,50 @@
|
||||
# Installer l'agent Fusion Inventory NG pour GLPI
|
||||
|
||||
## Dépendances
|
||||
|
||||
### Générales
|
||||
|
||||
```
|
||||
sudo apt install -y dmidecode hwdata ucf hdparm \
|
||||
perl libuniversal-require-perl libwww-perl libparse-edid-perl \
|
||||
libproc-daemon-perl libfile-which-perl libhttp-daemon-perl \
|
||||
libxml-treepp-perl libyaml-perl libnet-cups-perl libnet-ip-perl \
|
||||
libdigest-sha-perl libsocket-getaddrinfo-perl libtext-template-perl \
|
||||
libxml-xpath-perl libyaml-tiny-perl
|
||||
```
|
||||
|
||||
### Modules
|
||||
|
||||
```
|
||||
sudo apt install libnet-snmp-perl libcrypt-des-perl libnet-nbname-perl \
|
||||
libdigest-hmac-perl \
|
||||
libfile-copy-recursive-perl libparallel-forkmanager-perl \
|
||||
```
|
||||
|
||||
## Installation de l'agent
|
||||
|
||||
```
|
||||
curl -s https://api.github.com/repos/fusioninventory/fusioninventory-agent/releases/latest |\
|
||||
grep "browser_download_url.*deb" |\
|
||||
cut -d : -f 2,3 |\
|
||||
tr -d \" |\
|
||||
wget -qi - &&\
|
||||
yes | sudo dpkg -i fusioninventory* &&\
|
||||
sudo apt install -f -y
|
||||
```
|
||||
|
||||
## Configuration de l'agent
|
||||
|
||||
!!! note "`/etc/fusioninventory/agent.cfg` "
|
||||
```
|
||||
server = https://glpi.legaragenumerique.fr/plugins/fusioninventory/
|
||||
```
|
||||
|
||||
### Démarrage de l'agent
|
||||
|
||||
```
|
||||
sudo systemctl restart fusioninventory-agent &&\
|
||||
sudo pkill -USR1 -f -P 1 fusioninventory-agent
|
||||
```
|
||||
|
||||
Les informations de votre ordinateur remontent automatiquement sur le serveur GLPI
|
||||
@ -6,4 +6,4 @@
|
||||
- [ Installer Lug9000 sur Minetest ](lug9000.md)
|
||||
- [ Installer Arch Linux ](arch-install.md)
|
||||
- [ Installer Kodi multimedia player](kodi.md)
|
||||
- [ Faire passer les mises à jour automatiquement](autoupdate.md)
|
||||
- [ Utiliser Fusion Inventory pour GLPI](fusion)
|
||||
|
||||
17
docs/divers/devops/git-api.md
Normal file
17
docs/divers/devops/git-api.md
Normal file
@ -0,0 +1,17 @@
|
||||
# Utiliser l'API de Gitlab et Github
|
||||
|
||||
Ce guide permet d''utiliser l'API de Gitlab / Gitlab avec Bash pour récupérer la dernière version d'un projet.
|
||||
|
||||
## Récupérer la dernière version d'un projet Github
|
||||
|
||||
```
|
||||
curl -s https://api.github.com/repos/[author]/[repository]/releases/latest |\
|
||||
grep "browser_download_url.*deb" |\
|
||||
cut -d : -f 2,3 |\
|
||||
tr -d \" |\
|
||||
wget -qi -
|
||||
```
|
||||
|
||||
## Récupérer la dernière version d'un projet Gitlab
|
||||
|
||||
```
|
||||
@ -4,3 +4,4 @@
|
||||
- [Keycloak as SSO for Nextcloud](sso/index.md)
|
||||
- [Utiliser Gitpod avec Gitlab](gitpod.md)
|
||||
- [Utiliser Dokku pour déployer des applis en mode PaaS](dokku.md)
|
||||
- [Utiliser l'API de Gitlab / Github avec Bash](git-api.md)
|
||||
|
||||
@ -95,6 +95,7 @@ nav:
|
||||
- "Installer Lug9000 dans Minetest": divers/admin/lug9000.md
|
||||
- "Installer Arch Linux avec Gnome": divers/admin/arch-install.md
|
||||
- "Installer Kodi": divers/admin/kodi.md
|
||||
- "Fusion Inventory": divers/admin/fusion/index.md
|
||||
- "Servers":
|
||||
- divers/server/index.md
|
||||
- divers/server/install_pxe.md
|
||||
@ -124,6 +125,7 @@ nav:
|
||||
- divers/devops/sso/sso-wordpress.md
|
||||
- "Gitpod": divers/devops/gitpod.md
|
||||
- "Dokku": divers/devops/dokku.md
|
||||
- "Gitlab / Github API": divers/devops/git-api.md
|
||||
- "Interne":
|
||||
- "Index": divers/internal/index.md
|
||||
- "Imprimantes": divers/internal/install-printers.md
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user