forked from cohabit/server_config
52 lines
829 B
Markdown
52 lines
829 B
Markdown
# Server Config
|
|
|
|
Fichiers de configuration du serveur Coh@bit.
|
|
|
|
## Usage fénéral
|
|
|
|
Cloner ce dépôts sur votre système (pas de répertoire privilégié).
|
|
|
|
## Installation
|
|
|
|
Pour installer les différents services/apps dur serveur.
|
|
|
|
### Usage
|
|
|
|
```sh
|
|
sudo (bash|sh|zsh) ./install.sh [SERVICES...]
|
|
```
|
|
|
|
### Examples
|
|
|
|
- Install `caddy` and `iptables`
|
|
```sh
|
|
sudo ./install.sh caddy iptables
|
|
```
|
|
- Install all services
|
|
```sh
|
|
sudo ./install.sh *
|
|
```
|
|
|
|
## Déploiement
|
|
|
|
Pour déployer les différents services/apps dur serveur.
|
|
|
|
Nécessite d'avoir [installer les services](#installation) au préalable.
|
|
|
|
### Usage
|
|
|
|
```sh
|
|
sudo (bash|sh|zsh) ./deploy.sh [SERVICES...]
|
|
```
|
|
|
|
### Examples
|
|
|
|
- Install `caddy` and `iptables`
|
|
```sh
|
|
sudo ./deploy.sh caddy iptables
|
|
```
|
|
- Install all services
|
|
```sh
|
|
sudo ./deploy.sh *
|
|
```
|