Fichiers de configuration du serveur Coh@bit.
Go to file
2024-05-29 15:59:17 +02:00
caddy refactor: simplify systemctl start command 2024-05-29 14:01:52 +02:00
forgejo chore: add forgejo directory 2024-05-06 18:00:43 +02:00
iptables doc: add readme for website and iptables 2024-05-29 14:52:03 +02:00
website doc: add readme for website and iptables 2024-05-29 14:52:03 +02:00
wireguard chore: add wireguard directory 2024-05-06 18:01:03 +02:00
_requirements.sh feat: add required utilities install script 2024-05-29 15:59:17 +02:00
deploy.sh fix: iterate only over dir in install.sh and deploy.sh 2024-05-29 15:05:39 +02:00
install.sh feat: add required utilities install script 2024-05-29 15:59:17 +02:00
README.md doc: update general usage in main README 2024-05-29 14:25:16 +02:00

Server Config

Fichiers de configuration du serveur Coh@bit.

Usage général

Cloner ce dépôts sur votre système (pas de répertoire privilégié).

# Clone repository
git clone https://git.cohabit.fr/cohabit/server_config.git
cd server_config

# Allow execute scripts
sudo chmod +x ./install.sh
sudo chmod +x ./deploy.sh

# Install and deploy services
sudo ./install.sh * && sudo ./deploy.sh *

Installation

Pour installer les différents services/apps du serveur.

Usage

sudo (bash|sh|zsh) ./install.sh [SERVICES...]

Examples

  • Install caddy and iptables.
    sudo ./install.sh caddy iptables
    
  • Install all services.
    sudo ./install.sh *
    

Déploiement

Pour déployer les différents services/apps dur serveur.

Nécessite d'avoir installer les services au préalable.

Usage

sudo (bash|sh|zsh) ./deploy.sh [SERVICES...]

Examples

  • Install caddy and iptables.
    sudo ./deploy.sh caddy iptables
    
  • Install all services.
    sudo ./deploy.sh *