> For the complete documentation index, see [llms.txt](https://studycorp.gitbook.io/studycorp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://studycorp.gitbook.io/studycorp/vps/installer-un-serveur-gmod.md).

# Installer un serveur GMod

1\) Vous devez installer toutes les dépendances nécéssaire à l'installation de votre serveur

```
dpkg --add-architecture i386 && apt install curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 steamcmd libsdl2-2.0-0:i386 -y
```

2\) Téléchargez le script d'installation du serveur et rendez le exécutable

```
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh gmodserver
```

3\) Lancez l'installation du serveur

```
./gmodserver install
```

{% hint style="success" %}
Quelques commandes pour votre serveur <br>

* **./gmodserver start** pour démarrer le serveur,
* **./gmodserver stop** pour arrêter le serveur,
* **./gmodserver restart** pour redémarrer le serveur,
* **./gmodserver update** pour mettre à jour le serveur.
  {% endhint %}
