Fichiers de configuration du serveur Coh@bit.
Go to file
2024-05-30 13:20:06 +02:00
caddy feat: make silent mkdir 2024-05-30 13:12:07 +02:00
fail2ban feat: add vim zsh and fail2ban entries 2024-05-29 16:04:52 +02:00
forgejo fix: typo in variable assignement from expression 2024-05-30 13:16:26 +02:00
iptables fix: add -y to iptables install cmd 2024-05-30 12:37:00 +02:00
sshd feat: add sshd setup 2024-05-29 16:46:49 +02:00
vim feat: add vim zsh and fail2ban entries 2024-05-29 16:04:52 +02:00
website feat: prevent reinstall and upragde if available 2024-05-30 13:10:20 +02:00
wireguard chore: add wireguard directory 2024-05-06 18:01:03 +02:00
zsh feat: add vim zsh and fail2ban entries 2024-05-29 16:04:52 +02:00
_requirements.sh fix: add wget to requirements 2024-05-30 13:20:06 +02:00
deploy.sh fix: typo flag test in install.sh and deploy.sh 2024-05-30 12:43:10 +02:00
install.sh fix: typo flag test in install.sh and deploy.sh 2024-05-30 12:43:10 +02:00
README.md fix: change * to --all|-a flag for install.sh and deploy.sh 2024-05-30 12:33:42 +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 --all && sudo ./deploy.sh --all

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 -a
    

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 -a