Installation OS + CasaOS
Note
CasaOS est une interface pour l'installation et l’administration de services déployés via docker-compose sur un serveur. Il facilite l'installation par l'intermédiaire de magasins d'application et l'administration et surveillance de ces services en proposant une solution graphique presque clé en main.
Installation & Configuration OS¶
Installation de debian-12.8.0-amd64-netinst.iso
Dans les paramètres d'installation:
- Nom de la machine:
phage - Nom d'utilisateur:
tonnom - Pas d'environnement graphique
- Serveur ssh.
Obtention d'un bail DHCP vers 192.168.1.185. Afin que cette adresse ip ne change pas, établir un bail depuis les paramètres d'administration de la box.
Ajouter l'utilisteur au groupe sudo¶
Info
Vous pouvez maintenant débrancher l'écran, clavier et souris pour ranger cet ordinateur dans un placard/garage/grenier et autre espace à fond perdu.
Bravo, vous avez votre serveur et pouvez maintenant le contrôler à distance sur votre réseau local en ssh (et via casaOS ça directement depuis le navigateur internet mais on verra ça après :)
Formatage du disque de stockage¶
Debian a été installé sur un SSD, le second disque va héberger les données (photos, video, documents...). Le disque n'était pas formaté il est possible de le formater directement connexion ssh.
Formater le disque secondaire et le monte dans /mnt/Storage1. Cette étape a été réalisée après installation de CasaOS mais trouve plus de senes a être positionnée ici pour anticiper les partages sur le réseau.
Partage/montage samba¶
Partage du disque de stockage et de la configuration des containers.
sudo nano /etc/samba/smb.conf
ajouter
[dataphage]
path = /mnt/Storage1/
read only = no
public = yes
writable = yes
browseable = yes
guest ok = yes
create mask = 0770
[appPhage]
path = /DATA/AppData/
read only = no
public = yes
writeable = yes
public = no après initialisation
Redémarrer samba
sudo systemctl restart smbd
Montage samba disque dur de la freebox qui servira aux backups. Nécessite de configurer amba v2 et donc authentification, pas de mode anonyme
sudo mkdir /mnt/freebox
chmod -R 777 /mnt/freebox
sudo mount -t cifs //mafreebox.freebox.fr/Disque\ dur/ /mnt/freebox/ -o user=freebox,password=MONPASSWORD,uid=1000,gid=1000,rw
WSDD Deamon¶
Le démon WSDD expose la machine adin qu'elle soit découvrable sur un réseau windows, la machine s'apelle phage
sudo apt update && sudo apt install wsdd
montage sftp¶
Permet d'accéder au répertoire via une connexion sftp, le disque est ainsi partageable via un explorateur de fichier sur une machine distante.
/mnt/Storage1 8522
CasaOS¶
CasaOS est une interface pour l'installation et l’administration de services déployés via docker-compose. L'installation se déroule au moyen de magasins d'applications et l'administration de ces services en proposant une solution graphique presque clé en main.
Installation de CasaOS¶
wget -qO- https://get.casaos.io | sudo bash
Récupérer l'adresse ip de la machine et lui attribuer un bail dhcp.

se connecter via un navigateur internet pour créer un compte

Via le magasin d'application il est possible d'installer en un clic un service. En théorie, mais bien souvent il faut remapper un peu les volumes et les ports ;)
![]()
Il est également possible d'ajouter d'autres magasins externes pour étoffer les possibilités...
Ajout du stockage¶

Ajout de magasins externes¶
Dans l'app store -> Add -> More ou cliquer sur le nombre d'appli disponibles et Plus d'Apps

Warning
Il faut réaliser régulièrement l'ajout pour profiter des nouveautés, pas de mise à jour automatique.
Avec Adguard installé, l'ajout de repo ne fonctionnait pas, aucune application ajoutée. Passage temporaire à cloudflare 1.1.1.1 dans les paramètres serveur DNS de la box résout ce pb
Big Bear Tech¶
url à ajouter : https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip
CasaOS cli¶
Outil d'automatisation et de gestion de casaos
sudo casaos-cli app-management list apps
APPID STATUS WEB UI IMAGES DESCRIPTION
----- ------ ------ ------ -----------
anaconda3 running http://192.168.1.185:8888/ continuumio/anaconda3:2024.10-1 Your machine learning Env work with Jupyter Lab
big-bear-adguard-home running http://192.168.1.185:8080/ adguard/adguardhome:v0.107.56 AdGuard Home is a network-wide software for blocking ads and tracking. After y...
big-bear-dozzle running http://192.168.1.185:8885/ amir20/dozzle:v8.14.1 Dozzle is a real-time log viewer for docker containers.
big-bear-homepage running http://192.168.1.185:3001/ ghcr.io/gethomepage/homepage:v0.10.9 A modern, fully static, fast, secure fully proxied, highly customizable applic...
big-bear-n8n running https://flow.mathgon.org:5678/ n8nio/n8n:1.113.2,postgres:14.2 Free and open fair-code licensed node based Workflow Automation Tool.
big-bear-nextcloud running http://192.168.1.185:7580/ bigbeartechworld/big-bear-nextcloud-with-smbclient:0.0.4,postgres:14.2,bigbeartechworld/big-bear-nextcloud-with-smbclient:0.0.4,redis:6.2.6 Nextcloud puts your data at your fingertips, under your control. Store your do...
big-bear-nocodb running http://192.168.1.185:8181/ nocodb/nocodb:0.260.7,postgres:13,redis:alpine NocoDB allows building no-code database solutions with ease of spreadsheets. B...
big-bear-onlyoffice running http://192.168.1.185:7400/ onlyoffice/documentserver:8.3.0 Feature-rich web-based office suite with a vast range of collaborative capabil...
big-bear-tandoor running http://192.168.1.185:8083/ ghcr.io/tandoorrecipes/recipes:1.5.31,postgres:15-alpine Drop your collection of links and notes. Get Tandoor and never look back onto ...
empathetic_chorok running https://192.168.1.185:8380/ registry.gitlab.com/l-atelier-des-chercheurs/dodoc2-node:latest No description available
flamboyant_shimada running http://192.168.1.185:9090/ sissbruecker/linkding:latest No description available
freshrss running http://192.168.1.185:8749/ freshrss/freshrss:1.26.0 FreshRSS is a self-hosted RSS and Atom feed aggregator. It is lightweight, eas...
jellyfin running http://192.168.1.185:8097/ linuxserver/jellyfin:10.10.3 Imagine having all your movies, TV shows, and music at your fingertips, ready ...
listmonk running http://192.168.1.185:9000/ listmonk/listmonk:latest,postgres:17-alpine Self-hosted newsletter and mailing list manager with a modern web UI.
mkdocs running http://192.168.1.185:8005/ polinux/mkdocs:latest No description available
navidrome running http://192.168.1.185:4533/ deluan/navidrome:0.55.1 Navidrome is an open source web-based music collection server and streamer. It...
nginxproxymanager running http://192.168.1.185:81/ jc21/nginx-proxy-manager:2.12.1 Nginx Proxy Manager is a simple, powerful tool to help you host multiple websi...
spectacular_ricardo running http://192.168.1.185:8086/ azuracast/azuracast:latest No description available
transmission running http://192.168.1.185:9091/ linuxserver/transmission:4.0.4 Transmission is an open source, volunteer-based project. Unlike some BitTorren...
Troubleshooting guide¶
SUite à la mise à jur de docker vers vers 5.29 casaos renvoyait cannot load apps
Utilisé le script https://community.bigbeartechworld.com/t/fix-docker-api-version-error-for-casaos-app-not-loading/5104
https://community.bigbeartechworld.com/t/fix-docker-api-version-error-for-casaos-app-not-loading/5104