Fichiers de configuration du serveur Coh@bit.
Go to file
2024-05-30 12:37:00 +02:00
caddy refactor: simplify systemctl start command 2024-05-29 14:01:52 +02:00
fail2ban feat: add vim zsh and fail2ban entries 2024-05-29 16:04:52 +02:00
forgejo feat: add forgejo install and deploy scripts 2024-05-30 11:59:27 +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 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
zsh feat: add vim zsh and fail2ban entries 2024-05-29 16:04:52 +02:00
_requirements.sh fix: typo in requirements install 2024-05-30 12:09:01 +02:00
deploy.sh fix: change * to --all|-a flag for install.sh and deploy.sh 2024-05-30 12:33:42 +02:00
install.sh fix: change * to --all|-a flag for install.sh and deploy.sh 2024-05-30 12:33:42 +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