<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.calafou.org//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=B01</id>
	<title>Wiki-Fou - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.calafou.org//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=B01"/>
	<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php/Special:Contributions/B01"/>
	<updated>2026-04-21T13:38:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6064</id>
		<title>Webrec: a live audio video recorder via a web page</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6064"/>
		<updated>2026-03-29T22:39:07Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Webrec is an online tool to record live audio video (webcam) stream from a webpage, the video is stored in a folder accessible from nuvol (nextcloud)&lt;br /&gt;
== Utilisation ==&lt;br /&gt;
[[File:Screenshot 2026-03-24 at 02-01-15 Calafou Web Recorder.png]]&lt;br /&gt;
# Go to : https://webrec.calafou.org/ (it only works in the local network of calafou)&lt;br /&gt;
# Authorize your webcam and microphone&lt;br /&gt;
# Press START REC &lt;br /&gt;
# Press STOP REC&lt;br /&gt;
&lt;br /&gt;
The videos are stored in /opt/webavrecorder/recordings this folder is accessible via nuvol as an external storage (you have to be admin in the nextcloud to add this kind of storage)&lt;br /&gt;
&lt;br /&gt;
  chown -R www-data: /opt/webavrecorder/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
0. Récupérer les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
[https://wiki.calafou.org/images/c/c3/Webrec.tar.gz Webrec.tar.gz]&lt;br /&gt;
&lt;br /&gt;
1. Installation &lt;br /&gt;
 # 1. Installer la dépendance&lt;br /&gt;
 npm install&lt;br /&gt;
&lt;br /&gt;
 # 2. Lancer le serveur en ayant préalablement changé le port à 9090&lt;br /&gt;
 node server.js&lt;br /&gt;
&lt;br /&gt;
 # 3. Ouvrir le navigateur&lt;br /&gt;
 http://localhost:9090&lt;br /&gt;
 ---&lt;br /&gt;
 &lt;br /&gt;
 ## Architecture&lt;br /&gt;
 &lt;br /&gt;
 Navigateur (index.html)&lt;br /&gt;
  └── MediaRecorder API  →  chunks binaires (WebM/VP9)&lt;br /&gt;
        └── WebSocket  →  server.js (Node.js)&lt;br /&gt;
                              └── fs.createWriteStream  →  recordings/rec_xxxx.webm&lt;br /&gt;
&lt;br /&gt;
Créer un vhost apache avec un certificat https pour proxy le traffic vers le serveur nodejs&lt;br /&gt;
&lt;br /&gt;
webrec.calafou-le-ssl.conf&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 #  Prérequis — activer les modules Apache nécessaires :&lt;br /&gt;
 #&lt;br /&gt;
 #  sudo a2enmod proxy proxy_http proxy_wstunnel ssl rewrite headers&lt;br /&gt;
 #  sudo systemctl reload apache2&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 &lt;br /&gt;
 # ── Redirection HTTP → HTTPS ───────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # ── HTTPS + Proxy WebSocket ────────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     # ── Certificat Let&#039;s Encrypt (généré par Certbot) ──────────&lt;br /&gt;
     SSLEngine On&lt;br /&gt;
     SSLCertificateFile      /etc/letsencrypt/live/calafou.org-0002/fullchain.pem&lt;br /&gt;
     SSLCertificateKeyFile   /etc/letsencrypt/live/calafou.org-0002/privkey.pem&lt;br /&gt;
     # Options SSL recommandées&lt;br /&gt;
     SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1&lt;br /&gt;
     SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384&lt;br /&gt;
     SSLHonorCipherOrder     off&lt;br /&gt;
     SSLSessionTickets       off&lt;br /&gt;
 &lt;br /&gt;
     # ── En-têtes de sécurité ───────────────────────────────────&lt;br /&gt;
     Header always set Strict-Transport-Security &amp;quot;max-age=63072000&amp;quot;&lt;br /&gt;
     Header always set X-Frame-Options &amp;quot;SAMEORIGIN&amp;quot;&lt;br /&gt;
     Header always set X-Content-Type-Options &amp;quot;nosniff&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
     # ── Proxy HTTP → Node.js ───────────────────────────────────&lt;br /&gt;
     ProxyRequests Off&lt;br /&gt;
     ProxyPreserveHost On&lt;br /&gt;
 &lt;br /&gt;
     # Upgrade WebSocket : doit être AVANT la règle ProxyPass générale&lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteCond %{HTTP:Upgrade} =websocket [NC]&lt;br /&gt;
     RewriteRule ^/?(.*) ws://127.0.0.1:9090/$1 [P,L]&lt;br /&gt;
 &lt;br /&gt;
     # Tout le reste → HTTP classique vers Node&lt;br /&gt;
     ProxyPass        / http://127.0.0.1:9090/&lt;br /&gt;
     ProxyPassReverse / http://127.0.0.1:9090/&lt;br /&gt;
 &lt;br /&gt;
     # ── Logs ───────────────────────────────────────────────────&lt;br /&gt;
     ErrorLog  ${APACHE_LOG_DIR}/webcam_error.log&lt;br /&gt;
     CustomLog ${APACHE_LOG_DIR}/webcam_access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Copier les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /opt/webavrecorder&lt;br /&gt;
 sudo cp server.js package.json /opt/webavrecorder/&lt;br /&gt;
 cd /opt/calafou-recorder &amp;amp;&amp;amp; sudo npm install&lt;br /&gt;
 sudo mkdir -p /opt/webavrecorder/recordings&lt;br /&gt;
 sudo chown -R www-data:www-data /opt/webavrecorder&lt;br /&gt;
&lt;br /&gt;
calafou-recorder.service&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Calafou Web Recorder — serveur WebSocket Node.js&lt;br /&gt;
 After=network.target&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 Type=simple&lt;br /&gt;
 User=www-data&lt;br /&gt;
 WorkingDirectory=/opt/webavrecorder&lt;br /&gt;
 ExecStart=/usr/bin/node server.js&lt;br /&gt;
 Restart=on-failure&lt;br /&gt;
 RestartSec=5&lt;br /&gt;
 &lt;br /&gt;
 # Logs vers journald&lt;br /&gt;
 StandardOutput=journal&lt;br /&gt;
 StandardError=journal&lt;br /&gt;
 SyslogIdentifier=calafou-recorder&lt;br /&gt;
 &lt;br /&gt;
 # Sécurité&lt;br /&gt;
 NoNewPrivileges=true&lt;br /&gt;
 PrivateTmp=true&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
2. Installer et activer le service&lt;br /&gt;
&lt;br /&gt;
 sudo cp calafou-recorder.service /etc/systemd/system/&lt;br /&gt;
 sudo systemctl daemon-reload&lt;br /&gt;
 sudo systemctl enable calafou-recorder&lt;br /&gt;
 sudo systemctl start calafou-recorder&lt;br /&gt;
&lt;br /&gt;
3. Vérifier&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl status calafou-recorder&lt;br /&gt;
 # Logs en temps réel :&lt;br /&gt;
 sudo journalctl -u calafou-recorder -f&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6061</id>
		<title>Webrec: a live audio video recorder via a web page</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6061"/>
		<updated>2026-03-24T01:26:40Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Webrec is an online tool to record live audio video (webcam) stream from a webpage, the video is stored in a folder accessible from nuvol (nextcloud)&lt;br /&gt;
== Utilisation ==&lt;br /&gt;
[[File:Screenshot 2026-03-24 at 02-01-15 Calafou Web Recorder.png]]&lt;br /&gt;
# Go to : https://webrec.calafou.org/&lt;br /&gt;
# Authorize your webcam and microphone&lt;br /&gt;
# Press START REC &lt;br /&gt;
# Press STOP REC&lt;br /&gt;
&lt;br /&gt;
The videos are stored in /opt/webavrecorder/recordings this folder is accessible via nuvol as an external storage (you have to be admin in the nextcloud to add this kind of storage)&lt;br /&gt;
&lt;br /&gt;
  chown -R www-data: /opt/webavrecorder/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
0. Récupérer les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
[https://wiki.calafou.org/images/c/c3/Webrec.tar.gz Webrec.tar.gz]&lt;br /&gt;
&lt;br /&gt;
1. Installation &lt;br /&gt;
 # 1. Installer la dépendance&lt;br /&gt;
 npm install&lt;br /&gt;
&lt;br /&gt;
 # 2. Lancer le serveur en ayant préalablement changé le port à 9090&lt;br /&gt;
 node server.js&lt;br /&gt;
&lt;br /&gt;
 # 3. Ouvrir le navigateur&lt;br /&gt;
 http://localhost:9090&lt;br /&gt;
 ---&lt;br /&gt;
 &lt;br /&gt;
 ## Architecture&lt;br /&gt;
 &lt;br /&gt;
 Navigateur (index.html)&lt;br /&gt;
  └── MediaRecorder API  →  chunks binaires (WebM/VP9)&lt;br /&gt;
        └── WebSocket  →  server.js (Node.js)&lt;br /&gt;
                              └── fs.createWriteStream  →  recordings/rec_xxxx.webm&lt;br /&gt;
&lt;br /&gt;
Créer un vhost apache avec un certificat https pour proxy le traffic vers le serveur nodejs&lt;br /&gt;
&lt;br /&gt;
webrec.calafou-le-ssl.conf&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 #  Prérequis — activer les modules Apache nécessaires :&lt;br /&gt;
 #&lt;br /&gt;
 #  sudo a2enmod proxy proxy_http proxy_wstunnel ssl rewrite headers&lt;br /&gt;
 #  sudo systemctl reload apache2&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 &lt;br /&gt;
 # ── Redirection HTTP → HTTPS ───────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # ── HTTPS + Proxy WebSocket ────────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     # ── Certificat Let&#039;s Encrypt (généré par Certbot) ──────────&lt;br /&gt;
     SSLEngine On&lt;br /&gt;
     SSLCertificateFile      /etc/letsencrypt/live/calafou.org-0002/fullchain.pem&lt;br /&gt;
     SSLCertificateKeyFile   /etc/letsencrypt/live/calafou.org-0002/privkey.pem&lt;br /&gt;
     # Options SSL recommandées&lt;br /&gt;
     SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1&lt;br /&gt;
     SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384&lt;br /&gt;
     SSLHonorCipherOrder     off&lt;br /&gt;
     SSLSessionTickets       off&lt;br /&gt;
 &lt;br /&gt;
     # ── En-têtes de sécurité ───────────────────────────────────&lt;br /&gt;
     Header always set Strict-Transport-Security &amp;quot;max-age=63072000&amp;quot;&lt;br /&gt;
     Header always set X-Frame-Options &amp;quot;SAMEORIGIN&amp;quot;&lt;br /&gt;
     Header always set X-Content-Type-Options &amp;quot;nosniff&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
     # ── Proxy HTTP → Node.js ───────────────────────────────────&lt;br /&gt;
     ProxyRequests Off&lt;br /&gt;
     ProxyPreserveHost On&lt;br /&gt;
 &lt;br /&gt;
     # Upgrade WebSocket : doit être AVANT la règle ProxyPass générale&lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteCond %{HTTP:Upgrade} =websocket [NC]&lt;br /&gt;
     RewriteRule ^/?(.*) ws://127.0.0.1:9090/$1 [P,L]&lt;br /&gt;
 &lt;br /&gt;
     # Tout le reste → HTTP classique vers Node&lt;br /&gt;
     ProxyPass        / http://127.0.0.1:9090/&lt;br /&gt;
     ProxyPassReverse / http://127.0.0.1:9090/&lt;br /&gt;
 &lt;br /&gt;
     # ── Logs ───────────────────────────────────────────────────&lt;br /&gt;
     ErrorLog  ${APACHE_LOG_DIR}/webcam_error.log&lt;br /&gt;
     CustomLog ${APACHE_LOG_DIR}/webcam_access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Copier les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /opt/webavrecorder&lt;br /&gt;
 sudo cp server.js package.json /opt/webavrecorder/&lt;br /&gt;
 cd /opt/calafou-recorder &amp;amp;&amp;amp; sudo npm install&lt;br /&gt;
 sudo mkdir -p /opt/webavrecorder/recordings&lt;br /&gt;
 sudo chown -R www-data:www-data /opt/webavrecorder&lt;br /&gt;
&lt;br /&gt;
calafou-recorder.service&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Calafou Web Recorder — serveur WebSocket Node.js&lt;br /&gt;
 After=network.target&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 Type=simple&lt;br /&gt;
 User=www-data&lt;br /&gt;
 WorkingDirectory=/opt/webavrecorder&lt;br /&gt;
 ExecStart=/usr/bin/node server.js&lt;br /&gt;
 Restart=on-failure&lt;br /&gt;
 RestartSec=5&lt;br /&gt;
 &lt;br /&gt;
 # Logs vers journald&lt;br /&gt;
 StandardOutput=journal&lt;br /&gt;
 StandardError=journal&lt;br /&gt;
 SyslogIdentifier=calafou-recorder&lt;br /&gt;
 &lt;br /&gt;
 # Sécurité&lt;br /&gt;
 NoNewPrivileges=true&lt;br /&gt;
 PrivateTmp=true&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
2. Installer et activer le service&lt;br /&gt;
&lt;br /&gt;
 sudo cp calafou-recorder.service /etc/systemd/system/&lt;br /&gt;
 sudo systemctl daemon-reload&lt;br /&gt;
 sudo systemctl enable calafou-recorder&lt;br /&gt;
 sudo systemctl start calafou-recorder&lt;br /&gt;
&lt;br /&gt;
3. Vérifier&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl status calafou-recorder&lt;br /&gt;
 # Logs en temps réel :&lt;br /&gt;
 sudo journalctl -u calafou-recorder -f&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6060</id>
		<title>Webrec: a live audio video recorder via a web page</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6060"/>
		<updated>2026-03-24T01:05:23Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Webrec is an online tool to record live audio video (webcam) stream from a webpage, the video is stored in a folder accessible from nuvol (nextcloud)&lt;br /&gt;
== Utilisation ==&lt;br /&gt;
[[File:Screenshot 2026-03-24 at 02-01-15 Calafou Web Recorder.png]]&lt;br /&gt;
# Go to : https://webrec.calafou.org/&lt;br /&gt;
# Authorize your webcam and microphone&lt;br /&gt;
# Press START REC &lt;br /&gt;
# Press STOP REC&lt;br /&gt;
&lt;br /&gt;
The videos are stored in /opt/webavrecorder/recordings this folder is accessible via nuvol&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
0. Récupérer les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
[https://wiki.calafou.org/images/c/c3/Webrec.tar.gz Webrec.tar.gz]&lt;br /&gt;
&lt;br /&gt;
1. Installation &lt;br /&gt;
 # 1. Installer la dépendance&lt;br /&gt;
 npm install&lt;br /&gt;
&lt;br /&gt;
 # 2. Lancer le serveur en ayant préalablement changé le port à 9090&lt;br /&gt;
 node server.js&lt;br /&gt;
&lt;br /&gt;
 # 3. Ouvrir le navigateur&lt;br /&gt;
 http://localhost:9090&lt;br /&gt;
 ---&lt;br /&gt;
 &lt;br /&gt;
 ## Architecture&lt;br /&gt;
 &lt;br /&gt;
 Navigateur (index.html)&lt;br /&gt;
  └── MediaRecorder API  →  chunks binaires (WebM/VP9)&lt;br /&gt;
        └── WebSocket  →  server.js (Node.js)&lt;br /&gt;
                              └── fs.createWriteStream  →  recordings/rec_xxxx.webm&lt;br /&gt;
&lt;br /&gt;
Créer un vhost apache avec un certificat https pour proxy le traffic vers le serveur nodejs&lt;br /&gt;
&lt;br /&gt;
webrec.calafou-le-ssl.conf&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 #  Prérequis — activer les modules Apache nécessaires :&lt;br /&gt;
 #&lt;br /&gt;
 #  sudo a2enmod proxy proxy_http proxy_wstunnel ssl rewrite headers&lt;br /&gt;
 #  sudo systemctl reload apache2&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 &lt;br /&gt;
 # ── Redirection HTTP → HTTPS ───────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # ── HTTPS + Proxy WebSocket ────────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     # ── Certificat Let&#039;s Encrypt (généré par Certbot) ──────────&lt;br /&gt;
     SSLEngine On&lt;br /&gt;
     SSLCertificateFile      /etc/letsencrypt/live/calafou.org-0002/fullchain.pem&lt;br /&gt;
     SSLCertificateKeyFile   /etc/letsencrypt/live/calafou.org-0002/privkey.pem&lt;br /&gt;
     # Options SSL recommandées&lt;br /&gt;
     SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1&lt;br /&gt;
     SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384&lt;br /&gt;
     SSLHonorCipherOrder     off&lt;br /&gt;
     SSLSessionTickets       off&lt;br /&gt;
 &lt;br /&gt;
     # ── En-têtes de sécurité ───────────────────────────────────&lt;br /&gt;
     Header always set Strict-Transport-Security &amp;quot;max-age=63072000&amp;quot;&lt;br /&gt;
     Header always set X-Frame-Options &amp;quot;SAMEORIGIN&amp;quot;&lt;br /&gt;
     Header always set X-Content-Type-Options &amp;quot;nosniff&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
     # ── Proxy HTTP → Node.js ───────────────────────────────────&lt;br /&gt;
     ProxyRequests Off&lt;br /&gt;
     ProxyPreserveHost On&lt;br /&gt;
 &lt;br /&gt;
     # Upgrade WebSocket : doit être AVANT la règle ProxyPass générale&lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteCond %{HTTP:Upgrade} =websocket [NC]&lt;br /&gt;
     RewriteRule ^/?(.*) ws://127.0.0.1:9090/$1 [P,L]&lt;br /&gt;
 &lt;br /&gt;
     # Tout le reste → HTTP classique vers Node&lt;br /&gt;
     ProxyPass        / http://127.0.0.1:9090/&lt;br /&gt;
     ProxyPassReverse / http://127.0.0.1:9090/&lt;br /&gt;
 &lt;br /&gt;
     # ── Logs ───────────────────────────────────────────────────&lt;br /&gt;
     ErrorLog  ${APACHE_LOG_DIR}/webcam_error.log&lt;br /&gt;
     CustomLog ${APACHE_LOG_DIR}/webcam_access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Copier les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /opt/webavrecorder&lt;br /&gt;
 sudo cp server.js package.json /opt/webavrecorder/&lt;br /&gt;
 cd /opt/calafou-recorder &amp;amp;&amp;amp; sudo npm install&lt;br /&gt;
 sudo mkdir -p /opt/webavrecorder/recordings&lt;br /&gt;
 sudo chown -R www-data:www-data /opt/webavrecorder&lt;br /&gt;
&lt;br /&gt;
calafou-recorder.service&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Calafou Web Recorder — serveur WebSocket Node.js&lt;br /&gt;
 After=network.target&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 Type=simple&lt;br /&gt;
 User=www-data&lt;br /&gt;
 WorkingDirectory=/opt/webavrecorder&lt;br /&gt;
 ExecStart=/usr/bin/node server.js&lt;br /&gt;
 Restart=on-failure&lt;br /&gt;
 RestartSec=5&lt;br /&gt;
 &lt;br /&gt;
 # Logs vers journald&lt;br /&gt;
 StandardOutput=journal&lt;br /&gt;
 StandardError=journal&lt;br /&gt;
 SyslogIdentifier=calafou-recorder&lt;br /&gt;
 &lt;br /&gt;
 # Sécurité&lt;br /&gt;
 NoNewPrivileges=true&lt;br /&gt;
 PrivateTmp=true&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
2. Installer et activer le service&lt;br /&gt;
&lt;br /&gt;
 sudo cp calafou-recorder.service /etc/systemd/system/&lt;br /&gt;
 sudo systemctl daemon-reload&lt;br /&gt;
 sudo systemctl enable calafou-recorder&lt;br /&gt;
 sudo systemctl start calafou-recorder&lt;br /&gt;
&lt;br /&gt;
3. Vérifier&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl status calafou-recorder&lt;br /&gt;
 # Logs en temps réel :&lt;br /&gt;
 sudo journalctl -u calafou-recorder -f&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6059</id>
		<title>Webrec: a live audio video recorder via a web page</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6059"/>
		<updated>2026-03-24T01:03:00Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Webrec is an online tool to record live audio video (webcam) stream from a webpage, the video is stored in a folder accessible from nuvol (nextcloud)&lt;br /&gt;
== Utilisation ==&lt;br /&gt;
[[File:Screenshot 2026-03-24 at 02-01-15 Calafou Web Recorder.png]]&lt;br /&gt;
# Go to : https://webrec.calafou.org/&lt;br /&gt;
# Authorize your webcam and microphone&lt;br /&gt;
# Press START REC &lt;br /&gt;
# Press STOP REC&lt;br /&gt;
&lt;br /&gt;
The videos are stored in /opt/webavrecorder/recordings this folder is accessible via nuvol&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
0. Récupérer les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
[https://wiki.calafou.org/images/c/c3/Webrec.tar.gz Webrec.tar.gz]&lt;br /&gt;
&lt;br /&gt;
1. Installation &lt;br /&gt;
 # 1. Installer la dépendance&lt;br /&gt;
 npm install&lt;br /&gt;
&lt;br /&gt;
 # 2. Lancer le serveur&lt;br /&gt;
 node server.js&lt;br /&gt;
&lt;br /&gt;
 # 3. Ouvrir le navigateur&lt;br /&gt;
 http://localhost:8080&lt;br /&gt;
 ---&lt;br /&gt;
 &lt;br /&gt;
 ## Architecture&lt;br /&gt;
 &lt;br /&gt;
 Navigateur (index.html)&lt;br /&gt;
  └── MediaRecorder API  →  chunks binaires (WebM/VP9)&lt;br /&gt;
        └── WebSocket  →  server.js (Node.js)&lt;br /&gt;
                              └── fs.createWriteStream  →  recordings/rec_xxxx.webm&lt;br /&gt;
&lt;br /&gt;
Créer un vhost apache avec un certificat https pour proxy le traffic vers le serveur nodejs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Copier les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
sudo mkdir -p /opt/calafou-recorder&lt;br /&gt;
sudo cp server.js package.json /opt/calafou-recorder/&lt;br /&gt;
cd /opt/calafou-recorder &amp;amp;&amp;amp; sudo npm install&lt;br /&gt;
sudo mkdir -p /opt/calafou-recorder/recordings&lt;br /&gt;
sudo chown -R www-data:www-data /opt/calafou-recorder&lt;br /&gt;
&lt;br /&gt;
webrec.calafou-le-ssl.conf&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 #  Prérequis — activer les modules Apache nécessaires :&lt;br /&gt;
 #&lt;br /&gt;
 #  sudo a2enmod proxy proxy_http proxy_wstunnel ssl rewrite headers&lt;br /&gt;
 #  sudo systemctl reload apache2&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 &lt;br /&gt;
 # ── Redirection HTTP → HTTPS ───────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # ── HTTPS + Proxy WebSocket ────────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     # ── Certificat Let&#039;s Encrypt (généré par Certbot) ──────────&lt;br /&gt;
     SSLEngine On&lt;br /&gt;
     SSLCertificateFile      /etc/letsencrypt/live/calafou.org-0002/fullchain.pem&lt;br /&gt;
     SSLCertificateKeyFile   /etc/letsencrypt/live/calafou.org-0002/privkey.pem&lt;br /&gt;
     # Options SSL recommandées&lt;br /&gt;
     SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1&lt;br /&gt;
     SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384&lt;br /&gt;
     SSLHonorCipherOrder     off&lt;br /&gt;
     SSLSessionTickets       off&lt;br /&gt;
 &lt;br /&gt;
     # ── En-têtes de sécurité ───────────────────────────────────&lt;br /&gt;
     Header always set Strict-Transport-Security &amp;quot;max-age=63072000&amp;quot;&lt;br /&gt;
     Header always set X-Frame-Options &amp;quot;SAMEORIGIN&amp;quot;&lt;br /&gt;
     Header always set X-Content-Type-Options &amp;quot;nosniff&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
     # ── Proxy HTTP → Node.js ───────────────────────────────────&lt;br /&gt;
     ProxyRequests Off&lt;br /&gt;
     ProxyPreserveHost On&lt;br /&gt;
 &lt;br /&gt;
     # Upgrade WebSocket : doit être AVANT la règle ProxyPass générale&lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteCond %{HTTP:Upgrade} =websocket [NC]&lt;br /&gt;
     RewriteRule ^/?(.*) ws://127.0.0.1:9090/$1 [P,L]&lt;br /&gt;
 &lt;br /&gt;
     # Tout le reste → HTTP classique vers Node&lt;br /&gt;
     ProxyPass        / http://127.0.0.1:9090/&lt;br /&gt;
     ProxyPassReverse / http://127.0.0.1:9090/&lt;br /&gt;
 &lt;br /&gt;
     # ── Logs ───────────────────────────────────────────────────&lt;br /&gt;
     ErrorLog  ${APACHE_LOG_DIR}/webcam_error.log&lt;br /&gt;
     CustomLog ${APACHE_LOG_DIR}/webcam_access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
calafou-recorder.service&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Calafou Web Recorder — serveur WebSocket Node.js&lt;br /&gt;
 After=network.target&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 Type=simple&lt;br /&gt;
 User=www-data&lt;br /&gt;
 WorkingDirectory=/opt/webavrecorder&lt;br /&gt;
 ExecStart=/usr/bin/node server.js&lt;br /&gt;
 Restart=on-failure&lt;br /&gt;
 RestartSec=5&lt;br /&gt;
 &lt;br /&gt;
 # Logs vers journald&lt;br /&gt;
 StandardOutput=journal&lt;br /&gt;
 StandardError=journal&lt;br /&gt;
 SyslogIdentifier=calafou-recorder&lt;br /&gt;
 &lt;br /&gt;
 # Sécurité&lt;br /&gt;
 NoNewPrivileges=true&lt;br /&gt;
 PrivateTmp=true&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
2. Installer et activer le service&lt;br /&gt;
&lt;br /&gt;
 sudo cp calafou-recorder.service /etc/systemd/system/&lt;br /&gt;
 sudo systemctl daemon-reload&lt;br /&gt;
 sudo systemctl enable calafou-recorder&lt;br /&gt;
 sudo systemctl start calafou-recorder&lt;br /&gt;
&lt;br /&gt;
3. Vérifier&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl status calafou-recorder&lt;br /&gt;
 # Logs en temps réel :&lt;br /&gt;
 sudo journalctl -u calafou-recorder -f&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6058</id>
		<title>Webrec: a live audio video recorder via a web page</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6058"/>
		<updated>2026-03-24T01:02:22Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Webrec is an online tool to record live audio video (webcam) stream from a webpage, the video is stored in a folder accessible from nuvol (nextcloud)&lt;br /&gt;
== Utilisation ==&lt;br /&gt;
[[File:Screenshot 2026-03-24 at 02-01-15 Calafou Web Recorder.png]]&lt;br /&gt;
# Go to : https://webrec.calafou.org/&lt;br /&gt;
# Authorize your webcam and microphone&lt;br /&gt;
# Press START REC &lt;br /&gt;
# Press STOP REC&lt;br /&gt;
&lt;br /&gt;
The videos are stored in /opt/webavrecorder/recordings this folder is accessible via nuvol&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
0. Récupérer les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
[https://wiki.calafou.org/images/c/c3/Webrec.tar.gz Webrec.tar.gz]&lt;br /&gt;
&lt;br /&gt;
1. Installation &lt;br /&gt;
 # 1. Installer la dépendance&lt;br /&gt;
 npm install&lt;br /&gt;
&lt;br /&gt;
 # 2. Lancer le serveur&lt;br /&gt;
 node server.js&lt;br /&gt;
&lt;br /&gt;
 # 3. Ouvrir le navigateur&lt;br /&gt;
 http://localhost:8080&lt;br /&gt;
 ---&lt;br /&gt;
 &lt;br /&gt;
 ## Architecture&lt;br /&gt;
 &lt;br /&gt;
 Navigateur (index.html)&lt;br /&gt;
  └── MediaRecorder API  →  chunks binaires (WebM/VP9)&lt;br /&gt;
        └── WebSocket  →  server.js (Node.js)&lt;br /&gt;
                              └── fs.createWriteStream  →  recordings/rec_xxxx.webm&lt;br /&gt;
&lt;br /&gt;
Créer un vhost apache avec un certificat https pour proxy le traffic vers le serveur nodejs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Copier les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
sudo mkdir -p /opt/calafou-recorder&lt;br /&gt;
sudo cp server.js package.json /opt/calafou-recorder/&lt;br /&gt;
cd /opt/calafou-recorder &amp;amp;&amp;amp; sudo npm install&lt;br /&gt;
sudo mkdir -p /opt/calafou-recorder/recordings&lt;br /&gt;
sudo chown -R www-data:www-data /opt/calafou-recorder&lt;br /&gt;
&lt;br /&gt;
webrec.calafou-le-ssl.conf&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 #  Prérequis — activer les modules Apache nécessaires :&lt;br /&gt;
 #&lt;br /&gt;
 #  sudo a2enmod proxy proxy_http proxy_wstunnel ssl rewrite headers&lt;br /&gt;
 #  sudo systemctl reload apache2&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 &lt;br /&gt;
 # ── Redirection HTTP → HTTPS ───────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # ── HTTPS + Proxy WebSocket ────────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     # ── Certificat Let&#039;s Encrypt (généré par Certbot) ──────────&lt;br /&gt;
     SSLEngine On&lt;br /&gt;
     SSLCertificateFile      /etc/letsencrypt/live/calafou.org-0002/fullchain.pem&lt;br /&gt;
     SSLCertificateKeyFile   /etc/letsencrypt/live/calafou.org-0002/privkey.pem&lt;br /&gt;
     # Options SSL recommandées&lt;br /&gt;
     SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1&lt;br /&gt;
     SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384&lt;br /&gt;
     SSLHonorCipherOrder     off&lt;br /&gt;
     SSLSessionTickets       off&lt;br /&gt;
 &lt;br /&gt;
     # ── En-têtes de sécurité ───────────────────────────────────&lt;br /&gt;
     Header always set Strict-Transport-Security &amp;quot;max-age=63072000&amp;quot;&lt;br /&gt;
     Header always set X-Frame-Options &amp;quot;SAMEORIGIN&amp;quot;&lt;br /&gt;
     Header always set X-Content-Type-Options &amp;quot;nosniff&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
     # ── Proxy HTTP → Node.js ───────────────────────────────────&lt;br /&gt;
     ProxyRequests Off&lt;br /&gt;
     ProxyPreserveHost On&lt;br /&gt;
 &lt;br /&gt;
     # Upgrade WebSocket : doit être AVANT la règle ProxyPass générale&lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteCond %{HTTP:Upgrade} =websocket [NC]&lt;br /&gt;
     RewriteRule ^/?(.*) ws://127.0.0.1:9090/$1 [P,L]&lt;br /&gt;
 &lt;br /&gt;
     # Tout le reste → HTTP classique vers Node&lt;br /&gt;
     ProxyPass        / http://127.0.0.1:9090/&lt;br /&gt;
     ProxyPassReverse / http://127.0.0.1:9090/&lt;br /&gt;
 &lt;br /&gt;
     # ── Logs ───────────────────────────────────────────────────&lt;br /&gt;
     ErrorLog  ${APACHE_LOG_DIR}/webcam_error.log&lt;br /&gt;
     CustomLog ${APACHE_LOG_DIR}/webcam_access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
calafou-recorder.service&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Calafou Web Recorder — serveur WebSocket Node.js&lt;br /&gt;
 After=network.target&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 Type=simple&lt;br /&gt;
 User=www-data&lt;br /&gt;
 WorkingDirectory=/opt/webavrecorder&lt;br /&gt;
 ExecStart=/usr/bin/node server.js&lt;br /&gt;
 Restart=on-failure&lt;br /&gt;
 RestartSec=5&lt;br /&gt;
 &lt;br /&gt;
 # Logs vers journald&lt;br /&gt;
 StandardOutput=journal&lt;br /&gt;
 StandardError=journal&lt;br /&gt;
 SyslogIdentifier=calafou-recorder&lt;br /&gt;
 &lt;br /&gt;
 # Sécurité&lt;br /&gt;
 NoNewPrivileges=true&lt;br /&gt;
 PrivateTmp=true&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
2. Installer et activer le service&lt;br /&gt;
&lt;br /&gt;
sudo cp calafou-recorder.service /etc/systemd/system/&lt;br /&gt;
sudo systemctl daemon-reload&lt;br /&gt;
sudo systemctl enable calafou-recorder&lt;br /&gt;
sudo systemctl start calafou-recorder&lt;br /&gt;
&lt;br /&gt;
3. Vérifier&lt;br /&gt;
&lt;br /&gt;
sudo systemctl status calafou-recorder&lt;br /&gt;
# Logs en temps réel :&lt;br /&gt;
sudo journalctl -u calafou-recorder -f&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=File:Screenshot_2026-03-24_at_02-01-15_Calafou_Web_Recorder.png&amp;diff=6057</id>
		<title>File:Screenshot 2026-03-24 at 02-01-15 Calafou Web Recorder.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=File:Screenshot_2026-03-24_at_02-01-15_Calafou_Web_Recorder.png&amp;diff=6057"/>
		<updated>2026-03-24T01:01:39Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=File:Webrec.tar.gz&amp;diff=6056</id>
		<title>File:Webrec.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=File:Webrec.tar.gz&amp;diff=6056"/>
		<updated>2026-03-24T00:55:29Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6055</id>
		<title>Webrec: a live audio video recorder via a web page</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Webrec:_a_live_audio_video_recorder_via_a_web_page&amp;diff=6055"/>
		<updated>2026-03-24T00:52:19Z</updated>

		<summary type="html">&lt;p&gt;B01: Created page with &amp;quot;Webrec is an online tool to record live audio video (webcam) stream from a webpage, the video is stored in a folder accessible from nuvol (nextcloud) == Installation == 0. Récupérer les fichiers du projet  1. Installation   # 1. Installer la dépendance  npm install   # 2. Lancer le serveur  node server.js   # 3. Ouvrir le navigateur  http://localhost:8080  ---    ## Architecture    Navigateur (index.html)   └── MediaRecorder API  →  chunks binaires (WebM/VP9)...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Webrec is an online tool to record live audio video (webcam) stream from a webpage, the video is stored in a folder accessible from nuvol (nextcloud)&lt;br /&gt;
== Installation ==&lt;br /&gt;
0. Récupérer les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
1. Installation &lt;br /&gt;
 # 1. Installer la dépendance&lt;br /&gt;
 npm install&lt;br /&gt;
&lt;br /&gt;
 # 2. Lancer le serveur&lt;br /&gt;
 node server.js&lt;br /&gt;
&lt;br /&gt;
 # 3. Ouvrir le navigateur&lt;br /&gt;
 http://localhost:8080&lt;br /&gt;
 ---&lt;br /&gt;
 &lt;br /&gt;
 ## Architecture&lt;br /&gt;
 &lt;br /&gt;
 Navigateur (index.html)&lt;br /&gt;
  └── MediaRecorder API  →  chunks binaires (WebM/VP9)&lt;br /&gt;
        └── WebSocket  →  server.js (Node.js)&lt;br /&gt;
                              └── fs.createWriteStream  →  recordings/rec_xxxx.webm&lt;br /&gt;
&lt;br /&gt;
Créer un vhost apache avec un certificat https pour proxy le traffic vers le serveur nodejs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Copier les fichiers du projet&lt;br /&gt;
&lt;br /&gt;
sudo mkdir -p /opt/calafou-recorder&lt;br /&gt;
sudo cp server.js package.json /opt/calafou-recorder/&lt;br /&gt;
cd /opt/calafou-recorder &amp;amp;&amp;amp; sudo npm install&lt;br /&gt;
sudo mkdir -p /opt/calafou-recorder/recordings&lt;br /&gt;
sudo chown -R www-data:www-data /opt/calafou-recorder&lt;br /&gt;
&lt;br /&gt;
webrec.calafou-le-ssl.conf&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 #  Prérequis — activer les modules Apache nécessaires :&lt;br /&gt;
 #&lt;br /&gt;
 #  sudo a2enmod proxy proxy_http proxy_wstunnel ssl rewrite headers&lt;br /&gt;
 #  sudo systemctl reload apache2&lt;br /&gt;
 # ──────────────────────────────────────────────────────────────&lt;br /&gt;
 &lt;br /&gt;
 # ── Redirection HTTP → HTTPS ───────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # ── HTTPS + Proxy WebSocket ────────────────────────────────────&lt;br /&gt;
 &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
     ServerName webrec.calafou.org&lt;br /&gt;
 &lt;br /&gt;
     # ── Certificat Let&#039;s Encrypt (généré par Certbot) ──────────&lt;br /&gt;
     SSLEngine On&lt;br /&gt;
     SSLCertificateFile      /etc/letsencrypt/live/calafou.org-0002/fullchain.pem&lt;br /&gt;
     SSLCertificateKeyFile   /etc/letsencrypt/live/calafou.org-0002/privkey.pem&lt;br /&gt;
     # Options SSL recommandées&lt;br /&gt;
     SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1&lt;br /&gt;
     SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384&lt;br /&gt;
     SSLHonorCipherOrder     off&lt;br /&gt;
     SSLSessionTickets       off&lt;br /&gt;
 &lt;br /&gt;
     # ── En-têtes de sécurité ───────────────────────────────────&lt;br /&gt;
     Header always set Strict-Transport-Security &amp;quot;max-age=63072000&amp;quot;&lt;br /&gt;
     Header always set X-Frame-Options &amp;quot;SAMEORIGIN&amp;quot;&lt;br /&gt;
     Header always set X-Content-Type-Options &amp;quot;nosniff&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
     # ── Proxy HTTP → Node.js ───────────────────────────────────&lt;br /&gt;
     ProxyRequests Off&lt;br /&gt;
     ProxyPreserveHost On&lt;br /&gt;
 &lt;br /&gt;
     # Upgrade WebSocket : doit être AVANT la règle ProxyPass générale&lt;br /&gt;
     RewriteEngine On&lt;br /&gt;
     RewriteCond %{HTTP:Upgrade} =websocket [NC]&lt;br /&gt;
     RewriteRule ^/?(.*) ws://127.0.0.1:9090/$1 [P,L]&lt;br /&gt;
 &lt;br /&gt;
     # Tout le reste → HTTP classique vers Node&lt;br /&gt;
     ProxyPass        / http://127.0.0.1:9090/&lt;br /&gt;
     ProxyPassReverse / http://127.0.0.1:9090/&lt;br /&gt;
 &lt;br /&gt;
     # ── Logs ───────────────────────────────────────────────────&lt;br /&gt;
     ErrorLog  ${APACHE_LOG_DIR}/webcam_error.log&lt;br /&gt;
     CustomLog ${APACHE_LOG_DIR}/webcam_access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
calafou-recorder.service&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Calafou Web Recorder — serveur WebSocket Node.js&lt;br /&gt;
 After=network.target&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 Type=simple&lt;br /&gt;
 User=www-data&lt;br /&gt;
 WorkingDirectory=/opt/webavrecorder&lt;br /&gt;
 ExecStart=/usr/bin/node server.js&lt;br /&gt;
 Restart=on-failure&lt;br /&gt;
 RestartSec=5&lt;br /&gt;
 &lt;br /&gt;
 # Logs vers journald&lt;br /&gt;
 StandardOutput=journal&lt;br /&gt;
 StandardError=journal&lt;br /&gt;
 SyslogIdentifier=calafou-recorder&lt;br /&gt;
 &lt;br /&gt;
 # Sécurité&lt;br /&gt;
 NoNewPrivileges=true&lt;br /&gt;
 PrivateTmp=true&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
2. Installer et activer le service&lt;br /&gt;
&lt;br /&gt;
sudo cp calafou-recorder.service /etc/systemd/system/&lt;br /&gt;
sudo systemctl daemon-reload&lt;br /&gt;
sudo systemctl enable calafou-recorder&lt;br /&gt;
sudo systemctl start calafou-recorder&lt;br /&gt;
&lt;br /&gt;
3. Vérifier&lt;br /&gt;
&lt;br /&gt;
sudo systemctl status calafou-recorder&lt;br /&gt;
# Logs en temps réel :&lt;br /&gt;
sudo journalctl -u calafou-recorder -f&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Portada&amp;diff=6054</id>
		<title>Portada</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Portada&amp;diff=6054"/>
		<updated>2026-03-24T00:36:34Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Infraestructura &amp;quot;digital&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[File:Wikifou.png|1280px]]&lt;br /&gt;
&lt;br /&gt;
=Benvingudes a la Wiki de Calafou - Welcome to Calafou Wiki - Bienvenue sur le Wiki de Calafou=&lt;br /&gt;
&lt;br /&gt;
Un espai per la innovació social, tecnològica i política basada en l&#039;autoresponsabilitat i la cooperació a Vallbona d&#039;Anoia, Catalunya.&lt;br /&gt;
&lt;br /&gt;
Find a good Catalan to English [https://www.softcatala.org/traductor translator here] and an English to whatever language [https://www.deepl.com translator here].&lt;br /&gt;
&lt;br /&gt;
[https://calafou.org &#039;&#039;&#039;calafou.org&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
=Com ens organitzem=&lt;br /&gt;
Calafou és un lloc d&#039;habitatge i un lloc de treball. Un espai assembleari que funciona per consens. A més de l&#039;&#039;&#039;&#039;Assemblea&#039;&#039;&#039;, el treball es divideix en &#039;&#039;&#039;5 Àrees de Gestió&#039;&#039;&#039; (AGs) i diferents &#039;&#039;&#039;Grups de Treball&#039;&#039;&#039; (GTs). Aquestes son les AGs:&lt;br /&gt;
* [[AG habitatge i vida comunitària|Habitatge i vida comunitària.]]&lt;br /&gt;
* [[AG projectes tallers i laboratoris|Projectes tallers i laboratoris.]]&lt;br /&gt;
* [[AG infraestructura i comunicació|Infraestructura i comunicació.]]&lt;br /&gt;
* [[AG economia i legal|Economia i legal.]]&lt;br /&gt;
* [[AG rehabilitació|Rehabilitació.]]&lt;br /&gt;
&lt;br /&gt;
==Contacta&#039;ns==&lt;br /&gt;
Pots posar-te en contacte amb nosaltres a través del correu general &#039;&#039;&#039;calafou@riseup.net&#039;&#039;&#039;, a través dels correus de cada Àrea de Gestió o els nostres perfils en xarxes socials:&lt;br /&gt;
* [https://systerserver.town/@calafou Mastodon microblog].&lt;br /&gt;
* [https://fediverse.tv/c/calafoutv Radio Televisió de Calafou, canal de vídeo i àudio en Fediverse.tv].&lt;br /&gt;
&lt;br /&gt;
[[File:Calafou noir.jpg]]&lt;br /&gt;
&lt;br /&gt;
= Procesos / Protocols =&lt;br /&gt;
Aquesta secció inclou informació per a les &#039;&#039;&#039;visites i habitants&#039;&#039;&#039; de Calafou.&lt;br /&gt;
&lt;br /&gt;
* [[INFO BÁSICA|Informació bàsica]] que tota persona hauria de llegir abans de venir a Calafou.&lt;br /&gt;
* [[Protocol Contra Agressions Sexistes|Protocol contra agressions sexistes durant esdeveniments.]]&lt;br /&gt;
* [[Propuesta para una mejor gestión de los conflictos en Calafou|Codi de Cures Col·lectives (CCC)]].&lt;br /&gt;
* [[Protocolo Visitas|Protocol visites]].&lt;br /&gt;
* [[Protocolo Investigación|Protocol investigació]].&lt;br /&gt;
* [[Protocolo medios|Protocol mitjans]].&lt;br /&gt;
* [[How To Eventos]].&lt;br /&gt;
* [[How To Amadrinar Evento - Residencias - Otras]].&lt;br /&gt;
* [[Per a madrines i amadrinades]].&lt;br /&gt;
* [[Protocol de sortida]]&lt;br /&gt;
* [[Seguridad Integral|Seguretat integral]].&lt;br /&gt;
* [[Motxilla d&#039;emergència]].&lt;br /&gt;
&lt;br /&gt;
= How Tos=&lt;br /&gt;
&lt;br /&gt;
== Infraestructura fisica ==&lt;br /&gt;
* [[Decaentismo]]&lt;br /&gt;
* [[Coses del compost]]&lt;br /&gt;
* [[Limpiar y mantener EcoSec|How to: netejar y mantenir els EcoSec]].&lt;br /&gt;
* [[How to: tareas limpieza espacios Calafou]]&lt;br /&gt;
* [[Utilisar el systemo de sonido|Utilitzar el sistema de so del Centre social]].&lt;br /&gt;
* [[Arbres de la plaça]].&lt;br /&gt;
* [[Crear un Refugi de Fauna Salvatge]] en los alrededores de calafou.&lt;br /&gt;
* [[Fabricacion de lejia con cenizas]]&lt;br /&gt;
* [[Fabricacion de jabon con lejia de cenizas]]&lt;br /&gt;
&lt;br /&gt;
== Infraestructura &amp;quot;digital&amp;quot; ==&lt;br /&gt;
* [[Netiqueta]].&lt;br /&gt;
* [[Primers passos amb la wiki]].&lt;br /&gt;
* [[Cómo hacer preguntas de manera inteligente| Com fer preguntes de manera intel·ligent]].&lt;br /&gt;
* [[Network|Network : Configuration del red digital de calafou]]&lt;br /&gt;
* [[Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou]]&lt;br /&gt;
* [[Descarregar Audiovisuals utilitzant arxius torrent]]&lt;br /&gt;
* [[Televisió Digital Terrestre amb VLC]]&lt;br /&gt;
* [[Invitacions de Riseup|Com generar codis d&#039;invitació de Riseup]].&lt;br /&gt;
* [https://riseup.net/es/email/clients/thunderbird#setup-thunderbird Com configurar el client de correu Thunderbird].&lt;br /&gt;
* [[CalafOS|CalafOS, sistema operatiu GNU/Linux empaquetat a Calafou]].&lt;br /&gt;
* [[Recursos per a la videocreació]] (amb GNU/Linux)&lt;br /&gt;
* [[jpegKRUSHER]]&lt;br /&gt;
* Traduir, traducir, translate, traduire, übersetzen: [https://www.softcatala.org/traductor/ Softcatalá], [https://www.deepl.com/translator Deepl].&lt;br /&gt;
* Connexió a la xarxa de Calafou des de l&#039;exterior amb [[Open VPN]].&lt;br /&gt;
* [[AG infraestructura i comunicació|Coses de l&#039;AG infraestructura i comunicació]].&lt;br /&gt;
* [[Crear un sitio o un herramienta web con un subdominio *.calafou.org|Crear un lloc o un eina web amb un subdomini *.calafou.org]].&lt;br /&gt;
* Crear mapas con [[uMap]].&lt;br /&gt;
* Crear un [[dashboard con Thingsboard]] per a recollir dades amb sensors.&lt;br /&gt;
* [[Free your mobile phone from Android]].&lt;br /&gt;
* [[Listen to the invisible]].&lt;br /&gt;
* Aplicació audio [[Mumble-Plumble]].&lt;br /&gt;
* Configure a [[Wifi Hotspot with OpenWRT]].&lt;br /&gt;
* Install [[webrec: a live audio video recorder via a web page]]&lt;br /&gt;
&lt;br /&gt;
== Varis ==&lt;br /&gt;
* [[Glitch art]].&lt;br /&gt;
* [[Recetas|Receptes de dolços]].&lt;br /&gt;
* [[Receita do licor café da Isaura García Munín]].&lt;br /&gt;
* [[Fanzine|Com maquetar un fanzine amb Scribus]].&lt;br /&gt;
* [[PicaPiKAP|PicaPiKAP: càmera fotogràfica de mapatge amb globus i cometes]].&lt;br /&gt;
* Hacer imagenes simbiotikas: [[video SIMBIOTIKA]].&lt;br /&gt;
* [[Futurotopias Varias|Futurotopies varies]].&lt;br /&gt;
* [[Memoria de sortidas.|Memoria de sortidas]]&lt;br /&gt;
* [[Constitución de una asociación y digital admin |Constitución de una asociación y digital admin]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Nau blanca.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Projectes=&lt;br /&gt;
&lt;br /&gt;
Aquesta secció inclou projectes productius, tallers, laboratoris i residències (artístiques o de recerca) en desenvolupament en Calafou.&lt;br /&gt;
&lt;br /&gt;
==Projectes productius== &lt;br /&gt;
* [https://subversiva.coop Cooperativa de Cervesa Subversiva].&lt;br /&gt;
* [[Ecosec]].&lt;br /&gt;
* [[Medialab Terata]]&lt;br /&gt;
* [[Kikiriki]].&lt;br /&gt;
* [[L&#039;Hort]]&lt;br /&gt;
* [[La Sènia Amagada]].&lt;br /&gt;
* [[Domodesics]].&lt;br /&gt;
* [[La Infraleve - Teatro Gestual y de Títeres]].&lt;br /&gt;
* [[Artemisa]].&lt;br /&gt;
* [https://regist.ro I.M.V.E.C.].&lt;br /&gt;
* [[Motivadas del plástico]].&lt;br /&gt;
* [[El observatorio de pájaros]].&lt;br /&gt;
* [[Anarchaserver]].&lt;br /&gt;
&lt;br /&gt;
== Residències ==&lt;br /&gt;
=== Residències de recerca === &lt;br /&gt;
* [[Recerques]].&lt;br /&gt;
* [[Universitat Sorbonne]]&lt;br /&gt;
* [[RCS - IES Vallbona - 2025|RCS - IES Vallbona]]&lt;br /&gt;
&lt;br /&gt;
=== Residències artístiques === &lt;br /&gt;
* [[Paintings]].&lt;br /&gt;
== Laboratoris == &lt;br /&gt;
* [[Hacklab Arduinna]].&lt;br /&gt;
* [[Precious-plastic]].&lt;br /&gt;
* [https://calafou.ushahidi.io Reserva Natural de l&#039;Anoia].&lt;br /&gt;
* [[Soberanía micológica]].&lt;br /&gt;
* [[Code and Hardware]].&lt;br /&gt;
* [[Flossophies]].&lt;br /&gt;
* [[Radio Calafou]].&lt;br /&gt;
* [[Bookscanner]] [[Bookscanning]].&lt;br /&gt;
* [[Fermentados]].&lt;br /&gt;
* [[BioRemediation and more]].&lt;br /&gt;
* [[Vocabularios nuevxs para mundos nuevxs]].&lt;br /&gt;
&lt;br /&gt;
== Poemes, Proses i Manifestos ==&lt;br /&gt;
* [[Decaentismo]].&lt;br /&gt;
* [[Chthulucenia Cyborgia]].&lt;br /&gt;
* [[Filosofia Cíborg]].&lt;br /&gt;
* [[QPF Bocins de Poesia]].&lt;br /&gt;
* [[Fancíname Calafou-De brujas, colonialismos y encrucijadas]].&lt;br /&gt;
&lt;br /&gt;
= Esdeveniments =&lt;br /&gt;
* &#039;&#039;&#039;[[Events]]&#039;&#039;&#039;.&lt;br /&gt;
Mantingues-te al corrent dels nostres esdeveniments a través del nostre compte en [https://systerserver.town/@calafou Mastodon] o la nostra [https://lists.riseup.net/www/info/infocalafou llista de correu].&lt;br /&gt;
&lt;br /&gt;
= Totes les pàgines d&#039;aquesta wiki =&lt;br /&gt;
Consulta en aquest enllaç un llistat de totes les pàgines publicades en aquesta wiki:&lt;br /&gt;
&lt;br /&gt;
https://wiki.calafou.org/index.php/Special:AllPages&lt;br /&gt;
&lt;br /&gt;
[[File:MASTER 01Jun24 17-06-08 273.3m 41.50967 1.70494 230.2m 25.9C 36.4% 980.8hPa 1500 levels crop.jpg]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_nginx_y_grav&amp;diff=6051</id>
		<title>Un sitio web auto-alojada en nginx y grav</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_nginx_y_grav&amp;diff=6051"/>
		<updated>2026-03-17T02:51:03Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;relationada con el project [[Una_pagina_web_auto-alojada_de_bajo_consumo|Una pagina web auto alojada de bajo consumo]]&lt;br /&gt;
&lt;br /&gt;
== Nginx ==&lt;br /&gt;
&lt;br /&gt;
Ver https://grav.stallaf.net/web-nginx/ (y https://learn.getgrav.org/17/webservers-hosting/servers/nginx#example-nginx-conf)&lt;br /&gt;
&lt;br /&gt;
==Grav==&lt;br /&gt;
Install grav+admin https://learn.getgrav.org/17/basics/installation&lt;br /&gt;
&lt;br /&gt;
Install Typhoon theme https://getgrav.org/premium/typhoon/docs#create-a-custom-theme-from-typhoon&lt;br /&gt;
&lt;br /&gt;
hacer un copy para modificar &lt;br /&gt;
&lt;br /&gt;
  ./fixperm.sh &lt;br /&gt;
  bin/gpm install license-manager&lt;br /&gt;
  bin/gpm selfupgrade -f&lt;br /&gt;
  bin/gpm install typhoon&lt;br /&gt;
  bin/gpm install devtools&lt;br /&gt;
  bin/plugin devtools new-theme&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Page 404 https://learn.getgrav.org/17/troubleshooting/page-not-found&lt;br /&gt;
* Cache https://learn.getgrav.org/17/advanced/performance-and-caching &lt;br /&gt;
* Log https://learn.getgrav.org/17/advanced/debugging&lt;br /&gt;
* Permission https://learn.getgrav.org/17/troubleshooting/permissions&lt;br /&gt;
* manegar los plugins in CLI como https://github.com/Flamenco/grav-admin-media-actions&lt;br /&gt;
  sudo -u www-data bin/gpm install admin-media-move&lt;br /&gt;
* Cambiar la imagen del header (hero) https://getgrav.org/premium/typhoon/docs?target=_blank#hero-defaults&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Script a exec a donde ha y el grav&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  chown -R www-data:www-data .&lt;br /&gt;
  find . -type f -exec chmod 664 {} \;&lt;br /&gt;
  find ./bin -type f -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod +s {} \;&lt;br /&gt;
&lt;br /&gt;
Anadir el crontjob con el usario www-data&lt;br /&gt;
  sudo crontab -u www-data -e&lt;br /&gt;
y poner&lt;br /&gt;
  * * * * * cd /var/www/hlt;/usr/bin/php bin/grav scheduler 1&amp;gt;&amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
=== Tips &amp;amp; Tricks ===&lt;br /&gt;
Por la parte Actualitat con Mastodon feeds, hay que copiar desde dev3 :&lt;br /&gt;
  user/themes/calafou-new/templates/actualitat.html.twig &lt;br /&gt;
  user/themes/calafou-new/templates/partials/mastodon-*&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Una_pagina_web_auto-alojada_de_bajo_consumo&amp;diff=6050</id>
		<title>Una pagina web auto-alojada de bajo consumo</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Una_pagina_web_auto-alojada_de_bajo_consumo&amp;diff=6050"/>
		<updated>2026-03-17T02:43:27Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Computadora v3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Qué es esto? ==&lt;br /&gt;
Si has llegado hasta aquí puede ser por múltiples motivos. Uno de ellos es que hayas tratado de acceder a [https://Calafou.org Calafou.org] y la web en este momento esté caída y no accesible. Los motivos posibles de que la web esté caída son diversos y variopintos. &lt;br /&gt;
&lt;br /&gt;
El sistema en el que la web está alojada depende de energía renovable del lugar en que que tenemos la servidora y a pesar de que en Cataluña el tiempo acostumbra a ser soleado, puede que en algún momento el sol no sea suficiente o alguno de los elementos del sistema de energía solar falle. Por otro lado, estamos rodeadas de hermosos árboles que de vez en cuando deciden que es llegado el momento de caer sobre el cable que conecta Calafou con el resto del planeta por fibra óptica. Estas son los dos principales motivos por los que nuestra web no esté disponible en el momento en el que lees estas líneas.&lt;br /&gt;
&lt;br /&gt;
Estás accediendo a esta wiki porque las compañeras de [https://tachanka.org/ Tachanka], probablemente, no tengan a su alrededor unos árboles tan simpáticos como los de nuestra región o el sol brille fuerte desde hace semanas en la suya. Tanto esta wiki como la página que te ha dirigido hasta aquí están alojadas en una computadora de Tachanka que se llama Ebro y ubicada en el norte de Europa.&lt;br /&gt;
&lt;br /&gt;
A continuación puedes aprender a montar tu propia servidora autoalojada de bajo consumo y alimentada por energía renovable producida en el lugar en el que ubiques la servidora.&lt;br /&gt;
&lt;br /&gt;
== Proceso ==&lt;br /&gt;
=== Host ===&lt;br /&gt;
&lt;br /&gt;
Web http://ynh.calafou.org/web Login http://ynh.calafou.org/web/index.php/Admin&lt;br /&gt;
&lt;br /&gt;
=== Propuestas A ===&lt;br /&gt;
[[File:Propuesta A.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
Esquema hablado durante la primera sesión de trabajo: front page en Ebro con enlaces a la wiki que se mantiene en ebro y a un typesetter instalado en una raspberry pi que contiene el blog, las paginas de los proyectos, la pagina de datos, las residencias...&lt;br /&gt;
&lt;br /&gt;
En Ebro  habrá que hacer redireccionamiento para que, por ejemplo, cuando alguien haga click en el enlace que lleva a &amp;quot;Datos&amp;quot;, la url sea calafou.org/datos y no la del subdominio que tendrá direccionado el typesetter instalado en la raspberry pi.&lt;br /&gt;
&lt;br /&gt;
Si la pagina alojada en Calafou no funciona, la visitante verá un html en el que se le explica el proyecto de autoalojamiento, el enlace a la wiki (alojada ebro) y el contacto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Propuestas B ===&lt;br /&gt;
[[File:B.jpg|thumb]]&lt;br /&gt;
En este esquema toda la web de calafou incluida la front page está alojada en Calafou. Una instalación de typesetter que contiene toda la información de la web: blog, proyectos, residencias, pagina de datos... LA wiki la mantendriamos en Tachanka para mantener la relación.&lt;br /&gt;
La idea es colocar un SAI en el router de iguana y conectar ahí la raspberry pi. De este modo los cortes de electricidad internos a Calafou no serán problematicos. Solo nos queda la amenaza fantasma de los árboles. &lt;br /&gt;
&lt;br /&gt;
Para realizar esto el DNS de Gandi apunta a Ebro en donde hay un script que comprueba si la página está online. En caso afirmativo muestra el contenido de www.calafou.org. En el caso negativo, muestra una html con la explicación del proyecto y los posibles motivos de la caida del servicio: árboles, ratas, falta de meados, quince dias seguidos de lluvia.... que estará en www.pudoserunarbol.calafou.org. También podemos poner ahí un enlace a esta página de la wiki en la que se explica el proceso y el hazlo tú misma.&lt;br /&gt;
&lt;br /&gt;
Este modelo mantiene la web completa en Calafou, sigue siendo un modelo distribuido y el consumo energético que puede generar el redireccionamiento Ebro -&amp;gt; Rpi  / Ebro -&amp;gt; Ebro es poco.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Servidora Yunohost ===&lt;br /&gt;
Para la parte de la servidora hemos optado por Yunohost, un conjunto de paquetes que configura de forma automática la servidora y todos los servicios que instalemos en ella (en nuestro caso la web de Calafou). Yunohost es una solución enfocada en un público con escasos o nulos conocimientos en el mantenimiento de servidoras. Nos interesa que el modelo de autoalojamiento por el que hemos optado y que describimos en esta página, sea replicable y amigable para cualquier persona independientemente de sus conocimientos técnicos. &lt;br /&gt;
&lt;br /&gt;
Yunohost es fundamentalmente un sistema operativo Raspbian con una instalación de LEMP (Linux, Nginx, MySQL y PHP), un conjunto de softwares que componen los elementos principales de uno de los tipos de servidoras posibles.&lt;br /&gt;
&lt;br /&gt;
Yunohost puede instalarse en cualquier distribución GNU/Linux manualmente y además existen imágenes precompiladas para diferentes arquitecturas. Hemos elegido la opción de utilizar una imagen precompilada de Yunohost para Raspberry pi. El proceso de instalación es el mismo que una imagen de instalción de Raspbian o Armbian. Podeis descargar y ver [https://yunohost.org/es/install/hardware:rpi2plus cómo instalarlo en la Raspberry pi en este enlace].&lt;br /&gt;
&lt;br /&gt;
=== Gestor de contenidos Typesetter ===&lt;br /&gt;
* [https://www.typesettercms.com/ The Faster and Easier CMS]&lt;br /&gt;
&lt;br /&gt;
=== Apache vhost for failover switch ===&lt;br /&gt;
Un apache en un servidor fuera responde a calafou.org, a vhost mira si ynh.calafou.org responde, si = hace proxy a ynh.calafou.org, no = hace proxy a calafou.org/weboff&lt;br /&gt;
&lt;br /&gt;
  cd /etc/apache2/mods-available/&lt;br /&gt;
  a2enmod proxy proxy_http&lt;br /&gt;
  a2enmod proxy_balancer lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat lbmethod_bybusyness&lt;br /&gt;
  systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
    Header set Access-Control-Allow-Origin &amp;quot;*&amp;quot;&lt;br /&gt;
    ServerName calafou.org&lt;br /&gt;
    ProxyPreserveHost Off&lt;br /&gt;
    ProxyRequests On&lt;br /&gt;
        ErrorLog ${APACHE_LOG_DIR}/proxy2ynh-error.log&lt;br /&gt;
        CustomLog ${APACHE_LOG_DIR}/proxy2ynh-access.log combined&lt;br /&gt;
        LogLevel error&lt;br /&gt;
    &amp;lt;Proxy balancer://mycluster&amp;gt;&lt;br /&gt;
             BalancerMember http://ynh.calafou.org timeout=15 retry=300&lt;br /&gt;
             BalancerMember http://calafou.org/weboff status=+H&lt;br /&gt;
      &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ProxyPass &amp;quot;/&amp;quot; &amp;quot;balancer://mycluster/&amp;quot;&lt;br /&gt;
    ProxyPassReverse &amp;quot;/&amp;quot; &amp;quot;balancer://mycluster/&amp;quot;&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
==== On boot process ====&lt;br /&gt;
If the Pi, after an update, is stucked on the rainbow screen at boot or the red and green light stay up, it means that the /boot is missing something&lt;br /&gt;
&lt;br /&gt;
The solution is insert the SD card in a computer and to copy the content of the folder rootfs/boot.backup to the boot partition and then edit the cmdline.txt :&lt;br /&gt;
&lt;br /&gt;
To know which PARTUUID :&lt;br /&gt;
  sudo blkid&lt;br /&gt;
  /dev/sda1: LABEL_FATBOOT=&amp;quot;boot&amp;quot; LABEL=&amp;quot;boot&amp;quot; UUID=&amp;quot;49D4-FECF&amp;quot; BLOCK_SIZE=&amp;quot;512&amp;quot; TYPE=&amp;quot;vfat&amp;quot; PARTUUID=&amp;quot;f26e7a0e-01&amp;quot;&lt;br /&gt;
  /dev/sda2: LABEL=&amp;quot;rootfs&amp;quot; UUID=&amp;quot;e56cd792-9997-4d02-b53e-d51ec370b26e&amp;quot; BLOCK_SIZE=&amp;quot;4096&amp;quot; TYPE=&amp;quot;ext4&amp;quot; PARTUUID=&amp;quot;f26e7a0e-02&amp;quot;&lt;br /&gt;
&lt;br /&gt;
console=serial0,115200 console=tty1 root=PARTUUID=f26e7a0e-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait&lt;br /&gt;
&lt;br /&gt;
Re-insert the SD Card into the Pi and reboot, should work !&lt;br /&gt;
&lt;br /&gt;
To debug the boot process :&lt;br /&gt;
* https://www.techradar.com/how-to/computing/how-to-fix-raspberry-pi-boot-problems-1310697&lt;br /&gt;
* https://www.raspberrypi-spy.co.uk/2013/02/raspberry-pi-status-leds-explained/&lt;br /&gt;
* https://elinux.org/R-Pi_Troubleshooting&lt;br /&gt;
&lt;br /&gt;
==== Problem with libstdc++.so.6 ====&lt;br /&gt;
If&lt;br /&gt;
  &amp;gt; Oct 10 21:20:02 systemd[1]: Starting A high performance web server and a reverse proxy server...&lt;br /&gt;
  &amp;gt; Oct 10 21:20:02 nginx[915]: nginx: [emerg] dlopen() &amp;quot;/usr/share/nginx/modules/ngx_http_dav_ext_module.so&amp;quot; failed (/lib/aarch64-linux-gnu/libstdc++.so.6: undefined symbol: _ZNKSt10lock_error4whatEv, version GLIBCXX_3.4.11) in /etc/nginx/modules-enabled/50-mod-http-dav-ext.conf:1&lt;br /&gt;
  &amp;gt; Oct 10 21:20:02 nginx[915]: nginx: configuration file /etc/nginx/nginx.conf test failed&lt;br /&gt;
  apt update segfault&lt;br /&gt;
Then  &lt;br /&gt;
  wget http://http.us.debian.org/debian/pool/main/g/gcc-10/libstdc++6_10.2.1-6_arm64.deb&lt;br /&gt;
  dpkg -i libstdc++6_10.2.1-6_arm64.deb &lt;br /&gt;
  reboot now&lt;br /&gt;
It works ! but wtf ???&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
[[File:Esquema final hardware.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
=== Computadora ===&lt;br /&gt;
La servidora inicialmente estará alojado en una placa Raspberry Pi 2. En un futuro podriamos emplear una [https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2/open-source-hardware Olimex], 100% libre y con memoria en la placa. El porqué de usar una computadora con memoria en la placa es que las trarjetas microSD no son los mejores soportes para escritura y depender de una de estas tarjetas para una servidora es mala idea si pensamos en la durabilidad y el uptime.&lt;br /&gt;
&lt;br /&gt;
=== Computadora v2 ===&lt;br /&gt;
Al final con un OrangePi v3 LTS &lt;br /&gt;
* http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-3B.html&lt;br /&gt;
* http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_3_LTS&lt;br /&gt;
Para installar [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-3B.html Debian Bookworm] on the eMMc : copy an image DietPi_OrangePi3LTS-ARMv8-Bookworm.img.xz to the SD card &lt;br /&gt;
  sudo apt install xz-utils&lt;br /&gt;
  xz -d DietPi-Image.img.xz&lt;br /&gt;
Pues hacer un dd de la tajeta sd &amp;gt; emmc (bien mirar con fdisk -l comme se llama el emmc, aqui /dev/mmcblk2&lt;br /&gt;
  sudo dd bs=1M if=DietPi_OrangePi3LTS-ARMv8-Bookworm.img of=/dev/mmcblk2 status=progress&lt;br /&gt;
segun https://mikebian.co/setting-up-emmc-on-an-orange-pi/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Si la Orangepi se va a la mierd...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
hay que installar el Android imagen en una tajeta SD con un software windows ... ver [https://forum.armbian.com/topic/20007-restoring-orange-pi-3-lts-2gb8gb-emmc-boot-partition/ este enlace] el software [https://androiddatahost.com/r5fap Phoenixcard se encontra aqui], se puede utilisar en virtualbox con un windows, [https://github.com/JaedonMallory/Windows10VM ver este tuto]  el windows se puede [https://www.microsoft.com/en-us/software-download/windows10ISO descargar desde aqui] y se puede encontrar un [https://passper.imyfone.com/windows-10/windows-10-product-key-free/ Product key aqui]&lt;br /&gt;
&lt;br /&gt;
Despues para que el windows en virtualbox ve las llaves usb / tajeta sd, hay que anadir el &amp;quot;[https://www.oracle.com/virtualization/technologies/vm/downloads/virtualbox-downloads.html VBox GuestAdditons]&amp;quot; que corresponde a la version de virtualbox (7.1.2 en mi caso) hay que anadir nuestro usario al group vboxusers&lt;br /&gt;
&lt;br /&gt;
  sudo usermod -a -G vboxusers USARIO&lt;br /&gt;
  sudo reboot now&lt;br /&gt;
&lt;br /&gt;
Hay tambien en la configuration del windows virtual anadir un filtro peripherique USB  &lt;br /&gt;
 &lt;br /&gt;
[[File:Capture du 2025-10-14 10-07-45.png]]&lt;br /&gt;
&lt;br /&gt;
y despues de todo eso, gravar la imagen OrangePi_3_LTS_Android9_v1.1.img con el Phoenixcard installado en el windows, encener la Orangepi con este tajeta sd, e system android va a copiar se en el EMMC de la orange pi y restorar el boot&lt;br /&gt;
&lt;br /&gt;
=== Computadora v3 ===&lt;br /&gt;
Al final con un Raspberry pi 4 Model B con Debian Trixie minimal, [https://www.raspberrypi.com/documentation/computers/os.html ver la documentation]&lt;br /&gt;
&lt;br /&gt;
Possible de utilisar [https://www.raspberrypi.com/documentation/computers/getting-started.html#raspberry-pi-imager rpi-imager] para poner configurationes specificas con el wifi para que se connecta con el wifi al primer boot&lt;br /&gt;
&lt;br /&gt;
Para hacer lo headless, [https://www.raspberrypi.com/documentation/computers/configuration.html#setting-up-a-headless-raspberry-pi se falta anadir un archivo ssh vacio y userconf.txt] in /boot con un username:password generated with &lt;br /&gt;
&lt;br /&gt;
  openssl passwd -6&lt;br /&gt;
&lt;br /&gt;
Pues despues ver la pagina [[Un sitio web auto-alojada en apache y grav]]&lt;br /&gt;
&#039;&#039;&#039;o ahora en 2026 ver la pagina [[Un sitio web auto-alojada en nginx y grav]]&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Alimentación ===&lt;br /&gt;
==== Fuentes ====&lt;br /&gt;
Para la alimentación la propuesta inicial es la de emplear dos fuentes:&lt;br /&gt;
&lt;br /&gt;
* Energia solar proveniente de una placa.&lt;br /&gt;
* Orinotrón: dispositivo que genera electricidad a partir de orina.&lt;br /&gt;
&lt;br /&gt;
[[File:Uugear.jpg|thumb]]&lt;br /&gt;
Para conectar estas dos fuentes de alimentación simultáneamente a la computadora utilizaremos el shield [http://www.uugear.com/product/zero2go-omini-wide-input-range-multi-channel-power-supply-for-raspberry-pi Zero2Go Omini de Uugear] que permite conectar hasta tres fuentes de alimentación diferentes a la computadora y tomar la energía de la que más está recibiendo en cada momento.&lt;br /&gt;
&lt;br /&gt;
==== Acumuladores ====&lt;br /&gt;
&lt;br /&gt;
=== Ensamblaje ===&lt;br /&gt;
ESTE ES EL INSTRUCTABLE FOTO A FOTO&lt;br /&gt;
&lt;br /&gt;
==== Lista de materiales ====&lt;br /&gt;
==== Paso a paso ====&lt;br /&gt;
&lt;br /&gt;
Se han realizado dos ajustes de software que reducen el consumo energético de la Raspberry Pi:&lt;br /&gt;
* Deshabilitar los dos leds de la placa.&lt;br /&gt;
* Deshabilitar el circuito de conexión HDMI&lt;br /&gt;
&lt;br /&gt;
=== Post ensamblaje ===&lt;br /&gt;
&lt;br /&gt;
==== Desabilitar leds ====&lt;br /&gt;
Para apagar los dos leds de la Raspberry pi cada vez que la computadora se reinicia es necesario realizar la siguiente operación con la linea de comandos. Con ella, las luces led de la placa se encenderán durante el proceso de arranque y se apagarán al acabar.&lt;br /&gt;
Abre la Terminal y sigue la siguiente receta:&lt;br /&gt;
* Conéctate a la Raspberry pi vía ssh con el siguiente comando. Debes conocer previamente la ip de la computadora. Puedes obtenerla conectando una pantalla a la placa o usando alguna aplicación de rastreo de redes.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;sudo ssh admin@ipDeTuComputadora&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Tienes que introducir la clave de acceso a la Raspberry que es la misma que utilizaste durante el proceso de post instalación de Yunohost.&lt;br /&gt;
 &lt;br /&gt;
* Para obtener permisos de administradora en la computadora escribe&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;sudo su&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* A continuación editaremos el crontab de la Raspberry pi. Con el crontab podemos indicar a la computadora que ejecute comandos o acciones justo después del arranque y por tanto, éstas se ejecuten siempre que la computadora se reinicie.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;crontab -e&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Se abrirá un documento de texto. Añade al final del documento las siguientes dos líneas:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;@reboot echo 0 &amp;gt;/sys/class/leds/led0/brightness #Apaga el LED verde&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;@reboot echo 0 &amp;gt;/sys/class/leds/led1/brightness #Apaga el LED rojo&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Salva el documento con &#039;&#039;&#039;control + x&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Reinicia la computadora con el comando &#039;&#039;&#039;reboot&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Las luces led roja y verde de la placa deberían encenderse durante el reinicio y apagarse justo después de que el proceso de reinicio haya acabado manteniéndose apagadas.&lt;br /&gt;
&lt;br /&gt;
Este proceso puede realizarse de otro modo editando el documento /boot/config.txt [https://thomas.vanhoutte.be/miniblog/how-much-energy-does-a-raspberry-pi-use-per-year-cost-calculation/ descrito en este enlace]. La diferencia en el resultado de esta otra receta está en que, con esta, los leds no se encienden en ningún momento. Con la receta descrita en esta wiki, los leds se encienden exclusivamente durante el proceso de reinicio. Dejarlas responde a que el consumo de los leds durante el reinicio es mínimo dado que dura alrededors de 30 segundos y aporta información del proceso muy útil al no disponer de una pantalla para leer la información de arranque. &lt;br /&gt;
&lt;br /&gt;
==== Desabilitar HDMI ====&lt;br /&gt;
Teniendo en cuenta que emplearemos la Raspberry pi como servidor y conectándonos via navegador web o via ssh, conviene que desabilitemos el circuito de la conexión HDMI. Este circuito viene activado por defecto y puede desactivarse añadiendo una línea al documento ubicado en &#039;&#039;&#039;/etc/rc.local&#039;&#039;&#039;. Abre de nuevo la Terminal y escribe la siguiente receta:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;sudo su&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;nano /etc/rc.local&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Añade al final del documento la siguiente línea: &#039;&#039;&#039;/usr/bin/tvservice –o&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Salva el documento con &#039;&#039;&#039;control + x&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Reinicia la computadora con el comando &#039;&#039;&#039;reboot&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Aesthetics ==&lt;br /&gt;
&lt;br /&gt;
Recomendaciones relativas a la subida de media.&lt;br /&gt;
Subir las imágenes a 96 dpi en formato jpg al 80% de calidad SIN datos exif. HAy distintos tamaños.&lt;br /&gt;
* Portada y páginas con &amp;quot;distribuidores&amp;quot; rectangulares (infraestructura, proyectos...): 366x244px&lt;br /&gt;
* Imágenes de cada proyecto: 550px de lado ancho.&lt;br /&gt;
* Imágenes grandes: 1024 de lado ancho.&lt;br /&gt;
&lt;br /&gt;
== Recursos ==&lt;br /&gt;
&lt;br /&gt;
Ejemplos de paginas webs desarrolladas para consumir poco&lt;br /&gt;
&lt;br /&gt;
* [https://solar.lowtechmagazine.com/fr/2018/09/how-to-build-a-lowtech-website.html How to create Low tech website]&lt;br /&gt;
* [https://homebrewserver.club/low-tech-website-howto.html How to build a Low-Tech website: Software &amp;amp; Hardware]&lt;br /&gt;
* [https://ciberfemgt.org/momentanea/Ciberfeministas Guatemala Momentánea: Ciberfeministas Guatemala]&lt;br /&gt;
* [https://lowimpact.organicbasics.com/eur Pagina web low tech explicando 10 reglas de oro a tener en cuenta]&lt;br /&gt;
* [https://pad.lamyne.org/workshop-low-tech-website La MYNE Conception numérique low-tech]&lt;br /&gt;
* [http://solarprotocol.net/ Solar protocol:This website is hosted across a network of solar powered servers and is sent to you from wherever there is the most sunshine]&lt;br /&gt;
&lt;br /&gt;
Recomendaciones disenyo para que las paginas web consuman menos&lt;br /&gt;
&lt;br /&gt;
* [http://gauthierroussilhe.com/fr/posts/convert-low-tech Guía de conversión digital al low tech]&lt;br /&gt;
* Proyecto de Ping en francés listando recursos de interés [https://fablabo.net/wiki/ReSourcesWeb ReSourcesWeb]&lt;br /&gt;
* Como concebir de manera responsable servicios o productos digitales? [https://2020.ethicsbydesign.fr/ Ethics by design]&lt;br /&gt;
* [https://sustainablewebdesign.org/ Diseno web sostenible]&lt;br /&gt;
&lt;br /&gt;
Herramientas de interés&lt;br /&gt;
&lt;br /&gt;
* [https://www.websitecarbon.com/ Website Carbon Calculator]&lt;br /&gt;
* [https://therestartproject.org/restart-futures/ Restart futures]&lt;br /&gt;
* [https://materialsmatter.eu/browse Materials Matters]&lt;br /&gt;
* [https://withcabin.com/ Privacy-first, carbon-aware web analytics]&lt;br /&gt;
* [https://climatestrike.software/ Climate strike software]&lt;br /&gt;
* [http://www.green-algorithms.org/ How green are your computations]&lt;br /&gt;
* [https://github.com/hubblo-org/scaphandre Scaphandre] es un agente de metrología dedicado a las mediciones de consumo de energía. El objetivo del proyecto es permitir a cualquier empresa o particular medir el consumo de energía de sus servicios técnicos y obtener estos datos de forma cómoda, enviándolos a través de cualquier cadena de herramientas de monitorización o análisis de datos.&lt;br /&gt;
&lt;br /&gt;
Green hosting&lt;br /&gt;
&lt;br /&gt;
* [https://greenhost.net/ Greenhost]&lt;br /&gt;
* [https://www.1984.is/ 1984]&lt;br /&gt;
* [https://www.greengeeks.com/web-hosting Greegeeks]&lt;br /&gt;
* [https://blockheating.com/index.php#home Blockheating recycling data services energy]&lt;br /&gt;
Calafou data center?&lt;br /&gt;
&lt;br /&gt;
Literatura acerca del impacto eco de las TIC&lt;br /&gt;
&lt;br /&gt;
* [https://branch.climateaction.tech/ Revista sobre un internet sostenible]&lt;br /&gt;
* [https://giswatch.org/sites/default/files/giswatch_2020_english_0.pdf APC GLOBAL INFORMATION SOCIETY WATCH 2020 Technology, the environment and a sustainable world: Responses from the global South]&lt;br /&gt;
* [https://theshiftproject.org/article/climat-insoutenable-usage-video/ The shift project]&lt;br /&gt;
* [http://maisouvaleweb.fr/impacts-energetiques-sociaux-de-data-centers-quon-ne-voit/ Data centers impact]&lt;br /&gt;
* [https://tonsky.me/blog/disenchantment/ Software disenchantment]&lt;br /&gt;
* [https://ecostandard.org/wp-content/uploads/2020/02/LONG-LIVE-THE-MACHINE-ECOS-REPORT.pdf Long live the machine by ECOS project] &lt;br /&gt;
How ecodesign &amp;amp; energy labelling can prevent premature obsolescence of laptops&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_nginx_y_grav&amp;diff=6049</id>
		<title>Un sitio web auto-alojada en nginx y grav</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_nginx_y_grav&amp;diff=6049"/>
		<updated>2026-03-17T02:42:17Z</updated>

		<summary type="html">&lt;p&gt;B01: Created page with &amp;quot;relationada con el project Una pagina web auto alojada de bajo consumo  == Apache ==    sudo apt-get install htop nload iotop mcrypt curl unzip rsync git   sudo apt install apache2 php   sudo a2ensite webcalafou.conf   sudo chown -R www-data: webcalafou/   sudo apt install php-curl php-gd php-mbstring php-intl php-xml php-zip   sudo a2enmod rewrite   sudo a2enmod proxy proxy_fcgi rewrite   sudo apt install php8.4-fpm   sudo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;relationada con el project [[Una_pagina_web_auto-alojada_de_bajo_consumo|Una pagina web auto alojada de bajo consumo]]&lt;br /&gt;
&lt;br /&gt;
== Apache ==&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install htop nload iotop mcrypt curl unzip rsync git&lt;br /&gt;
  sudo apt install apache2 php&lt;br /&gt;
  sudo a2ensite webcalafou.conf&lt;br /&gt;
  sudo chown -R www-data: webcalafou/&lt;br /&gt;
  sudo apt install php-curl php-gd php-mbstring php-intl php-xml php-zip&lt;br /&gt;
  sudo a2enmod rewrite&lt;br /&gt;
  sudo a2enmod proxy proxy_fcgi rewrite&lt;br /&gt;
  sudo apt install php8.4-fpm&lt;br /&gt;
  sudo a2enmod proxy_fcgi setenvif&lt;br /&gt;
  sudo a2enconf php8.4-fpm&lt;br /&gt;
&lt;br /&gt;
Para optimisar el apache https://blog.pascal-mietlicki.fr/diagnostic-et-optimisation-dapache/&lt;br /&gt;
&lt;br /&gt;
==Grav==&lt;br /&gt;
* Install grav https://learn.getgrav.org/17/basics/installation&lt;br /&gt;
  cd /var/www/webcalafou&lt;br /&gt;
  wget https://getgrav.org/download/core/grav/latest&lt;br /&gt;
  unzip latest&lt;br /&gt;
  rm latest&lt;br /&gt;
  chown -R www-data: webcalafou/&lt;br /&gt;
  apt install php-curl php-gd php-mbstring php-intl php-xml php-zip php-yaml&lt;br /&gt;
  a2enmod rewrite&lt;br /&gt;
  nano apache2.conf&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;
        Options Indexes FollowSymLinks&lt;br /&gt;
        AllowOverride All &lt;br /&gt;
        Require all granted&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Page 404 https://learn.getgrav.org/17/troubleshooting/page-not-found&lt;br /&gt;
* Cache https://learn.getgrav.org/17/advanced/performance-and-caching &lt;br /&gt;
* Log https://learn.getgrav.org/17/advanced/debugging&lt;br /&gt;
* Permission https://learn.getgrav.org/17/troubleshooting/permissions&lt;br /&gt;
* manegar los plugins in CLI como https://github.com/Flamenco/grav-admin-media-actions&lt;br /&gt;
  sudo -u www-data bin/gpm install admin-media-move&lt;br /&gt;
* Cambiar la imagen del header (hero) https://getgrav.org/premium/typhoon/docs?target=_blank#hero-defaults&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Script a exec a donde ha y el grav&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  chown -R www-data:www-data .&lt;br /&gt;
  find . -type f -exec chmod 664 {} \;&lt;br /&gt;
  find ./bin -type f -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod +s {} \;&lt;br /&gt;
&lt;br /&gt;
Anadir el crontjob con el usario www-data&lt;br /&gt;
  sudo crontab -u www-data -e&lt;br /&gt;
y poner&lt;br /&gt;
  * * * * * cd /var/www/hlt;/usr/bin/php bin/grav scheduler 1&amp;gt;&amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
== Config ok for upload ==&lt;br /&gt;
Debian 13 en un contenidor LXC &amp;lt; proxy apache&lt;br /&gt;
&lt;br /&gt;
install backup grav&lt;br /&gt;
&lt;br /&gt;
unzip backup--20251008003223.zip&lt;br /&gt;
&lt;br /&gt;
fix perm&lt;br /&gt;
&lt;br /&gt;
add :&lt;br /&gt;
  RemoveHandler .var&lt;br /&gt;
to .htaccess&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=INFO_B%C3%81SICA&amp;diff=6048</id>
		<title>INFO BÁSICA</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=INFO_B%C3%81SICA&amp;diff=6048"/>
		<updated>2026-03-06T13:12:14Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Castellano =&lt;br /&gt;
&lt;br /&gt;
Información básica para estancias en Calafou.&lt;br /&gt;
&lt;br /&gt;
== Qué llevar contigo ==&lt;br /&gt;
&lt;br /&gt;
=== Imprescindible ===&lt;br /&gt;
&lt;br /&gt;
* linterna y/o frontal&lt;br /&gt;
* ahuyentador de mosquitos para la piel (en verano)&lt;br /&gt;
* protector solar para la piel (en verano)&lt;br /&gt;
* sombrero, gorra o similar (en verano)&lt;br /&gt;
* zapatillas comodas para terreno no asfaltado y barro (tipo trekking)&lt;br /&gt;
* saco de dormir, esterilla y tienda de campaña (si duermes en zonas acampadas)&lt;br /&gt;
* sabana para colchon (tenemos algunas pero puede que no tengamos para todas, si duermes en alberge comunitario)&lt;br /&gt;
* cantimplora o botella de agua&lt;br /&gt;
&lt;br /&gt;
=== Útil, recomendado ===&lt;br /&gt;
* traje de baño (en verano, hay una piscina pública a menos de un Km de calafou, abierta de las 10h a las 19h. Cuesta 4.50 euros del lunes al viernes y 5.50 euros sábado y domingo, hay que registrarse antes de ir en https://www.equipamentsvallbonadanoia.cat/. Tambien hay algunas pozas de agua natural en la región)&lt;br /&gt;
* guantes de trabajo&lt;br /&gt;
* contenidos para compartir (libros, musica, videos, fanzines, etc)&lt;br /&gt;
* dinero (en el pueblo de vallbona hay un cajero automático para sacar dinero)&lt;br /&gt;
* regletas y/o alargadores de electricidad (para tus aparatos electrónicos)&lt;br /&gt;
* auriculares (para escuchar lo que quieras sin molestar al resto)&lt;br /&gt;
* cables ethernet y/o switches (si te conectas a la red por cable)&lt;br /&gt;
* proyectores (para eventos en los que se usen)&lt;br /&gt;
&lt;br /&gt;
== Dirección ==&lt;br /&gt;
&lt;br /&gt;
:Camí de Ca la Fou, S/N,&lt;br /&gt;
:08785, Vallbona d&#039;Anoia,&lt;br /&gt;
:Barcelona, Spain,&lt;br /&gt;
:planet Earth, Milky Way&lt;br /&gt;
* [https://www.openstreetmap.org/search?query=cami%20de%20ca%20la%20fou#map=17/41.51168/1.70332 OpenStreetMap link]&lt;br /&gt;
* [geo:41.5117,1.7033 Navigation link]&lt;br /&gt;
&lt;br /&gt;
== Cómo llegar ==&lt;br /&gt;
&lt;br /&gt;
=== En transporte público ===&lt;br /&gt;
&lt;br /&gt;
==== Desde el aeropuerto de Barcelona &amp;quot;El Prat&amp;quot; (BCN) ====&lt;br /&gt;
&lt;br /&gt;
===== En Autobus L77, desde Terminal 1 a Sant Boi =====&lt;br /&gt;
&lt;br /&gt;
Toma el Autobus L77.&lt;br /&gt;
[https://www.ambmobilitat.cat/Uploads/Galeria/1/201606/201606081243294531_L77x2.png Horario L77].&lt;br /&gt;
&lt;br /&gt;
Sale desde el Terminal 1 y tienes que bajarte en la parada de bus en Sant Boi&lt;br /&gt;
que queda en frente de la estación de tren (FGC).&lt;br /&gt;
&lt;br /&gt;
Desde aquí, sigue las intrucciones de [https://wiki.calafou.org/index.php/INFO_B%C3%81SICA#En_tren.2C_desde_Barcelona_Pla.C3.A7a_Espanya como llegar en tren].&lt;br /&gt;
&lt;br /&gt;
===== En Aerobus, desde el aeropuerto a Barcelona Plaça Espanya =====&lt;br /&gt;
&lt;br /&gt;
Si no hubiera autobús L77, puedes tomar el Aerobus&lt;br /&gt;
&lt;br /&gt;
Los billetes cuestan: ida 5.9€, ida y vuelta 10.20€ y se venden en el bus,&lt;br /&gt;
se tarda media hora en llegar a Barcelona.&lt;br /&gt;
&lt;br /&gt;
La frecuencia del autobús es cada 20 minutos entre las 6am y media noche.&lt;br /&gt;
&lt;br /&gt;
Bájate en la primera parada: Plaça Espanya y ve a la estación de tren (FGC)&lt;br /&gt;
debajo de la plaza.&lt;br /&gt;
&lt;br /&gt;
Desde aquí, sigue las intrucciones de como llegar en tren&lt;br /&gt;
&lt;br /&gt;
==== En tren, desde Barcelona Plaça Espanya ====&lt;br /&gt;
&lt;br /&gt;
Toma el tren R6 o R60 en direccion a &amp;quot;Igualada&amp;quot;&lt;br /&gt;
[https://www.fgc.cat/cercador/ Horarios del tren FGC R6 o R60]&lt;br /&gt;
&lt;br /&gt;
El primer tren suele salir a las &#039;&#039;&#039;5:30am&#039;&#039;&#039; y el ultimo sale a las &#039;&#039;&#039;22:00h&#039;&#039;&#039;, llegando a Vallbona d&#039;Anoia a las &#039;&#039;&#039;23:28&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
A las 23:15 hay un último autobús que sigue el mismo camino que el tren y que sólo llega hasta Martorell a las 00:02.&lt;br /&gt;
&lt;br /&gt;
El tren sale mas o menos cada hora, poco después de en-punto, tarda 1 hora y 20 minutos en llegar a Vallbona d&#039;Anoia.&lt;br /&gt;
&lt;br /&gt;
Bájate en la parada Vallbona d’Anoia.&lt;br /&gt;
&lt;br /&gt;
Desde aquí, sique las instrucciones de como llegar desde Vallbona d&#039;Anoia.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Atención&#039;&#039;&#039;: necesitas un billete de &#039;&#039;&#039;5 zonas&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Los billetes son vendidos delante de la entrada en las máquinas &amp;quot;Ferrocarrils de la Generalitat de Catalunya&amp;quot; (FGC).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Atención&#039;&#039;&#039;: no se venden billetes para el tren en las máquinas de las estaciones del metro y el billete del &#039;&#039;&#039;metro&#039;&#039;&#039; no sirve para el tren.&lt;br /&gt;
&lt;br /&gt;
=== Desde Vallbona d&#039;Anoia ===&lt;br /&gt;
&lt;br /&gt;
No hay transporte público ni taxis desde Vallbona d&#039;Anoia hasta Calafou.&lt;br /&gt;
&lt;br /&gt;
La ruta para llegar desde la estación de tren de Vallbona d&#039;Anoia a Calafou,&lt;br /&gt;
a pie, monopatin, bici, coche o furgoneta es casi la misma&lt;br /&gt;
&lt;br /&gt;
Hay que bajar direccion suroeste, salir del pueblo y pasar por el Poligono&lt;br /&gt;
Industrial la Plana.&lt;br /&gt;
&lt;br /&gt;
Cuando llegas al poligono hay una carretera asfaltada que baja hacia valle,&lt;br /&gt;
siguela hasta el final y cruza el rio.&lt;br /&gt;
&lt;br /&gt;
La gente local debería ser capaz de darte indicaciones.&lt;br /&gt;
&lt;br /&gt;
[https://www.openstreetmap.org/directions?engine=graphhopper_car&amp;amp;route=41.52011%2C1.70947%3B41.51159%2C1.70357#map=16/41.5153/1.7068 Ruta en Openstreetmaps]&lt;br /&gt;
&lt;br /&gt;
Advertencia: no uses Google Maps porque te envia a otro sitio (y no lo hemos&lt;br /&gt;
querido corregir por el momento)&lt;br /&gt;
&lt;br /&gt;
=== A pie desde Barcelona ===&lt;br /&gt;
&lt;br /&gt;
Eres muy valiente :-) Desde Barcelona, son 10 horas mas o menos con bastantes&lt;br /&gt;
subidas por las montañas.&lt;br /&gt;
&lt;br /&gt;
La distancia: 51km. Tiempo: 10:14. Ascenso: 897m. Descenso: 716m.&lt;br /&gt;
&lt;br /&gt;
Puedes utilizar [https://www.openstreetmap.org/directions?engine=graphhopper_foot&amp;amp;route=41.3829%2C2.1774%3B41.5113%2C1.7016#map=11/41.4463/1.9398 este enlace]&lt;br /&gt;
para obtener las mejores indicaciones, evitando las grandes carreteras y los caminos más fáciles.&lt;br /&gt;
&lt;br /&gt;
=== En bicicleta desde Barcelona ===&lt;br /&gt;
&lt;br /&gt;
Es posible venir en bicicleta, pero deberás tener una bicicleta relativamente&lt;br /&gt;
buena y estar preparada para soportar algunas subidas.&lt;br /&gt;
&lt;br /&gt;
Distancia: 55 km. Tiempo: 3:47. Ascenso: 877m. Descenso: 696m.&lt;br /&gt;
&lt;br /&gt;
Como a pie, puedes seguir [https://www.openstreetmap.org/directions?engine=graphhopper_bicycle&amp;amp;route=41.3829%2C2.1774%3B41.5113%2C1.7016#map=11/41.4566/1.9398 este enlace]&lt;br /&gt;
para conseguir un camino fácil.&lt;br /&gt;
&lt;br /&gt;
No hay tiendas de bicicletas en el pueblo más cercano, así que recuerda llevar&lt;br /&gt;
una rueda de repuesto y herramientas básicas para arreglar tu bicicleta por si acaso.&lt;br /&gt;
&lt;br /&gt;
=== Dónde aparcar el coche ===&lt;br /&gt;
&lt;br /&gt;
Si vienes a un evento grande, aparca en algun sitio entre el Poligono industrial&lt;br /&gt;
la Plana y Calafou, ya que no habrá sitio para aparcar en Calafou.&lt;br /&gt;
&lt;br /&gt;
=== Dónde aparcar una furgoneta o caravana en la que vas a dormir ===&lt;br /&gt;
&lt;br /&gt;
Depende del evento o estancia, habrá una zona habilitada para ello.&lt;br /&gt;
Al llegar a Calafou encontrarás indicaciones acerca de dónde aparcarlo.&lt;br /&gt;
&lt;br /&gt;
== Dónde dormir ==&lt;br /&gt;
&lt;br /&gt;
Dependiendo del evento o estancia podrás dormir en: [Falta mapa]&lt;br /&gt;
* Tu furgoneta o caravana&lt;br /&gt;
* Camping, con tienda de campanya&lt;br /&gt;
* Alberge comunitario llamado Casa Roja&lt;br /&gt;
* Piso o habitación en el edificio de viviendas&lt;br /&gt;
&lt;br /&gt;
== Aseos ==&lt;br /&gt;
&lt;br /&gt;
[Falta mapa]&lt;br /&gt;
&lt;br /&gt;
* Mear: en el bosque, las instalacciones indicadas o los WC del centro social.&lt;br /&gt;
* Cagar: en los &amp;quot;ecosec&amp;quot; (&amp;quot;water&amp;quot; secos) indicados. [[https://tube.systerserver.net/w/kkzZZFZriUWHY4d7mkpZ3d?start=7m38s Como limpiar el &amp;quot;ecosec&amp;quot;]]&lt;br /&gt;
* Ducharse: en las duchas de verano inidicadas o la ducha del centro social.&lt;br /&gt;
&lt;br /&gt;
== Basuras ==&lt;br /&gt;
&lt;br /&gt;
* Lo mas fácil para no tener que gestionar basuras es no generarlas.&lt;br /&gt;
* No tires nada al suelo o en sitios no habilitados a ello.&lt;br /&gt;
* Separa la basura, no solo por ecología, sino tambien porque ayuda a deshacerse antes de lo que es perecedero y maloliente.&lt;br /&gt;
* En general, llévate contigo la basura que puedas que sea para depositar en contenedores urbanos.&lt;br /&gt;
* Dependiendo del evento, puede haber diferentes contenedores y turnos para gestionarla.&lt;br /&gt;
&lt;br /&gt;
Normalmente se separa en:&lt;br /&gt;
* Excrementos provenientes del ecosec (hay &amp;quot;compostadoras&amp;quot; en Calafou)&lt;br /&gt;
* Basura orgánica sin cítricos, productos lácteos ni carne (hay &amp;quot;compostadoras&amp;quot; en Calafou)&lt;br /&gt;
* Basura orgánica de cítricos, productos lácteos o carne (para llevar a contenedores marrones urbanos)&lt;br /&gt;
* Latas de aluminio (se venden)&lt;br /&gt;
* Plastico y envases de otros metales (para llevar a contenedores amarillos urbanos)&lt;br /&gt;
* Papel y cartón, que no este manchado o con aceite (para llevar a contenedores azules urbanos)&lt;br /&gt;
* Botellas y envases de vídrio (para llevar a contenedores verdes urbanos)&lt;br /&gt;
* Resto (para llevar a contenedores grises urbano)&lt;br /&gt;
&lt;br /&gt;
Dependiendo del momento, tambien se puede generar otros materiales que se&lt;br /&gt;
separan:&lt;br /&gt;
* Cristal roto que no es vídrio de botellas (para llevar a un &amp;quot;punto limpio&amp;quot; urbano)&lt;br /&gt;
* Electrodomésticos (para llevar a un &amp;quot;punto limpio&amp;quot; urbano)&lt;br /&gt;
* Maderas para quemar&lt;br /&gt;
* Maderas para reusar&lt;br /&gt;
* Pallets de madera que se devuelven a las tiendas&lt;br /&gt;
* Otro tipo de plástico (para llevar a un &amp;quot;punto limpio&amp;quot; urbano)&lt;br /&gt;
* Metales (para llevar a un &amp;quot;punto limpio&amp;quot; urbano)&lt;br /&gt;
* Ruinas de construcción&lt;br /&gt;
&lt;br /&gt;
== Agua ==&lt;br /&gt;
&lt;br /&gt;
El agua de los grifos de Calafou es potable, pero contiene bastante cal.&lt;br /&gt;
Para no beber agua con cal, se puede:&lt;br /&gt;
* usar filtros&lt;br /&gt;
* llenar garrafas en fuentes de agua naturales potables [Falta mapa]&lt;br /&gt;
* comprar agua embotellada&lt;br /&gt;
&lt;br /&gt;
== Comida ==&lt;br /&gt;
&lt;br /&gt;
Depende del evento.&lt;br /&gt;
&lt;br /&gt;
=== Supermercados cercanos ===&lt;br /&gt;
&lt;br /&gt;
[Falta mapa]&lt;br /&gt;
&lt;br /&gt;
Desafortunadamente, no hay tiendas &amp;quot;bio&amp;quot; o ecológicas cercanas [Añadir enlaces a las q están más cerca, con sección &amp;quot;bio&amp;quot; o compra por Internet]&lt;br /&gt;
&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.5186&amp;amp;mlon=1.7077#map=16/41.5186/1.7077 Suma (Ca la Neus), en Vallbona d&#039;Anoia] (abierto de lunes a viernes, 8:45–13:30, 17:15–20:30 y sábados 8:45-14:00)&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.5183&amp;amp;mlon=1.7073#map=16/41.5183/1.7073 Can Ticket, en Vallbona d&#039;Anoia] (abierto de 9h a 21h, todos los días de la semana) &lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.51954&amp;amp;mlon=1.70889#map=19/41.51954/1.70889 Cal Simon, en Vallbona d&#039;Anoia]&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.5276&amp;amp;mlon=1.7486#map=16/41.5276/1.7486 Esclat, en Piera] ([https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&amp;amp;route=41.5118%2C1.7038%3B41.5277%2C1.7487#map=15/41.5237/1.7264 Cómo llegar en coche], abierto de lunes a sábado, lunes, 9:00–21:30)&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.52187&amp;amp;mlon=1.75030#map=19/41.52187/1.75030 Dia, en Piera] ([https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&amp;amp;route=41.51181%2C1.70381%3B41.52177%2C1.75048#map=15/41.5237/1.7276 Cómo llegar en coche], abierto de lunes a sábado, lunes, 9:30–21:30)&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.53665&amp;amp;mlon=1.67963#map=18/41.53665/1.67963 Dia, en Capellades] ([https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&amp;amp;route=41.51181%2C1.70381%3B41.53688%2C1.67995#map=15/41.5239/1.6937 Cómo llegar en coche], abierto todos los días de la semana, 9:00–21:30)&lt;br /&gt;
&lt;br /&gt;
== Tiempo meteorológico ==&lt;br /&gt;
&lt;br /&gt;
[https://es.wikipedia.org/wiki/Clima_mediterr%C3%A1neo Clima mediterráneo]:&lt;br /&gt;
* pocas lluvias, normalemente durante los equinoccios, en forma torrencial&lt;br /&gt;
* inviernos suaves y veranos calurosos&lt;br /&gt;
&lt;br /&gt;
[http://www.aemet.es/es/eltiempo/prediccion/municipios/vilanova-i-la-geltru-id08307 Predicción del tiempo para Villanova d&#039;Anoia]&lt;br /&gt;
&lt;br /&gt;
Para ver la temperatura, humedad y presión actual o pasada en Calafou, ve a [calafou.org calafou.org] y clica en datos.&lt;br /&gt;
&lt;br /&gt;
== Fuego ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;No&#039;&#039;&#039; hagas fuego bajo ninguna circunstancia, excepto para encender tu cigarrillo y ten muchisimo cuidado, sobre todo en verano porque debido a las altas temperaturas y la sequedad de la vegetación podría arder todo Calafou y el bosque.&lt;br /&gt;
&lt;br /&gt;
== Rio ==&lt;br /&gt;
&lt;br /&gt;
El agua del río esta contaminada, &#039;&#039;&#039;no&#039;&#039;&#039; es potable y te recomendamos que no te banes debido a los vertidos toxicos de fabricas y objectos punzantes que pudieran estar en el fondo.&lt;br /&gt;
&lt;br /&gt;
El tipo de especies que viven en él, peces, ranas, tortugas, etc. son resistentes a la contaminación.&lt;br /&gt;
&lt;br /&gt;
== Mascotas ==&lt;br /&gt;
&lt;br /&gt;
Te pedimos expresamente que &#039;&#039;&#039;no&#039;&#039;&#039; traigas animales domésticos (comúnmente perros o gatos) porque es difícil encontrar un equilibrio entre ellos, los animales domesticos que ya viven en Calafou y la fauna salvaje. &lt;br /&gt;
&lt;br /&gt;
Por supuesto, no traigas y dejes en libertad otros animales no autóctonos.&lt;br /&gt;
&lt;br /&gt;
== Jabalíes ==&lt;br /&gt;
&lt;br /&gt;
Te pedimos encarecidamente &#039;&#039;&#039;no&#039;&#039;&#039; darles de comida,&lt;br /&gt;
y te avisamos de que es mejor que no dejes comida dentro de tu tienda de campaña&lt;br /&gt;
porque esto podría motivar los jabalíes a intentar entrar en tu tienda.&lt;br /&gt;
&lt;br /&gt;
== Seguridad ==&lt;br /&gt;
&lt;br /&gt;
* Bebe mucha agua&lt;br /&gt;
* &#039;&#039;&#039;No&#039;&#039;&#039; hagas fuego bajo ninguna circunstancia&lt;br /&gt;
* En caso de fuego, hay extintores en distintos sitios de Calafou. [Falta mapa]&lt;br /&gt;
* Hay botiquines de primeros auxilios en el punto de información y otros puntos de Calafou. [Falta mapa]&lt;br /&gt;
* Hay farmacias, centros medicos y hospitales en los pueblos cercanos a los que se puede llegar en coche [Falta mapa]&lt;br /&gt;
* Si no conoces Calafou, no camines por la noche sin una linterna&lt;br /&gt;
* Fauna local con la que te tener cuidado:&lt;br /&gt;
** mosquitos y avispas (utiliza ahuyentadores naturales), en especial si eres alérgica/o&lt;br /&gt;
** jabalíes (pueden asustarse y saltar sobre ti, no se suelen acercar si hay ruido)&lt;br /&gt;
* Flora local con la que tener cuidado:&lt;br /&gt;
** ortigas&lt;br /&gt;
** cardos y otras plantas con pinchos&lt;br /&gt;
* Río:&lt;br /&gt;
** no es potable y no se recomienda el baño por estar contaminado&lt;br /&gt;
* Bebe más agua&lt;br /&gt;
&lt;br /&gt;
== Privacidad ==&lt;br /&gt;
&lt;br /&gt;
No tomes fotos o vídeos de las personas sin pedirles permiso antes.&lt;br /&gt;
&lt;br /&gt;
Pregunta siempre antes de darle al botón de grabar&lt;br /&gt;
&lt;br /&gt;
== Cultura libre ==&lt;br /&gt;
&lt;br /&gt;
Calafou esta totalmente volcado en el desarrollo y protección de la cultura libre.&lt;br /&gt;
Por ello si quieres producir un articulo, pieza audiovisual o cualquier otro&lt;br /&gt;
tipo de producción multimedia acerca de las jornadas y/o calafou tendrás que&lt;br /&gt;
liberar ese material bajo una licencia libre.&lt;br /&gt;
&lt;br /&gt;
Lee por favor nuestro [https://wiki.calafou.org/index.php/Protocolo_medios].&lt;br /&gt;
&lt;br /&gt;
== Conducta, cuidados y acuerdos ==&lt;br /&gt;
&lt;br /&gt;
Dependen del evento.&lt;br /&gt;
&lt;br /&gt;
En general:&lt;br /&gt;
&lt;br /&gt;
[[File:NO es NOOO.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
* De les participantes se espera un trato reciproco de respeto, tanto con las personas como con las instalaciones, y ayudar proactivamente  a crear un ambiente acogedor.  Si observas, ves o vives  un comportamiento que no cumpla con esta norma, por favor, manifiestalo de una manera en que todxs podamos generar una respuesta, y así crear un espacio tan acogedor y seguro como esperamos que sea.&lt;br /&gt;
* Cualquier tipo de agresividad general y falta de respeto gratuito será profundamente reprobado. No toleraremos cualquier  forma de acoso, o falta de respeto a ninguna persona. Acoso Incluye:  comentarios ofensivos basados en las identidades de género, orientación  sexual, etnicidad, clase, aspecto físico, incapacidad, religión y  condición económica social, incluyendo intimidación, persecución, fotografías o vídeo sin acuerdo previo, invasión  y contacto físico indeseado. No te vamos a invitar a salir, te vamos a patear directamente fuera. En resumen, si te comportas como un gilipollas, calafou no es el sitio adecuado para ti.&lt;br /&gt;
* Este es un evento autogestionado. Esto significa que todxs lxs participantes han de contribuir de alguna manera, ya sea en contenido, dinámicas o logística. Durante el evento, y antes, vamos a decidir juntxs qué tareas son básicas y estructurales a las que todo el mundo esta invitadx a contribuir para su realización. No somos proveedorxs de servicios, todxs cuidamos, reciclamos, limpiamos, documentamos, informamos, cuidamos de la comunidad autónoma temporal que crearemos y por supuesto, nos divertimos juntxs!&lt;br /&gt;
* Contamos con un [[protocolo contra las agresiones sexistas]], te animamos a leerlo con atención.&lt;br /&gt;
&lt;br /&gt;
== Precios ==&lt;br /&gt;
&lt;br /&gt;
Dependen del evento, la estancia y la capacidad económica de cada visitante. Es la visitante la que propone el precio a pagar por persona y día.&lt;br /&gt;
&lt;br /&gt;
== Material para Calafou ==&lt;br /&gt;
&lt;br /&gt;
Dependiendo del evento, Calafou puede necesitar material como&lt;br /&gt;
* alargadores o regletas de electricidad&lt;br /&gt;
* proyectores&lt;br /&gt;
* cables de audio o vídeo&lt;br /&gt;
* proyectores&lt;br /&gt;
&lt;br /&gt;
== Registro ==&lt;br /&gt;
&lt;br /&gt;
Dependen del evento o estancia.&lt;br /&gt;
&lt;br /&gt;
== Contexto ==&lt;br /&gt;
&lt;br /&gt;
Calafou es un proyecto eco-industrial, no es un proyecto agrícola,&lt;br /&gt;
ni una eco-aldea, ni un proyecto de salud, ni lugar de retiro para trabajar&lt;br /&gt;
la espiritualidad o lo existencial.&lt;br /&gt;
No es un lugar idílico por su naturaleza y entorno aunque trabajemos todxs para que algún día llegue a serlo.&lt;br /&gt;
&lt;br /&gt;
== Contacto ==&lt;br /&gt;
&lt;br /&gt;
Si tienes dudas o necesidades especiales, ponte en contacto aquí: calafou@riseup.net&lt;br /&gt;
&lt;br /&gt;
= English =&lt;br /&gt;
&lt;br /&gt;
Basic information to stay in Calafou.&lt;br /&gt;
&lt;br /&gt;
== What to bring with you ==&lt;br /&gt;
&lt;br /&gt;
=== Essential ===&lt;br /&gt;
&lt;br /&gt;
* flashlight and/or headlamp&lt;br /&gt;
* mosquito repellent for the skin (in summer)&lt;br /&gt;
* sunscreen for the skin (in summer)&lt;br /&gt;
* hat, cap or similar (in summer)&lt;br /&gt;
* comfortable shoes for unpaved and muddy terrain (trekking type)&lt;br /&gt;
* sleeping bag, sleeping mat and tent (if you sleep in camping areas)&lt;br /&gt;
* sheet for mattress (we have oe buy aybe not or everyboy, if you sleep in a communal shelter)&lt;br /&gt;
* canteen or water bottle&lt;br /&gt;
&lt;br /&gt;
=== Useful, recommended ===&lt;br /&gt;
&lt;br /&gt;
* swimsuit (in summer, there is a public swimming pool less than a km from calafou,&lt;br /&gt;
open from 10:00 am to 10:00 am).&lt;br /&gt;
It costs 4.50 euros from monday to friday&lt;br /&gt;
and 5.50 euros saturday and sunday, you must register before going on&lt;br /&gt;
https://www.equipamentsvallbonadanoia.cat/.&lt;br /&gt;
There are also some natural water pools in the region).&lt;br /&gt;
* work gloves&lt;br /&gt;
* contents to share (books, music, videos, fanzines, etc.)&lt;br /&gt;
* money (in the village of Vallbona there is an ATM machine to withdraw money)&lt;br /&gt;
* power strips and / or extension cords (for your electronic devices)&lt;br /&gt;
* headphones (to listen to what you want without disturbing the others)&lt;br /&gt;
* ethernet cables and/or switches (if you connect to the network by cable)&lt;br /&gt;
* projectors/beamers (for events where they will be used)&lt;br /&gt;
&lt;br /&gt;
== Address ==&lt;br /&gt;
&lt;br /&gt;
Camí de Ca la Fou, S/N,&lt;br /&gt;
:08785, Vallbona d&#039;Anoia,&lt;br /&gt;
:Barcelona, Spain,&lt;br /&gt;
:planet Earth, Milky Way&lt;br /&gt;
* [https://www.openstreetmap.org/search?query=cami%20de%20ca%20la%20fou#map=17/41.51168/1.70332 OpenStreetMap link]&lt;br /&gt;
* [geo:41.5117,1.7033 Navigation link]&lt;br /&gt;
&lt;br /&gt;
== How to get there ==&lt;br /&gt;
&lt;br /&gt;
=== By public transport ===&lt;br /&gt;
&lt;br /&gt;
==== From Barcelona airport &amp;quot;El Prat&amp;quot; (BCN) ====&lt;br /&gt;
&lt;br /&gt;
===== By Bus L77, from Terminal 1 to Sant Boi =====&lt;br /&gt;
&lt;br /&gt;
Take bus L77.&lt;br /&gt;
[https://www.ambmobilitat.cat/Uploads/Galeria/1/201606/201606081243294531_L77x2.png Horario L77].&lt;br /&gt;
&lt;br /&gt;
It departs from Terminal 1 and you have to get off at the bus stop in Sant Boi,&lt;br /&gt;
which is in front of the train station (FGC).&lt;br /&gt;
&lt;br /&gt;
From here, follow the instructions on [https://wiki.calafou.org/index.php/INFO_B%C3%81SICA#En_tren.2C_desde_Barcelona_Pla.C3.A7a_Espanya how to get there by train].&lt;br /&gt;
&lt;br /&gt;
===== By Aerobus, from the airport to Barcelona Plaça Espanya =====&lt;br /&gt;
&lt;br /&gt;
If there is no L77 bus, you can take the Aerobus.&lt;br /&gt;
&lt;br /&gt;
Tickets cost: one way 5.9€, round trip 10.20€ and are sold on the bus,&lt;br /&gt;
it takes half an hour to get to Barcelona.&lt;br /&gt;
&lt;br /&gt;
The bus frequency is every 20 minutes between 6am and midnight.&lt;br /&gt;
&lt;br /&gt;
Get off at the first stop: Plaça Espanya and go to the train station (FGC)&lt;br /&gt;
below the square.&lt;br /&gt;
&lt;br /&gt;
From here, follow the instructions on how to get there by train.&lt;br /&gt;
&lt;br /&gt;
==== By train, from Barcelona Plaça Espanya ====&lt;br /&gt;
&lt;br /&gt;
Take the train R6 or R60 in direction &amp;quot;Igualada&amp;quot;.&lt;br /&gt;
[https://www.fgc.cat/cercador/ FGC R6 or R60 train timetable].&lt;br /&gt;
&lt;br /&gt;
The first train usually leaves at &#039;&#039;&#039;5:30am&#039;&#039;&#039; and the last one leaves at &#039;&#039;&#039;22:00h&#039;&#039;&#039;, arriving at Vallbona d&#039;Anoia at &#039;&#039;&#039;23:28&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
At 23:15 there is a last bus that follows the same route as the train and only arrives at Martorell at 00:02.&lt;br /&gt;
&lt;br /&gt;
The train leaves more or less every hour, shortly after o&#039;clock, it takes 1 hour and 20 minutes to get to Vallbona d&#039;Anoia.&lt;br /&gt;
&lt;br /&gt;
Get off at the Vallbona d&#039;Anoia stop.&lt;br /&gt;
&lt;br /&gt;
From here, follow the instructions on how to get from Vallbona d&#039;Anoia.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Attention&#039;&#039;&#039;: you need a &#039;&#039;&#039;5 zones&#039;&#039;&#039; ticket.&lt;br /&gt;
&lt;br /&gt;
Tickets are sold in front of the entrance at the &amp;quot;Ferrocarrils de la Generalitat de Catalunya&amp;quot; (FGC) machines.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Attention&#039;&#039;&#039;: train tickets are not sold at the machines in the metro stations and the &#039;&#039;&#039;metro&#039;&#039;&#039;&#039; ticket is not valid for the train.&lt;br /&gt;
&lt;br /&gt;
=== From Vallbona d&#039;Anoia ===&lt;br /&gt;
&lt;br /&gt;
There is no public transport or cabs from Vallbona d&#039;Anoia to Calafou.&lt;br /&gt;
&lt;br /&gt;
The route to get from Vallbona d&#039;Anoia train station to Calafou,&lt;br /&gt;
on foot, skateboard, bike, car or van is almost the same.&lt;br /&gt;
&lt;br /&gt;
It takes 5min by car, 10 by bike and 20min walking.&lt;br /&gt;
&lt;br /&gt;
You have to go down southwest direction, leave the village and pass by the Poligono Industrial la Plana.&lt;br /&gt;
Industrial la Plana.&lt;br /&gt;
&lt;br /&gt;
When you get to the industrial park there is a paved road that goes down to the valley,&lt;br /&gt;
follow it to the end and cross the river.&lt;br /&gt;
&lt;br /&gt;
The locals should be able to give you directions.&lt;br /&gt;
&lt;br /&gt;
[https://www.openstreetmap.org/directions?engine=graphhopper_car&amp;amp;route=41.52011%2C1.70947%3B41.51159%2C1.70357#map=16/41.5153/1.7068 Ruta en Openstreetmaps]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: don&#039;t use Google Maps because it sends you to another site (and we haven&#039;t wanted to correct it for the moment).&lt;br /&gt;
&lt;br /&gt;
=== On foot from Barcelona ===&lt;br /&gt;
&lt;br /&gt;
You are very brave :-) From Barcelona, it&#039;s 10 hours more or less with a lot of climbing in the mountains.&lt;br /&gt;
climbs in the mountains.&lt;br /&gt;
&lt;br /&gt;
Distance: 51km. Time: 10:14. Ascent: 897m. Descent: 716m.&lt;br /&gt;
&lt;br /&gt;
Puedes utilizar [https://www.openstreetmap.org/directions?engine=graphhopper_foot&amp;amp;route=41.3829%2C2.1774%3B41.5113%2C1.7016#map=11/41.4463/1.9398 este enlace]&lt;br /&gt;
to get the best directions, avoiding the major roads and easier trails.&lt;br /&gt;
&lt;br /&gt;
=== By bike from Barcelona ===&lt;br /&gt;
&lt;br /&gt;
It is possible to come by bike, but you will need to have a relatively good bike and be prepared for some uphill&lt;br /&gt;
good one and be prepared to endure some climbs.&lt;br /&gt;
&lt;br /&gt;
Distance: 55 km. Time: 3:47. Ascent: 877m. Descent: 696m.&lt;br /&gt;
&lt;br /&gt;
Like on foot, you can follow [https://www.openstreetmap.org/directions?engine=graphhopper_bicycle&amp;amp;route=41.3829%2C2.1774%3B41.5113%2C1.7016#map=11/41.4566/1.9398 this link]&lt;br /&gt;
to get an easy route.&lt;br /&gt;
&lt;br /&gt;
There are no bike stores in the nearest town, so remember to bring a spare tire and basic tools.&lt;br /&gt;
&lt;br /&gt;
=== Where to park your car ===&lt;br /&gt;
&lt;br /&gt;
If you come to a big event, park somewhere between Poligono industrial&lt;br /&gt;
la Plana and Calafou, as there will be no parking space in Calafou.&lt;br /&gt;
&lt;br /&gt;
=== Where to park a van or caravan in which you are going to sleep ===&lt;br /&gt;
&lt;br /&gt;
Depending on the event or stay, there will be an area set up for it.&lt;br /&gt;
&lt;br /&gt;
When you arrive in Calafou you will find indications about where to park it.&lt;br /&gt;
&lt;br /&gt;
== Where to sleep ==&lt;br /&gt;
&lt;br /&gt;
Depending on the event or stay you can sleep in: [Map missing]&lt;br /&gt;
* Your own van or caravan.&lt;br /&gt;
* Camping, with tent&lt;br /&gt;
* Community hostel aka Casa Roja&lt;br /&gt;
* Apartment or room in the residential building&lt;br /&gt;
&lt;br /&gt;
== Toilets ==&lt;br /&gt;
&lt;br /&gt;
[Map missing]&lt;br /&gt;
&lt;br /&gt;
* To pee: in the forest, in the indicated fácilities or in the toilets of the social center.&lt;br /&gt;
* To shit: in the indicated &amp;quot;ecosec&amp;quot; (dry toilets). [https://tube.systerserver.net/w/kkzZZFZriUWHY4d7mkpZ3d?start=7m38s Hot to clean the &amp;quot;ecosec&amp;quot;]&lt;br /&gt;
* Showering: in the indicated summer showers or the shower of the social center.&lt;br /&gt;
&lt;br /&gt;
== Garbage ==&lt;br /&gt;
&lt;br /&gt;
* The easiest way to avoid waste management is not to generate it.&lt;br /&gt;
* Do not throw anything on the ground or in places not designated for this purpose.&lt;br /&gt;
* Separate the garbage, not only for ecological reasons, but also because it helps to get rid of the perishable and smelly things before.&lt;br /&gt;
* In general, take with you as much garbage as you can that can be deposited in urban containers.&lt;br /&gt;
* Depending on the event, there might be different containers or turns to manage it.&lt;br /&gt;
&lt;br /&gt;
Normally it is separated into:&lt;br /&gt;
* Excrement coming from the ecosec (there are &amp;quot;composters&amp;quot; in Calafou).&lt;br /&gt;
* Organic garbage without citrus, dairy products and meat (there are &amp;quot;composters&amp;quot; in Calafou)&lt;br /&gt;
* Organic garbage from citrus, dairy products or meat (to be taken to urban brown garbage cans)&lt;br /&gt;
* Aluminum cans (for sale)&lt;br /&gt;
* Plastic and containers of other metals (to take to urban yellow containers)&lt;br /&gt;
* Paper and cardboard, not stained or oiled (to take to blue urban containers)&lt;br /&gt;
* Bottles and glass containers (to be placed in the green urban containers)&lt;br /&gt;
* Rest (to take to urban gray containers)&lt;br /&gt;
&lt;br /&gt;
Depending on the moment, other materials can also be generated and separated.&lt;br /&gt;
separated:&lt;br /&gt;
* Broken glass that is not glass from bottles (to take to an urban &amp;quot;clean point&amp;quot;).&lt;br /&gt;
* Household appliances (to be taken to an urban &amp;quot;clean point&amp;quot;)&lt;br /&gt;
* Wood for burning&lt;br /&gt;
* Wood for reuse&lt;br /&gt;
* Wood pallets that are returned to the stores&lt;br /&gt;
* Other plastic (to be taken to an urban &amp;quot;punto limpio&amp;quot;) * Metals (to be taken to an urban &amp;quot;punto limpio&amp;quot;)&lt;br /&gt;
* Metals (to take to an urban &amp;quot;punto limpio&amp;quot;)&lt;br /&gt;
* Construction debris (to take to an urban &amp;quot;punto limpio&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== Water ==&lt;br /&gt;
&lt;br /&gt;
The tap water in Calafou is drinkable, but contains a lot of lime.&lt;br /&gt;
To avoid drinking water with lime, you can:&lt;br /&gt;
* use filters&lt;br /&gt;
* fill water bottles from natural drinking water sources [Map missing]&lt;br /&gt;
* buy bottled water [Map missing].&lt;br /&gt;
&lt;br /&gt;
== Food ==&lt;br /&gt;
&lt;br /&gt;
Depends on the event.&lt;br /&gt;
&lt;br /&gt;
=== Supermarkets nearby ===&lt;br /&gt;
&lt;br /&gt;
[Map missing]&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are no &amp;quot;bio&amp;quot; or ecological stores nearby [Add links to the nearest ones, with &amp;quot;bio&amp;quot; section or online shopping]&lt;br /&gt;
&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.5186&amp;amp;mlon=1.7077#map=16/41.5186/1.7077 Suma (Ca la Neus), in Vallbona d&#039;Anoia] (open from Monday to Friday, 8:45-13:30, 17:15-20:30 and Saturdays 8:45-14:00)&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.5183&amp;amp;mlon=1.7073#map=16/41.5183/1.7073 Can Ticket, in Vallbona d&#039;Anoia] (open from 9:00 am to 9:00 pm, every day of the week) &lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.51954&amp;amp;mlon=1.70889#map=19/41.51954/1.70889 Cal Simon, in Vallbona d&#039;Anoia].&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.5276&amp;amp;mlon=1.7486#map=16/41.5276/1.7486 Esclat, in Piera] ([https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&amp;amp;route=41.5118%2C1.7038%3B41.5277%2C1.7487#map=15/41.5237/1.7264 How to get there by car], open Monday to Saturday, Monday, 9:00-21:30)&lt;br /&gt;
* https://www.openstreetmap.org/?mlat=41.52187&amp;amp;mlon=1.75030#map=19/41.52187/1.75030 Dia, in Piera] ([https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&amp;amp;route=41.51181%2C1.70381%3B41.52177%2C1.75048#map=15/41.5237/1.7276 How to get there by car], open Mon-Sat, Mon, 9:30-21:30)&lt;br /&gt;
* [https://www.openstreetmap.org/?mlat=41.53665&amp;amp;mlon=1.67963#map=18/41.53665/1.67963 Dia, in Capellades] ([https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&amp;amp;route=41.51181%2C1.70381%3B41.53688%2C1.67995#map=15/41.5239/1.6937 How to get there by car], open every day of the week, 9:00-21:30)&lt;br /&gt;
&lt;br /&gt;
== Weather ==&lt;br /&gt;
&lt;br /&gt;
[https://en.wikipedia.org/wiki/Mediterranean_climateo Mediterranean climate]:&lt;br /&gt;
* little rainfall, usually during the equinoxes, in torrential form.&lt;br /&gt;
* mild winters and hot summers&lt;br /&gt;
&lt;br /&gt;
[http://www.aemet.es/es/eltiempo/prediccion/municipios/vilanova-i-la-geltru-id08307 Weather forecast for Villanova d&#039;Anoia].&lt;br /&gt;
&lt;br /&gt;
To see the current or past temperature, humidity and pressure in Calafou, go to calafou.org and click on data.&lt;br /&gt;
&lt;br /&gt;
== Fire ==&lt;br /&gt;
&lt;br /&gt;
Do not make fire under any circumstances, except to light your cigarette and be very careful, especially in summer because due to the high temperatures and the dryness of the vegetation could burn all Calafou and the forest.&lt;br /&gt;
&lt;br /&gt;
== River ==&lt;br /&gt;
&lt;br /&gt;
The water of the river is polluted, it is &#039;&#039;&#039;not&#039;&#039;&#039; drinkable and we recommend you not to swim in it because of the toxic spills from factories and sharp objects that could be at the bottom.&lt;br /&gt;
&lt;br /&gt;
The type of species that live in it, fish, frogs, turtles, etc. are resistant to contamination.&lt;br /&gt;
&lt;br /&gt;
== Pets ==&lt;br /&gt;
&lt;br /&gt;
We expressly ask you &#039;&#039;&#039;not&#039;&#039;&#039; to bring pets (commonly dogs or cats) because it is difficult to find a balance between them, the domestic animals already living in Calafou and the wildlife. &lt;br /&gt;
&lt;br /&gt;
Of course, do not bring and let free other non-native animals.&lt;br /&gt;
&lt;br /&gt;
== Wild boars ==&lt;br /&gt;
&lt;br /&gt;
We strongly ask you &#039;&#039;&#039;not&#039;&#039;&#039;&#039; to feed them,&lt;br /&gt;
and we warn you that it is better not to leave food inside your tent because this could motivate wild boars.&lt;br /&gt;
because this could motivate wild boars to try to enter your tent.&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
* Drink plenty of water&lt;br /&gt;
* Do not, under any circumstances, light a fire.&lt;br /&gt;
* In case of fire, there are fire extinguishers in different places in Calafou. [Map missing]&lt;br /&gt;
* There are first aid kits at the information point and other points in Calafou. [Missing map] * There are pharmacies and medical centers in Calafou.&lt;br /&gt;
* There are pharmacies, medical centers and hospitals in the nearby villages that can be reached by car [Missing map].&lt;br /&gt;
* If you do not know Calafou, do not walk at night without a flashlight.&lt;br /&gt;
* Local fauna to watch out for:&lt;br /&gt;
** mosquitoes and wasps (use natural repellents), especially if you are allergic ** wild boars (they can scare you away).&lt;br /&gt;
** wild boars (they can get scared and jump on you, they don&#039;t usually approach if there is noise)&lt;br /&gt;
* Local flora to watch out for:&lt;br /&gt;
** nettles&lt;br /&gt;
** thistles and other spiky plants&lt;br /&gt;
* River:&lt;br /&gt;
** not drinkable and bathing is not recommended as it is polluted.&lt;br /&gt;
* Drink more water&lt;br /&gt;
&lt;br /&gt;
== Privacy ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t take pictures or videos of people without asking their permission first.&lt;br /&gt;
&lt;br /&gt;
Always ask before hitting the record button&lt;br /&gt;
&lt;br /&gt;
== Free culture ==&lt;br /&gt;
&lt;br /&gt;
Calafou is fully committed to the development and protection of free culture.&lt;br /&gt;
&lt;br /&gt;
Therefore, if you want to produce an article, audiovisual piece or any other kind of&lt;br /&gt;
multimedia production about the conference and/or calafou you will have to release that material under a free license.&lt;br /&gt;
release that material under a free license.&lt;br /&gt;
&lt;br /&gt;
Please read our [https://wiki.calafou.org/index.php/Protocolo_medios].&lt;br /&gt;
&lt;br /&gt;
== Conduct, care and agreements ==&lt;br /&gt;
&lt;br /&gt;
They depend on the event.&lt;br /&gt;
&lt;br /&gt;
In general:&lt;br /&gt;
&lt;br /&gt;
[[File:NO es NOOO.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
* Participants are expected to treat each other with respect, both with people and facilities, and to proactively help create a welcoming environment.  If you observe, see, or experience behavior that does not meet this standard, please express it in a way that we can all generate a response, and thus create a space that is as welcoming and safe as we hope it will be.&lt;br /&gt;
* Any kind of general aggressiveness and gratuitous disrespect will be deeply reprobated. We will not tolerate any form of harassment, or disrespect to any person. Harassment includes: offensive comments based on gender identities, sexual orientation, ethnicity, class, physical appearance, disability, religion and social economic status, including bullying, stalking, unwanted photographs or video without prior agreement, invasion and unwanted physical contact. We will not ask you out, we will kick you straight out. In short, if you behave like an asshole, calafou is not the place for you.&lt;br /&gt;
* This is a self-organized event. This means that all participants have to contribute in some way, either in content, dynamics or logistics. During the event, and before, we will decide together which tasks are basic and structural to which everyone is invited to contribute to its realization. We are not service providers, we all take care, recycle, clean, document, inform, take care of the temporary autonomous community we will create and of course, have fun together!&lt;br /&gt;
* We have a [[Protocolo_contra_las_agresiones_sexistas#ENG:_Protocol_against_Sexist_aggressions_during_holidays_and_events_in_Calafou]], we encourage you to read it carefully.&lt;br /&gt;
&lt;br /&gt;
== Prices ==&lt;br /&gt;
&lt;br /&gt;
They depend on the event, the stay and the economic capacity of each visitor. It is the visitor who proposes the price to be paid per person per day.&lt;br /&gt;
&lt;br /&gt;
== Material for Calafou ==&lt;br /&gt;
&lt;br /&gt;
Depending on the event, Calafou may need material such as:&lt;br /&gt;
* extension cords or power strips&lt;br /&gt;
* projectors&lt;br /&gt;
* audio or video cables&lt;br /&gt;
* projectors&lt;br /&gt;
&lt;br /&gt;
== Registration ==&lt;br /&gt;
&lt;br /&gt;
Depends on the event or stay.&lt;br /&gt;
&lt;br /&gt;
== Context ==&lt;br /&gt;
&lt;br /&gt;
Calafou is an eco-industrial project, not an agricultural project,&lt;br /&gt;
nor an eco-village, nor a health project, nor a retreat place to work on spirituality or the existential.&lt;br /&gt;
spirituality or the existential.&lt;br /&gt;
&lt;br /&gt;
It is not an idyllic place because of its nature and environment, although we all work so that someday it becomes one.&lt;br /&gt;
&lt;br /&gt;
== Contact us ==&lt;br /&gt;
&lt;br /&gt;
If you have doubts or special needs, please contact us here: calafou@riseup.net&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Essun&amp;diff=6047</id>
		<title>Essun</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Essun&amp;diff=6047"/>
		<updated>2026-02-11T00:53:53Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Update Collabora */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Essun &amp;gt; Bandrui =&lt;br /&gt;
&lt;br /&gt;
Essun &amp;gt; now Bandrui is the mediaserver of Calafou local network.  It is running Debian, the Universal Operating System.  It is providing services for the people who are on the territory of Calafou. It is 8Gb ram and has 4 discs in it: 160Gb for system, 1Tb mirror discs, 3T for mediateca. You can connect here http://essun.calafou.org/ http://bandrui.calafou.org/&lt;br /&gt;
&lt;br /&gt;
=== What does &amp;quot;Essun&amp;quot; mean? ===&lt;br /&gt;
&lt;br /&gt;
Essun is one of the names of the protagonist of the &#039;&#039;Broken Earth&#039;&#039; trilogy by [https://es.wikipedia.org/wiki/N._K._Jemisin N. K. Jemisin]. Essun belongs to a small group of people, called origenes, who have a special power to shape and redirect energy. Origenes are feared and hated by their society because of their powers, so if they are not murdered as children, they are carefully controlled, enslaved and exploited.&lt;br /&gt;
&lt;br /&gt;
As the world ends, Essun is forced to join together with others. As she learns the strength of community and solidarity, she learns to use her powers without shame. And she learns that resistance is possible, even if it means causing the destruction of the world that had previously been her home.&lt;br /&gt;
&lt;br /&gt;
= Boot sequence: What happens when you turn on the machine? =&lt;br /&gt;
&lt;br /&gt;
# BIOS&lt;br /&gt;
## Here you can press F12 to choose boot device. The default is to boot the system on the hard drive. This is useful if you want to boot a rescue or install image from a pendrive, for example.&lt;br /&gt;
## Here you can press F2 to enter the BIOS configuration, but we have to find out the BIOS password. At the moment, we have no idea what is the BIOS password! We have to search how to reset this password...&lt;br /&gt;
# GRUB&lt;br /&gt;
## Here you can choose to start the system as usual, or to enter rescue mode. It is also possible to modify the kernel boot parameters. This is useful if you forgot the root password and want to reset it, for example.&lt;br /&gt;
# Initramfs&lt;br /&gt;
## Here cryptsetup asks for the LUKS encryption password.  The password can be typed in using a keyboard connected to essun, or through SSH if your SSH keys are installed in initramfs (in /etc/dropbear-initramfs/authorized_keys [https://www.virtono.com/community/tutorial-how-to/unlock-full-encrypted-system-via-ssh/ cf this].  For the second option, use the &amp;lt;code&amp;gt;unlock-essun.sh&amp;lt;/code&amp;gt; script.  The actual password can be found in the calafou keyringer repository, and you can see it from your computer like this: &amp;lt;code&amp;gt;keyringer calafou decrypt lan.essun.luks.system&amp;lt;/code&amp;gt;&lt;br /&gt;
## To connect with ssh to ssh dropbear server at boot :&lt;br /&gt;
 ssh root@172.31.17.23&lt;br /&gt;
once in busybox, type :&lt;br /&gt;
 cryptroot-unlock&lt;br /&gt;
and type the luks passphrase&lt;br /&gt;
# Systemd&lt;br /&gt;
## The hard drives (&amp;quot;block devices&amp;quot;) specified in &amp;lt;code&amp;gt;/etc/crypttab&amp;lt;/code&amp;gt; are unlocked, usually using key files in &amp;lt;code&amp;gt;/etc/luks/&amp;lt;/code&amp;gt;.&lt;br /&gt;
## The hard drives (&amp;quot;block devices&amp;quot;) specified in &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; are mounted, such as &amp;lt;code&amp;gt;/mnt/3t&amp;lt;/code&amp;gt; (a big hard drive for mediateca) and &amp;lt;code&amp;gt;/mnt/mirror&amp;lt;/code&amp;gt; (a mirrored drive for services).&lt;br /&gt;
## Systemd manages the services, so when the computer starts, it tries to turn on the web server (apache2), etc.&lt;br /&gt;
# System&lt;br /&gt;
## You can log in if your SSH key is installed in the system: &amp;lt;code&amp;gt;ssh $USERNAME@essun.calafou.org&amp;lt;/code&amp;gt; (where $USERNAME is your username).&lt;br /&gt;
#Services to re-launch : (don&#039;t know why they doesn&#039;t start well at boot time)&lt;br /&gt;
 systemctl restart etherpad-lite.service&lt;br /&gt;
 systemctl restart apache2.service&lt;br /&gt;
 systemctl status omnioussonification.service&lt;br /&gt;
#Container to start (as root)&lt;br /&gt;
 lxc-start umap&lt;br /&gt;
 lxc-start bibretime&lt;br /&gt;
 lxc-ls -f&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
Most of these services are only available from the local network!&lt;br /&gt;
&lt;br /&gt;
== Web Server ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://essun.calafou.org/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl status apache2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/apache2/sites-available/essun.calafou.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The web server shows a page that explains Essum and links to the other services.&lt;br /&gt;
&lt;br /&gt;
== Pads ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://etherpad.calafou.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl status etherpad&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/opt/etherpad-lite/settings.json&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The etherpad is providing real-time multi-user editable shared persistent documents.&lt;br /&gt;
&lt;br /&gt;
A few plug-ins have been installed from this framasoft list (all did not instal ...) https://github.com/YunoHost-Apps/etherpad_mypads_ynh&lt;br /&gt;
&lt;br /&gt;
== Streaming ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://essun.calafou.org:8000&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl status icecast2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/icecast2/icecast.xml&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Icecast2 is providing a stream (&amp;quot;radio&amp;quot;) that you can play on your computer, for example with &amp;lt;code&amp;gt;mplayer&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;mpv&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mplayer http://essun.calafou.org:8000&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mpv http://essun.calafou.org:8000&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Libros ==&lt;br /&gt;
&lt;br /&gt;
Los libros en la antigua mediateca se pueden visualizar a traves de [https://libros.calafou.org/ calibre-web].&lt;br /&gt;
&lt;br /&gt;
Se pueden subir libros desde el enlace anterior o a traves del [https://nuvol.calafou.org/index.php/apps/files?dir=/MEDIATECA/libros directorio mediateca en nuvol].&lt;br /&gt;
&lt;br /&gt;
El indice y los metadatos de los libros se actualizan cada noche.&lt;br /&gt;
&lt;br /&gt;
== Peliculas, Musica, Fotos... ==&lt;br /&gt;
&lt;br /&gt;
Las peliculas, musica, fotos, etc.. se pueden visualizar a traves de [https://calaflix.calafou.org/ jellyfin] (calaflix).&lt;br /&gt;
&lt;br /&gt;
== File server ==&lt;br /&gt;
&lt;br /&gt;
Se puede acceder a tanto a los ficheros de la antigua mediateca a traves de [https://nuvol.calafou.org/index.php/apps/files/?dir=/MEDIATECA nuvol]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Update&#039;&#039;&#039;: the FTP sever has been disabled.&lt;br /&gt;
&lt;br /&gt;
=== Mediateca FTP anonymous access ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ftp://essun.calafou.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl status proftpd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file server is for uploading and downloading files to / from the Mediateca.  You can access it with [https://filezillapro.com FileZilla] from popular operating systems.  Or you can use a command line client such as &amp;lt;code&amp;gt;ncftp&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ncftp ftp://essun.calafou.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Filezilla config :&lt;br /&gt;
&lt;br /&gt;
[[File:Ftpessun.png]]&lt;br /&gt;
&lt;br /&gt;
=== Essun SFTP access with a ssh key ===&lt;br /&gt;
&lt;br /&gt;
To access Essun&#039;s Calafou files with a FTP client like Filezilla, you need a ssh pair of keys, to generate this pair of key under linux :&lt;br /&gt;
&lt;br /&gt;
==== Create RSA Key Pair ====&lt;br /&gt;
You create your rsa key pair in the computer you want to log to the server&lt;br /&gt;
&lt;br /&gt;
Be careful to pay attention from which user you create the rsa key pair in your local machine (computer). Since the rsa key pairs are saved in a hidden directory in my user home directory (~/.ssh), if trying to login from a different user, it will not work&lt;br /&gt;
&lt;br /&gt;
So, from the user in my localmachine that I wish to use to access the server, I will create my rsa key pair. When generating the key, you will need to introduce a **&amp;quot;passphrase&amp;quot;.**&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ ssh-keygen -t rsa -b 4096&lt;br /&gt;
&lt;br /&gt;
By default it will generate two keys in ~/.ssh, a public key and a private key. The public key we will send to an admin of Anarcha server.&lt;br /&gt;
&lt;br /&gt;
==== Send public key to the server ====&lt;br /&gt;
&lt;br /&gt;
After generating an SSH key pair, you will want to copy your public key to the server.&lt;br /&gt;
&lt;br /&gt;
Assuming you generated an SSH key pair using the previous step, use the following command at the terminal of your local machine to print your public key (id_rsa.pub):&lt;br /&gt;
&lt;br /&gt;
 cat ~/.ssh/id_rsa.pub&lt;br /&gt;
&lt;br /&gt;
This should print your public SSH key, which should look something like the following:&lt;br /&gt;
&lt;br /&gt;
 ssh-rsa AAAB3NzaC1yc2EAAAADAQABAAABAQDBGTO0tsVejssuaYR5R3Y/i73SppJAhme1dH7W2c47d4gOqB4izP0+fRLfvbz/tnXFz4iOP/H6eCV05hqUhF+KYRxt9Y8tVMrpDZR2l75o6+xSbUOMu6xN+uVF0T9XzKcxmzTmnV7Na5up3QM3DoSRYX/EP3utr2+zAqpJIfKPLdA74w7g56oYWI9blpnpzxkEd3edVJOivUkpZ4JoenWManvIaSdMTJXMy3MtlQhva+j9CgguyVbUkdzK9KKEuah+pFZvaugtebsU+bllPTB0nlXGIJk98Ie9ZtxuY3nCKneB+KjKiXrAvXUPCI9mWkYS/1rggpFmu3HbXBnWSUdf localuser@machine.local&lt;br /&gt;
&lt;br /&gt;
Select the public key, and copy it to your clipboard and send it by email to someone who administrate essun&lt;br /&gt;
&lt;br /&gt;
==== Configure Filezilla to access Essun with SFTP and this key ====&lt;br /&gt;
* See this tutorial https://filezillapro.com/docs/v3/basic-usage-instructions/ssh-private-keys-for-sftp/&lt;br /&gt;
&lt;br /&gt;
# In FileZilla Pro-&amp;gt;Settings.. select Connection-&amp;gt;SFTP&lt;br /&gt;
# Press the Add key file… button&lt;br /&gt;
# Press Command-Shift-G to bring up a path selection window and type “~/.ssh”&lt;br /&gt;
# Select the “id_rsa” key file and click Open (this imports the key)&lt;br /&gt;
# Click OK to close the Settings dialog&lt;br /&gt;
# Open File-&amp;gt;Site Manager…&lt;br /&gt;
# Select the site with which you want to use the key&lt;br /&gt;
# Choose Protocol “SFTP” and select Logon Type “Normal”. Don’t worry about a password if you key file doesn’t have a password, if it has one set it here.&lt;br /&gt;
# Click Connect and you’ll see your files&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== NextCloud ==&lt;br /&gt;
Now (10.01.2025) there is Nextcloud Hub 8 (29.0.10) installed, [https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html see installation docs here]&lt;br /&gt;
&lt;br /&gt;
=== Collabora online ===&lt;br /&gt;
To allow a rich editor inside Nextcloud (like libreoffice doc and spreadsheet), Collabora online has been installed on bandrui serveur next to NExtcloud [https://docs.nextcloud.com/server/latest/admin_manual/office/example-docker.html following this documentation]&lt;br /&gt;
&lt;br /&gt;
So the installation has been done with docker, a proxy server has been installed on apache on coffice.calafou.org subdomain with a ssl certificate using the wild card one (/etc/letsencrypt/live/calafou.org-0002) managed via certbot and the gandi plug-in&lt;br /&gt;
&lt;br /&gt;
==== Update Collabora ====&lt;br /&gt;
See [https://docs.nextcloud.com/server/latest/admin_manual/office/example-docker.html#updating this documentation to update, replace and restart the container]&lt;br /&gt;
&lt;br /&gt;
  docker pull collabora/code&lt;br /&gt;
  docker ps |grep colla&lt;br /&gt;
  docker stop idcontainer&lt;br /&gt;
  docker rm idcontainer&lt;br /&gt;
  docker run -t -d -p 127.0.0.1:9980:9980 -e &#039;aliasgroup1=https://nuvol.calafou.org:443&#039; --restart always --cap-add MKNOD collabora/code&lt;br /&gt;
&lt;br /&gt;
  docker logs idcontainer&lt;br /&gt;
&lt;br /&gt;
=== OLD Nextcloud config ===&lt;br /&gt;
* To integrate external storage as part of Nextcloud files&lt;br /&gt;
** Possible to use the &amp;quot;Local Storage&amp;quot; application : activate it &amp;gt; then see as an admin in the settings the local storage&lt;br /&gt;
* To allow people to put file with anonymous FTP + via Nextcloud : https://serverfault.com/questions/184548/ftp-and-apache-permission-issues or more recently https://serverfault.com/questions/938143/proftpd-and-www-data-group&lt;br /&gt;
So it was : &lt;br /&gt;
 groupadd www-ftp&lt;br /&gt;
 usermod -a -G www-ftp www-data&lt;br /&gt;
 usermod -a -G www-ftp anonftp&lt;br /&gt;
 chown -R :www-ftp /mnt/3t/ftp/MEDIATECA&lt;br /&gt;
 chmod -R g+rw /mnt/3t/ftp/MEDIATECA&lt;br /&gt;
&lt;br /&gt;
Now it is config on proftpd side :&lt;br /&gt;
&lt;br /&gt;
 DefaultRoot /mnt/3t/ftp/MEDIATECA/&lt;br /&gt;
 &amp;lt;Anonymous /mnt/3t/ftp/MEDIATECA/&amp;gt;&lt;br /&gt;
 &amp;lt;Limit LOGIN&amp;gt;&lt;br /&gt;
     AllowAll&lt;br /&gt;
 &amp;lt;/Limit&amp;gt;&lt;br /&gt;
 Group www-data&lt;br /&gt;
 User www-data&lt;br /&gt;
 UserAlias anonymous anonftp www-data&lt;br /&gt;
 GroupOwner www-data&lt;br /&gt;
 UserOwner www-data&lt;br /&gt;
 Umask 007&lt;br /&gt;
 &amp;lt;Directory *&amp;gt;&lt;br /&gt;
     &amp;lt;Limit ALL&amp;gt;&lt;br /&gt;
         AllowAll&lt;br /&gt;
     &amp;lt;/Limit&amp;gt;&lt;br /&gt;
 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
 &amp;lt;/Anonymous&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and on MEDIATECA side&lt;br /&gt;
 chmod -R 0775 MEDIATECA/ &lt;br /&gt;
 chmod g+w+s MEDIATECA/&lt;br /&gt;
 chown -R www-data: MEDIATECA/&lt;br /&gt;
&lt;br /&gt;
=== OLD Even more config to optimize things ===&lt;br /&gt;
As seen in https://nuvol.calafou.org/index.php/settings/admin/overview there were things that needed to be optimized :&lt;br /&gt;
 cd /var/www/html/nextcloud&lt;br /&gt;
 sudo -u www-data php occ db:add-missing-indices&lt;br /&gt;
 apt install php-intl php-imagick&lt;br /&gt;
 sudo -u www-data php occ maintenance:mode --on&lt;br /&gt;
 sudo -u www-data php occ db:convert-filecache-bigint&lt;br /&gt;
 sudo -u www-data php occ maintenance:mode --off&lt;br /&gt;
Activate cache&lt;br /&gt;
 apt install php-apcu&lt;br /&gt;
 phpenmod intl&lt;br /&gt;
 nano config/config.php&lt;br /&gt;
Add this in the file before );&lt;br /&gt;
 &#039;memcache.local&#039; =&amp;gt; &#039;\OC\Memcache\APCu&#039;,&lt;br /&gt;
Restart Apache after all this &lt;br /&gt;
 systemctl restart apache2&lt;br /&gt;
Rescan the files &lt;br /&gt;
 sudo -u www-data php occ files:scan --all -v &lt;br /&gt;
If problem while scanning with unlocked files :&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
 connect nextclouddb&lt;br /&gt;
 DELETE FROM oc_file_locks WHERE 1;&lt;br /&gt;
or more wild&lt;br /&gt;
 TRUNCATE TABLE oc_file_locks;&lt;br /&gt;
&lt;br /&gt;
As of 07082021, if &amp;quot;Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)&amp;quot; then :&lt;br /&gt;
  nano /etc/php/7.3/mods-available/apcu.ini&lt;br /&gt;
add this line :&lt;br /&gt;
  apc.enable_cli=1&lt;br /&gt;
restart apache2&lt;br /&gt;
  systemctl restart apache2&lt;br /&gt;
then this command shoud work&lt;br /&gt;
  root@essun:/var/www/html/nextcloud# sudo -u www-data php occ db:add-missing-indices&lt;br /&gt;
cf https://github.com/nextcloud/vm/issues/2039#issuecomment-876833425&lt;br /&gt;
&lt;br /&gt;
== Set https certificate on each subdomain.calafou.org with a certbot wildcard ==&lt;br /&gt;
One certificate for all the subdomains&lt;br /&gt;
* Certbot wildcard tab : https://certbot.eff.org/instructions?ws=apache&amp;amp;os=pip&amp;amp;tab=wildcard&lt;br /&gt;
** Install CErtbot following the instructions, remove all previous certbot &lt;br /&gt;
  whereis certbot&lt;br /&gt;
* Plug in Gandi for automatic renew https://github.com/obynio/certbot-plugin-gandi&lt;br /&gt;
* In 2026, we need to use [https://admin.gandi.net/organizations/d05aad4a-3b8a-11e8-a2b5-00163ee24379/account/pat Personal Access Tokens] (PATs) generated in gandi !!! it has to be renewed each year !!!&lt;br /&gt;
** Install Gandi plug-in following the instructions here https://github.com/obynio/certbot-plugin-gandi&lt;br /&gt;
** Generate a Personal Access Tokens (PATs) in [https://admin.gandi.net/organizations/d05aad4a-3b8a-11e8-a2b5-00163ee24379/account/pat gandi interface]&lt;br /&gt;
** Add this Personal Access Tokens (PATs) in /etc/letsencrypt/gandi/gandi.ini&lt;br /&gt;
&lt;br /&gt;
Activate mod ssl for Apache&lt;br /&gt;
 a2enmod ssl&lt;br /&gt;
 systemctl restart apache2&lt;br /&gt;
Create the virtual hosts :&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
        ServerName essun.calafou.org&lt;br /&gt;
        ServerAdmin webmaster@localhost&lt;br /&gt;
        DocumentRoot /var/www/essun.calafou&lt;br /&gt;
        ErrorLog ${APACHE_LOG_DIR}/essun-error.log&lt;br /&gt;
        CustomLog ${APACHE_LOG_DIR}/essun-access.log combined&lt;br /&gt;
       SSLEngine on&lt;br /&gt;
       SSLProxyEngine On&lt;br /&gt;
       SSLProxyVerify none&lt;br /&gt;
       SSLProxyCheckPeerCN off&lt;br /&gt;
       SSLProxyCheckPeerName off&lt;br /&gt;
       SSLProxyCheckPeerExpire off&lt;br /&gt;
 SSLCertificateFile /etc/letsencrypt/live/calafou.org/fullchain.pem&lt;br /&gt;
 SSLCertificateKeyFile /etc/letsencrypt/live/calafou.org/privkey.pem&lt;br /&gt;
 Include /etc/letsencrypt/options-ssl-apache.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/&amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Renew auto in /etc/crontab&lt;br /&gt;
 0 0,12 * * * root /opt/certbot/bin/python -c &#039;import random; import time; time.sleep(random.random() * 3600)&#039; &amp;amp;&amp;amp; sudo certbot renew -q &amp;amp;&amp;amp; systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
==LXC container por Libretime y umap ==&lt;br /&gt;
About [[Radio Calafou|Libretime]] et [[UMap|Umap]]&lt;br /&gt;
=== Installation of the containers ===&lt;br /&gt;
* https://wiki.debian.org/LXC&lt;br /&gt;
* https://archives.flockport.com/lxc-networking-guide/&lt;br /&gt;
&lt;br /&gt;
=== Use of lxcbr0 bridge to allow autostart ===&lt;br /&gt;
&lt;br /&gt;
Create a lxc-net default config file :&lt;br /&gt;
 sudo nano /etc/default/lxc-net&lt;br /&gt;
&lt;br /&gt;
 USE_LXC_BRIDGE=&amp;quot;true&amp;quot;&lt;br /&gt;
 LXC_BRIDGE=&amp;quot;lxcbr0&amp;quot;&lt;br /&gt;
 LXC_ADDR=&amp;quot;10.0.3.1&amp;quot;&lt;br /&gt;
 LXC_NETMASK=&amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
 LXC_NETWORK=&amp;quot;10.0.3.0/24&amp;quot;&lt;br /&gt;
 LXC_DHCP_RANGE=&amp;quot;10.0.3.2,10.0.3.254&amp;quot;&lt;br /&gt;
 LXC_DHCP_MAX=&amp;quot;253&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart lxc network&lt;br /&gt;
  systemctl restart lxc-net.service&lt;br /&gt;
&lt;br /&gt;
Adapt the config of each container&lt;br /&gt;
 nano /mnt/mirror/lxc/bibretime/config&lt;br /&gt;
&lt;br /&gt;
 # Network configuration&lt;br /&gt;
 lxc.net.0.type = veth&lt;br /&gt;
 lxc.net.0.hwaddr = 00:16:3e:cf:c1:dd&lt;br /&gt;
 lxc.net.0.link = lxcbr0&lt;br /&gt;
 lxc.net.0.flags = up&lt;br /&gt;
&lt;br /&gt;
 # Autostart&lt;br /&gt;
 lxc.start.delay = 10&lt;br /&gt;
 lxc.start.auto = 1&lt;br /&gt;
&lt;br /&gt;
=== Use the container ===&lt;br /&gt;
list containers&lt;br /&gt;
 lxc-ls -f&lt;br /&gt;
start&lt;br /&gt;
 lxc-start bibretime&lt;br /&gt;
stop&lt;br /&gt;
 lxc-stop bibretime&lt;br /&gt;
attach to a container to have a root prompt&lt;br /&gt;
 lxc-attach bibretime&lt;br /&gt;
* https://wiki.debian.org/LXC#Networking&lt;br /&gt;
&lt;br /&gt;
== Onduleur Salicru SPS ONE ==&lt;br /&gt;
* https://www.salicru.com/fr/onduleurs/sps-one.html&lt;br /&gt;
* Official Software : https://www.salicru.com/files/software/13/installviewpowerhtml_linux_text_x86_64.tar.gz&lt;br /&gt;
The software provided is ugly (tomcat java), so let&#039;s use NUT to replace it, see :&lt;br /&gt;
* https://www.jormc.es/2014/05/11/raspi-conectando-un-sai-salicru-sps-one-900va/comment-page-1/&lt;br /&gt;
* http://2tazasdelinux.blogspot.com/2015/11/moniitorizando-nuestro-sai-con-nut.html&lt;br /&gt;
* https://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/&lt;br /&gt;
&lt;br /&gt;
= Essun backup =&lt;br /&gt;
&lt;br /&gt;
Essun backup is being stored gpg-encrypted in nusse.&lt;br /&gt;
&lt;br /&gt;
The software used is https://github.com/sukria/Backup-Manager/&lt;br /&gt;
&lt;br /&gt;
We created the user `backup` both in essun and nusse to create/store the backups.&lt;br /&gt;
&lt;br /&gt;
The user backup in essun has a gpg keyring with a public key.&lt;br /&gt;
&lt;br /&gt;
The private key it is not in the servers and it&#039;s needed only to decrypt the backups.&lt;br /&gt;
&lt;br /&gt;
There&#039;s only 1 configuration file, `/etc/backup-manager.conf`.&lt;br /&gt;
&lt;br /&gt;
These are the changed lines:&lt;br /&gt;
&lt;br /&gt;
    export BM_REPOSITORY_ROOT=&amp;quot;/mnt/mirror/backup&amp;quot;&lt;br /&gt;
    export BM_REPOSITORY_USER=&amp;quot;backup&amp;quot;&lt;br /&gt;
    export BM_REPOSITORY_GROUP=&amp;quot;backup&amp;quot;&lt;br /&gt;
    export BM_ARCHIVE_METHOD=&amp;quot;tarball-incremental&amp;quot;&lt;br /&gt;
    export BM_ENCRYPTION_METHOD=&amp;quot;gpg&amp;quot;&lt;br /&gt;
    export BM_ENCRYPTION_RECIPIENT=&amp;quot;264128C3E9B4F451C0105757350C60B958D846EC&amp;quot;&lt;br /&gt;
    export BM_TARBALL_DIRECTORIES=&amp;quot;/mnt/mirror/calafou_actual&amp;quot;&lt;br /&gt;
    export BM_TARBALL_BLACKLIST=&amp;quot;/mnt/mirror/backup&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_METHOD=&amp;quot;ssh-gpg&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_HOSTS=&amp;quot;172.31.17.202&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_DESTINATION=&amp;quot;/mnt/backup1T/backup&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_SSH_USER=&amp;quot;backup&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_SSH_KEY=&amp;quot;/mnt/mirror/backup/.ssh/id_ed25519&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_SSH_HOSTS=&amp;quot;172.31.17.202&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_SSH_PORT=&amp;quot;22&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_SSH_DESTINATION=&amp;quot;/mnt/backup1T/backup&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_SSH_TTL=&amp;quot;23&amp;quot;&lt;br /&gt;
    export BM_UPLOAD_SSHGPG_RECIPIENT=&amp;quot;264128C3E9B4F451C0105757350C60B958D846EC&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It runs as often as configured in `/etc/cron.d/backup`&lt;br /&gt;
&lt;br /&gt;
Also a pre-script is run to mount /var/www on the piweb server as a directory /mnt/ynh via sshfs to backup also the var/www folder on this small machine. For this a backupmirror user was created on the pi/yunohost machine to allow sshfs from essun via an authorized_key indicated in /etc/fstab in Essun&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6046</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6046"/>
		<updated>2026-02-09T23:58:05Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
[https://meshmap.net/ The map of existing Meshtastic Node] :A nearly live map of Meshtastic nodes seen by the official Meshtastic MQTT server&lt;br /&gt;
&lt;br /&gt;
[https://meshtastic.org/docs/getting-started/ Getting started]&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* 1 X [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 - 73€ con el transporte: The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* 3 x [https://www.seeedstudio.com/XIAO-ESP32S3-for-Meshtastic-LoRa-with-3D-Printed-Enclosure-p-6314.html XIAO ESP32S3 &amp;amp; Wio-SX1262 Kit with 3D case] 16 € for Meshtastic &amp;amp; LoRa&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* 1 x [https://www.seeedstudio.com/Wio-Tracker-L1-Pro-p-6454.html Wio Tracker L1 Pro] 37 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* 1 x Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;br /&gt;
* Other provider https://muzi.works/collections/all&lt;br /&gt;
* [https://www.austinmesh.org/learn/kite-nodes-for-mesh-networking/ Kite nodes for mesh networking]&lt;br /&gt;
&lt;br /&gt;
[[File:Kite-line-marked-alt.webp]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6045</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6045"/>
		<updated>2026-02-09T23:57:38Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Meshstatic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
[https://meshmap.net/ The map of existing Meshtastic Node] :A nearly live map of Meshtastic nodes seen by the official Meshtastic MQTT server&lt;br /&gt;
&lt;br /&gt;
[https://meshtastic.org/docs/getting-started/ Getting started]&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* 1 X [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 - 73€ con el transporte: The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* 3 x [https://www.seeedstudio.com/XIAO-ESP32S3-for-Meshtastic-LoRa-with-3D-Printed-Enclosure-p-6314.html XIAO ESP32S3 &amp;amp; Wio-SX1262 Kit with 3D case] 16 € for Meshtastic &amp;amp; LoRa&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* 1 x [https://www.seeedstudio.com/Wio-Tracker-L1-Pro-p-6454.html Wio Tracker L1 Pro] 37 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* 1 x Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;br /&gt;
* Other provider https://muzi.works/collections/all&lt;br /&gt;
* [https://www.austinmesh.org/learn/kite-nodes-for-mesh-networking/ Kite nodes for mesh networking]&lt;br /&gt;
&lt;br /&gt;
[[File:Kite-line-marked-alt.webp]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Radio_Calafou&amp;diff=6044</id>
		<title>Radio Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Radio_Calafou&amp;diff=6044"/>
		<updated>2026-02-03T23:32:08Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Icecast2 with ssl support */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Radio Calafou ? =&lt;br /&gt;
A FM and stream radio based in Calafou that broadcast very locally on 107 Mhz and on http://essun.calafou.org:8000/radiocalafou.ogg (you can&#039;t listen to it from outside calafou, local network)&lt;br /&gt;
[[File:Radiocalafou anarchaserver.redim.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Global set-up =&lt;br /&gt;
[[File:radiocalaflowschema.png]]&lt;br /&gt;
The PiBox read the stream that comes from Libretime and play it to the transmitter&amp;lt;br /&amp;gt;&lt;br /&gt;
* To Libretime : http://radio.calafou.org user : calafou pwd : calafou o (admin / admin)&lt;br /&gt;
* To Icecast : http://radio.calafou.org:8000 user : source pwd : hackme&lt;br /&gt;
* To the PiBox : http://172.31.17.98 user : pibox pwd : pnodeaccesspass - ssh pi@h172.31.17.98 pwd : raspberry&lt;br /&gt;
* To listen audio stream : http://radio.calafou.org:8000/radiocalafou.ogg&lt;br /&gt;
&lt;br /&gt;
[[File:IMG_2919.redim.JPG|center]]&lt;br /&gt;
&lt;br /&gt;
= What can we do with it ? =&lt;br /&gt;
== Libretime ==&lt;br /&gt;
&#039;&#039;&#039;https://libretime.org/guides&#039;&#039;&#039;&lt;br /&gt;
Threw Media Builder&lt;br /&gt;
* Possible to add any type of audio file, the library already include all the files that are stored in ftp://omnius.calafou/MEDIATECA/0_audio/music/ and create a playlist&lt;br /&gt;
* Possible to create a smart playlist that randomly include files from the library in function of criterias (genre, album name, langage, BPM, last played, year, ...)&lt;br /&gt;
* Possible to create a webstream program from any type of stream (.mp3, .ogg, .opus, ...)&lt;br /&gt;
Threw Calendar&lt;br /&gt;
* Possible to create a show that can be repeated in different manner and can be filled with playlist, smart playlist or webstream&lt;br /&gt;
* Possible to set up a live show where someone can broadcast from her home sending a stream to a specific mountpoint&lt;br /&gt;
Threw Master Source&lt;br /&gt;
* Possible to take the control of the direct broadcast with a specific mountpoint&lt;br /&gt;
== Icecast ==&lt;br /&gt;
* Possible to stream audio and video in .ogg, .ogv, .mp3 and .opus with software like [http://en.flossmanuals.net/VLC/StreamingIcecast/ VLC], [http://www.darkice.org/ DARKICE], [http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/live-shows-with-mixxx/ MIXXX], [https://sourceforge.net/projects/butt/ BUTT] or any other software listed here : http://www.icecast.org/apps/&lt;br /&gt;
== PiBox ==&lt;br /&gt;
* Possible to play sounds located in the Pi, to play a stream, to play the live input of the sound card&lt;br /&gt;
* Possible to listen to a sonification on the output of the integrated soundcard&lt;br /&gt;
* Possible to shout in the radio threw a microphone plugged into the input of the external soundcar&lt;br /&gt;
[[File:IMG_2916.redim.JPG|center]]&lt;br /&gt;
[[File:PiBoxAnarcha.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= How To use Radio Calafou =&lt;br /&gt;
* &#039;&#039;&#039;Manual LibreTime&#039;&#039;&#039; https://ikerlandajuela.github.io/radiolibre/man/libretime/&lt;br /&gt;
* Docs en ingles https://libretime.org/docs/scheduling-shows&lt;br /&gt;
&lt;br /&gt;
[[File:LibretimeRadioCalafou.png|1280px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== SmartPhone journalism ===&lt;br /&gt;
It is possible to use Airtime with a smartphone, see http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/smartphone-journalism/&lt;br /&gt;
&lt;br /&gt;
== SmartPhone streaming applications ==&lt;br /&gt;
* Broadcast Myself https://play.google.com/store/apps/details?id=sa.broadcastmyselfpro is an android app to stream live. No more availabe as a free version ::: &#039;&#039;&#039;download the free version here&#039;&#039;&#039; [https://wiki.calafou.org/images/7/74/BroadcastMySelf_v0.9.12_apkpure.zip BroadcastMySelf_v0.9.12_apkpure.zip] &lt;br /&gt;
* Xiph list several  apps pour Android et iOS (dont BroadcastMySelf) https://icecast.org/apps/&lt;br /&gt;
* NovaStream https://novastreamapps.blogspot.com/ Android&lt;br /&gt;
* Coolmic https://coolmic.net/ Android avaialble on F-Droid&lt;br /&gt;
* Backpackstudio https://backpackstudioapp.com/ iOS&lt;br /&gt;
* iziCast https://danielnoethen.de/iziCast/ iOS &lt;br /&gt;
* Giss_Vorbis http://giss.tv/wiki/index.php/Android_Ogg_Streamer_:_Giss_Vorbis&lt;br /&gt;
&lt;br /&gt;
=== Taking the control live with a smartphone ===&lt;br /&gt;
As mentionned, it is possible to take the control of the radio with a specific mountpoint (the master source mountpoint), it is also possible with an (android) smartphone with the application &amp;quot;Broadcast Myself&amp;quot; (see before) that allow one to stream the mic of the smartphone or files&lt;br /&gt;
&lt;br /&gt;
The settings &amp;gt; Output settings :&lt;br /&gt;
* Hostname : radio.calafou.org&lt;br /&gt;
* Port : 8001&lt;br /&gt;
* Path : /master&lt;br /&gt;
* Username : master&lt;br /&gt;
* Password : master&lt;br /&gt;
* MP3 Encoder Bitrate (as you wish) : 96 Kbit/s&lt;br /&gt;
&lt;br /&gt;
[[File:screen-0=x355.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
=== Re-stream the output of airtime on another server ===&lt;br /&gt;
In theory, you can set up several output to an icecast server with Airtime Settings, in practive, it doesn&#039;t alway work, so you can also do :&lt;br /&gt;
 avconv -i http://radio.calafou:8000/airtime_128.ogg -f ogg -|oggfwd -p -d &amp;quot;Hack The Earth&amp;quot; -g &amp;quot;Ecochonies&amp;quot; -u &amp;quot;https://calafoorg/ca/content/hack-earth-2017&amp;quot; labomedia.org 8000 ****** /hacktheearth.ogg&lt;br /&gt;
&lt;br /&gt;
= Hardware installation =&lt;br /&gt;
* Omnius server is in the hacklab&lt;br /&gt;
* Pibox and the transmiter is in anarchaserver&lt;br /&gt;
* The antenna is on the roof of anarchaserver&lt;br /&gt;
[[File:harware-install-anarcha.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Software installation =&lt;br /&gt;
== Icecast2 with ssl support ==&lt;br /&gt;
test if your version of icecast has ssl support&lt;br /&gt;
  ldd /usr/bin/icecast2 | grep ssl&lt;br /&gt;
si&lt;br /&gt;
  libssl.so.3 =&amp;gt; /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f10a2cc9000)&lt;br /&gt;
so ok&lt;br /&gt;
&lt;br /&gt;
Install last version of icecast from Xiph repo&lt;br /&gt;
  nano /etc/apt/sources.list.d/icecast.list&lt;br /&gt;
add&lt;br /&gt;
  deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_12/ ./&lt;br /&gt;
get the key&lt;br /&gt;
  wget -qO - https://build.opensuse.org/projects/multimedia:xiph/signing_keys/download?kind=gpg | sudo apt-key add -&lt;br /&gt;
  apt update&lt;br /&gt;
  sudo apt-get install -t Debian_12 icecast2&lt;br /&gt;
Add a script to create a bundle certificate while certbot renew it&lt;br /&gt;
  nano /etc/letsencrypt/renewal/calafou.org-0002.conf&lt;br /&gt;
add&lt;br /&gt;
  post_hook = cat /etc/letsencrypt/live/calafou.org-0002/fullchain.pem /etc/letsencrypt/live/calafou.org-0002/privkey.pem &amp;gt; /etc/icecast2/bundle.pem &amp;amp;&amp;amp; systemctl restart icecast2&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;And don&#039;t forget to change to put ENABLE=true&#039;&#039;&#039; :&lt;br /&gt;
  nano /etc/default/icecast2&lt;br /&gt;
  # Edit /etc/icecast2/icecast.xml and change at least the passwords.&lt;br /&gt;
  # Change this to true when done to enable the init.d script&lt;br /&gt;
  ENABLE=true&lt;br /&gt;
&lt;br /&gt;
see https://tech-docs.thisispurefm.com/docs/tech-team/transmission/installing-icecast.html&lt;br /&gt;
&lt;br /&gt;
== Liquidsoap ==&lt;br /&gt;
=== Install liquidsoap via opam ===&lt;br /&gt;
  opam update&lt;br /&gt;
  opam upgrade&lt;br /&gt;
  eval $(opam env)&lt;br /&gt;
  opam info liquidsoap&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install libpcre3=2:8.39-15&lt;br /&gt;
  sudo apt-get install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-gnutls-dev libogg-dev libopus-dev libpcre3-dev libswresample-dev libswscale-dev&lt;br /&gt;
&lt;br /&gt;
  opam install ffmpeg taglib mad lame vorbis opus cry samplerate liquidsoap&lt;br /&gt;
&lt;br /&gt;
See https://opam.ocaml.org/doc/Install.html and https://www.liquidsoap.info/doc-2.4.2/build.html&lt;br /&gt;
&lt;br /&gt;
=== Script to stream a random audio file from Mediateca ===&lt;br /&gt;
  #!/usr/bin/liquidsoap&lt;br /&gt;
  &lt;br /&gt;
  mount       = &amp;quot;mediateca.mp3&amp;quot;&lt;br /&gt;
  genre       = &amp;quot;random&amp;quot;&lt;br /&gt;
  description = &amp;quot;toda la musica de la mediateca en random.&amp;quot;&lt;br /&gt;
  name        = &amp;quot;Mediateca Random&amp;quot;&lt;br /&gt;
  #protocol    = &amp;quot;http&amp;quot;&lt;br /&gt;
  port        = 8000&lt;br /&gt;
  password    = &amp;quot;*****&amp;quot;&lt;br /&gt;
  host        = &amp;quot;localhost&amp;quot;&lt;br /&gt;
  url         = &amp;quot;https://radio.calafou.org/&amp;quot;&lt;br /&gt;
  #encoding    = &amp;quot;UTF-8&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  dir = &amp;quot;/mnt/3t/ftp/MEDIATECA/musica/&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  set(&amp;quot;log.file.path&amp;quot;, &amp;quot;/home/b01/liquidsoap-daemon/scripts/randommediateca.log&amp;quot;)&lt;br /&gt;
  &lt;br /&gt;
  dir = nrj(playlist(mode=&#039;randomize&#039;,reload=10,reload_mode=&amp;quot;rounds&amp;quot;,dir))&lt;br /&gt;
  &lt;br /&gt;
  # A function applied to each metadata chunk&lt;br /&gt;
  def append_title(m) =&lt;br /&gt;
  title = m[&amp;quot;title&amp;quot;]&lt;br /&gt;
  album = m[&amp;quot;album&amp;quot;]&lt;br /&gt;
  date  = m[&amp;quot;date&amp;quot;] &lt;br /&gt;
  [(&amp;quot;title&amp;quot;,&amp;quot;#{title} : #{album} (#{date})&amp;quot;)]&lt;br /&gt;
  end&lt;br /&gt;
  dir = map_metadata(append_title, dir)&lt;br /&gt;
  radio = mksafe(dir)&lt;br /&gt;
  #radio = crossfade(radio)&lt;br /&gt;
  &lt;br /&gt;
  # Output the full stream in MP3&lt;br /&gt;
  output.icecast(%mp3(bitrate=256), &lt;br /&gt;
  host=host,&lt;br /&gt;
  port=port,&lt;br /&gt;
  password=password,&lt;br /&gt;
  mount=mount,&lt;br /&gt;
  radio,&lt;br /&gt;
  url=url,&lt;br /&gt;
  name=name,&lt;br /&gt;
  description=description,&lt;br /&gt;
  genre=genre)&lt;br /&gt;
&lt;br /&gt;
=== Daemonize the script ===&lt;br /&gt;
  git clone https://github.com/savonet/liquidsoap-daemon&lt;br /&gt;
Put the script in a scripts folder&lt;br /&gt;
  cd liquidsoap-daemon/&lt;br /&gt;
  ./daemonize-liquidsoap.sh ~/liquidsoap-daemon/scripts/randomplaylistmediateca.liq&lt;br /&gt;
&lt;br /&gt;
== Libretime via Docker==&lt;br /&gt;
* Install using docker https://libretime.org/docs/admin-manual/install/install-using-docker/&lt;br /&gt;
* Config reverse proxy https://libretime.org/docs/admin-manual/install/reverse-proxy/&lt;br /&gt;
* Config Libretime https://libretime.org/docs/admin-manual/configuration/&lt;br /&gt;
* Config the docker &lt;br /&gt;
  nano docker-compose.yml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PiBox ==&lt;br /&gt;
See documentation here : http://p-node.org/doc/index.php/V-2&lt;br /&gt;
* To the PiBox : http://172.31.17.214/ user : pibox pwd : pnodeaccesspass&lt;br /&gt;
&lt;br /&gt;
For the moment (see troubleshouting), 2 script are launched by /etc/rc.local :&lt;br /&gt;
 /home/pi/omnioussonification.sh 2&amp;gt; /home/pi/streamlog.txt &amp;gt;/dev/null &amp;amp;&lt;br /&gt;
 /home/pi/airtimeplayer.sh 2&amp;gt; /home/pi/streamlog.txt &amp;gt;/dev/null &amp;amp;&lt;br /&gt;
omnioussonification.sh :&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 while true;do&lt;br /&gt;
  AUDIODEV=hw:0,0 play -t ogg http://radio.calafou:8000/omniussonification.ogg&lt;br /&gt;
  sleep 3&lt;br /&gt;
 done&lt;br /&gt;
airtimeplayer.sh&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 while true;do&lt;br /&gt;
  AUDIODEV=hw:1,0 play -t ogg http://radio.calafou:8000/airtime_128.ogg&lt;br /&gt;
  sleep 3&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
[[File:piboxv2calafou.png|center]]&lt;br /&gt;
&lt;br /&gt;
= Troubleshouting =&lt;br /&gt;
== Libretime ==&lt;br /&gt;
=== Libretime doesn&#039;t seems to play sound, show the media builder or eat new sounds ===&lt;br /&gt;
The 3 magic command to restart everything (you have to be logged in omnius :&lt;br /&gt;
 sudo service airtime-media-monitor restart&lt;br /&gt;
 sudo service airtime-liquidsoap stop&lt;br /&gt;
 sudo service airtime-liquidsoap start&lt;br /&gt;
 /!\ it appears that &#039;restart&#039; doesn&#039;t work, liquidsoap doesn&#039;t take the modifications made in System &amp;gt; Streams&lt;br /&gt;
 sudo service airtime-playout restart&lt;br /&gt;
also, see the logs in /var/log/airtime/&lt;br /&gt;
&lt;br /&gt;
=== Libretime doesn&#039;t take into account the modifications made in System &amp;gt; Streams ===&lt;br /&gt;
Relaunching liquidsoap seems necessary : &lt;br /&gt;
 sudo service airtime-liquidsoap stop&lt;br /&gt;
 sudo service airtime-liquidsoap start&lt;br /&gt;
&lt;br /&gt;
=== Test a stream configuration ===&lt;br /&gt;
 liquidsoap &#039;output.icecast(%vorbis, host = &amp;quot;radio.calafou&amp;quot;, port = 8000, user = &amp;quot;source&amp;quot; password = &amp;quot;hackme&amp;quot;, mount = &amp;quot;liq.ogg&amp;quot;, sine())&#039;&lt;br /&gt;
&lt;br /&gt;
=== Airtime doesn&#039;t alway wait for the end of the track ===&lt;br /&gt;
Don&#039;t know why ...&lt;br /&gt;
&lt;br /&gt;
=== The master mount point 8001 can&#039;t be reached when Libretime is inside a LXC container ===&lt;br /&gt;
add these iptables rules (the container ip is 192.168.122.11):&lt;br /&gt;
 iptables -I FORWARD -p tcp -d 192.168.122.11 --dport 8001 -j ACCEPT&lt;br /&gt;
 iptables -A INPUT -p tcp --dport 8001 -j ACCEPT&lt;br /&gt;
 iptables -t nat -A PREROUTING -p tcp --dport 8001 -j DNAT --to-destination 192.168.122.11:8001&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Antenna ==&lt;br /&gt;
The tube on which I was planning to fix the antenna is about to fall !&lt;br /&gt;
&lt;br /&gt;
So I used instead a solid metal piece fixed to the wall, but the antenna is only fixed in one point with plastic bracelets (colson) and 2 wires fixed to 2 solid metal points&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure it is really good on a long time perspective ...&lt;br /&gt;
&lt;br /&gt;
= Audio sources - web radios =&lt;br /&gt;
* Coordinadora de Ràdios Lliures de Catalunya http://www.radioslliures.info/&lt;br /&gt;
* http://www.contrabanda.org/&lt;br /&gt;
* http://radiobalamanresa.wordpress.com/&lt;br /&gt;
* http://www.radiobronka.info/&lt;br /&gt;
* http://www.radiolinea4.net/&lt;br /&gt;
* http://radiopica.cat/&lt;br /&gt;
* http://www.radiorsk.info/&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Radio_Calafou&amp;diff=6043</id>
		<title>Radio Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Radio_Calafou&amp;diff=6043"/>
		<updated>2026-02-03T23:30:17Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Install liquidsoap via opam */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Radio Calafou ? =&lt;br /&gt;
A FM and stream radio based in Calafou that broadcast very locally on 107 Mhz and on http://essun.calafou.org:8000/radiocalafou.ogg (you can&#039;t listen to it from outside calafou, local network)&lt;br /&gt;
[[File:Radiocalafou anarchaserver.redim.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Global set-up =&lt;br /&gt;
[[File:radiocalaflowschema.png]]&lt;br /&gt;
The PiBox read the stream that comes from Libretime and play it to the transmitter&amp;lt;br /&amp;gt;&lt;br /&gt;
* To Libretime : http://radio.calafou.org user : calafou pwd : calafou o (admin / admin)&lt;br /&gt;
* To Icecast : http://radio.calafou.org:8000 user : source pwd : hackme&lt;br /&gt;
* To the PiBox : http://172.31.17.98 user : pibox pwd : pnodeaccesspass - ssh pi@h172.31.17.98 pwd : raspberry&lt;br /&gt;
* To listen audio stream : http://radio.calafou.org:8000/radiocalafou.ogg&lt;br /&gt;
&lt;br /&gt;
[[File:IMG_2919.redim.JPG|center]]&lt;br /&gt;
&lt;br /&gt;
= What can we do with it ? =&lt;br /&gt;
== Libretime ==&lt;br /&gt;
&#039;&#039;&#039;https://libretime.org/guides&#039;&#039;&#039;&lt;br /&gt;
Threw Media Builder&lt;br /&gt;
* Possible to add any type of audio file, the library already include all the files that are stored in ftp://omnius.calafou/MEDIATECA/0_audio/music/ and create a playlist&lt;br /&gt;
* Possible to create a smart playlist that randomly include files from the library in function of criterias (genre, album name, langage, BPM, last played, year, ...)&lt;br /&gt;
* Possible to create a webstream program from any type of stream (.mp3, .ogg, .opus, ...)&lt;br /&gt;
Threw Calendar&lt;br /&gt;
* Possible to create a show that can be repeated in different manner and can be filled with playlist, smart playlist or webstream&lt;br /&gt;
* Possible to set up a live show where someone can broadcast from her home sending a stream to a specific mountpoint&lt;br /&gt;
Threw Master Source&lt;br /&gt;
* Possible to take the control of the direct broadcast with a specific mountpoint&lt;br /&gt;
== Icecast ==&lt;br /&gt;
* Possible to stream audio and video in .ogg, .ogv, .mp3 and .opus with software like [http://en.flossmanuals.net/VLC/StreamingIcecast/ VLC], [http://www.darkice.org/ DARKICE], [http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/live-shows-with-mixxx/ MIXXX], [https://sourceforge.net/projects/butt/ BUTT] or any other software listed here : http://www.icecast.org/apps/&lt;br /&gt;
== PiBox ==&lt;br /&gt;
* Possible to play sounds located in the Pi, to play a stream, to play the live input of the sound card&lt;br /&gt;
* Possible to listen to a sonification on the output of the integrated soundcard&lt;br /&gt;
* Possible to shout in the radio threw a microphone plugged into the input of the external soundcar&lt;br /&gt;
[[File:IMG_2916.redim.JPG|center]]&lt;br /&gt;
[[File:PiBoxAnarcha.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= How To use Radio Calafou =&lt;br /&gt;
* &#039;&#039;&#039;Manual LibreTime&#039;&#039;&#039; https://ikerlandajuela.github.io/radiolibre/man/libretime/&lt;br /&gt;
* Docs en ingles https://libretime.org/docs/scheduling-shows&lt;br /&gt;
&lt;br /&gt;
[[File:LibretimeRadioCalafou.png|1280px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== SmartPhone journalism ===&lt;br /&gt;
It is possible to use Airtime with a smartphone, see http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/smartphone-journalism/&lt;br /&gt;
&lt;br /&gt;
== SmartPhone streaming applications ==&lt;br /&gt;
* Broadcast Myself https://play.google.com/store/apps/details?id=sa.broadcastmyselfpro is an android app to stream live. No more availabe as a free version ::: &#039;&#039;&#039;download the free version here&#039;&#039;&#039; [https://wiki.calafou.org/images/7/74/BroadcastMySelf_v0.9.12_apkpure.zip BroadcastMySelf_v0.9.12_apkpure.zip] &lt;br /&gt;
* Xiph list several  apps pour Android et iOS (dont BroadcastMySelf) https://icecast.org/apps/&lt;br /&gt;
* NovaStream https://novastreamapps.blogspot.com/ Android&lt;br /&gt;
* Coolmic https://coolmic.net/ Android avaialble on F-Droid&lt;br /&gt;
* Backpackstudio https://backpackstudioapp.com/ iOS&lt;br /&gt;
* iziCast https://danielnoethen.de/iziCast/ iOS &lt;br /&gt;
* Giss_Vorbis http://giss.tv/wiki/index.php/Android_Ogg_Streamer_:_Giss_Vorbis&lt;br /&gt;
&lt;br /&gt;
=== Taking the control live with a smartphone ===&lt;br /&gt;
As mentionned, it is possible to take the control of the radio with a specific mountpoint (the master source mountpoint), it is also possible with an (android) smartphone with the application &amp;quot;Broadcast Myself&amp;quot; (see before) that allow one to stream the mic of the smartphone or files&lt;br /&gt;
&lt;br /&gt;
The settings &amp;gt; Output settings :&lt;br /&gt;
* Hostname : radio.calafou.org&lt;br /&gt;
* Port : 8001&lt;br /&gt;
* Path : /master&lt;br /&gt;
* Username : master&lt;br /&gt;
* Password : master&lt;br /&gt;
* MP3 Encoder Bitrate (as you wish) : 96 Kbit/s&lt;br /&gt;
&lt;br /&gt;
[[File:screen-0=x355.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
=== Re-stream the output of airtime on another server ===&lt;br /&gt;
In theory, you can set up several output to an icecast server with Airtime Settings, in practive, it doesn&#039;t alway work, so you can also do :&lt;br /&gt;
 avconv -i http://radio.calafou:8000/airtime_128.ogg -f ogg -|oggfwd -p -d &amp;quot;Hack The Earth&amp;quot; -g &amp;quot;Ecochonies&amp;quot; -u &amp;quot;https://calafoorg/ca/content/hack-earth-2017&amp;quot; labomedia.org 8000 ****** /hacktheearth.ogg&lt;br /&gt;
&lt;br /&gt;
= Hardware installation =&lt;br /&gt;
* Omnius server is in the hacklab&lt;br /&gt;
* Pibox and the transmiter is in anarchaserver&lt;br /&gt;
* The antenna is on the roof of anarchaserver&lt;br /&gt;
[[File:harware-install-anarcha.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Software installation =&lt;br /&gt;
== Icecast2 with ssl support ==&lt;br /&gt;
test if your version of icecast has ssl support&lt;br /&gt;
  ldd /usr/bin/icecast2 | grep ssl&lt;br /&gt;
si&lt;br /&gt;
  libssl.so.3 =&amp;gt; /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f10a2cc9000)&lt;br /&gt;
so ok&lt;br /&gt;
&lt;br /&gt;
Install last version of icecast from Xiph repo&lt;br /&gt;
  nano /etc/apt/sources.list.d/icecast.list&lt;br /&gt;
add&lt;br /&gt;
  deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_12/ ./&lt;br /&gt;
get the key&lt;br /&gt;
  wget -qO - https://build.opensuse.org/projects/multimedia:xiph/signing_keys/download?kind=gpg | sudo apt-key add -&lt;br /&gt;
  apt update&lt;br /&gt;
  sudo apt-get install -t Debian_12 icecast2&lt;br /&gt;
Add a script to create a bundle certificate while certbot renew it&lt;br /&gt;
  nano /etc/letsencrypt/renewal/calafou.org-0002.conf&lt;br /&gt;
add&lt;br /&gt;
  post_hook = cat /etc/letsencrypt/live/calafou.org-0002/fullchain.pem /etc/letsencrypt/live/calafou.org-0002/privkey.pem &amp;gt; /etc/icecast2/bundle.pem &amp;amp;&amp;amp; systemctl restart icecast2&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;And don&#039;t forget to change to put ENABLE=true&#039;&#039;&#039; :&lt;br /&gt;
  nano /etc/default/icecast2&lt;br /&gt;
  # Edit /etc/icecast2/icecast.xml and change at least the passwords.&lt;br /&gt;
  # Change this to true when done to enable the init.d script&lt;br /&gt;
  ENABLE=true&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liquidsoap ==&lt;br /&gt;
=== Install liquidsoap via opam ===&lt;br /&gt;
  opam update&lt;br /&gt;
  opam upgrade&lt;br /&gt;
  eval $(opam env)&lt;br /&gt;
  opam info liquidsoap&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install libpcre3=2:8.39-15&lt;br /&gt;
  sudo apt-get install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-gnutls-dev libogg-dev libopus-dev libpcre3-dev libswresample-dev libswscale-dev&lt;br /&gt;
&lt;br /&gt;
  opam install ffmpeg taglib mad lame vorbis opus cry samplerate liquidsoap&lt;br /&gt;
&lt;br /&gt;
See https://opam.ocaml.org/doc/Install.html and https://www.liquidsoap.info/doc-2.4.2/build.html&lt;br /&gt;
&lt;br /&gt;
=== Script to stream a random audio file from Mediateca ===&lt;br /&gt;
  #!/usr/bin/liquidsoap&lt;br /&gt;
  &lt;br /&gt;
  mount       = &amp;quot;mediateca.mp3&amp;quot;&lt;br /&gt;
  genre       = &amp;quot;random&amp;quot;&lt;br /&gt;
  description = &amp;quot;toda la musica de la mediateca en random.&amp;quot;&lt;br /&gt;
  name        = &amp;quot;Mediateca Random&amp;quot;&lt;br /&gt;
  #protocol    = &amp;quot;http&amp;quot;&lt;br /&gt;
  port        = 8000&lt;br /&gt;
  password    = &amp;quot;*****&amp;quot;&lt;br /&gt;
  host        = &amp;quot;localhost&amp;quot;&lt;br /&gt;
  url         = &amp;quot;https://radio.calafou.org/&amp;quot;&lt;br /&gt;
  #encoding    = &amp;quot;UTF-8&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  dir = &amp;quot;/mnt/3t/ftp/MEDIATECA/musica/&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  set(&amp;quot;log.file.path&amp;quot;, &amp;quot;/home/b01/liquidsoap-daemon/scripts/randommediateca.log&amp;quot;)&lt;br /&gt;
  &lt;br /&gt;
  dir = nrj(playlist(mode=&#039;randomize&#039;,reload=10,reload_mode=&amp;quot;rounds&amp;quot;,dir))&lt;br /&gt;
  &lt;br /&gt;
  # A function applied to each metadata chunk&lt;br /&gt;
  def append_title(m) =&lt;br /&gt;
  title = m[&amp;quot;title&amp;quot;]&lt;br /&gt;
  album = m[&amp;quot;album&amp;quot;]&lt;br /&gt;
  date  = m[&amp;quot;date&amp;quot;] &lt;br /&gt;
  [(&amp;quot;title&amp;quot;,&amp;quot;#{title} : #{album} (#{date})&amp;quot;)]&lt;br /&gt;
  end&lt;br /&gt;
  dir = map_metadata(append_title, dir)&lt;br /&gt;
  radio = mksafe(dir)&lt;br /&gt;
  #radio = crossfade(radio)&lt;br /&gt;
  &lt;br /&gt;
  # Output the full stream in MP3&lt;br /&gt;
  output.icecast(%mp3(bitrate=256), &lt;br /&gt;
  host=host,&lt;br /&gt;
  port=port,&lt;br /&gt;
  password=password,&lt;br /&gt;
  mount=mount,&lt;br /&gt;
  radio,&lt;br /&gt;
  url=url,&lt;br /&gt;
  name=name,&lt;br /&gt;
  description=description,&lt;br /&gt;
  genre=genre)&lt;br /&gt;
&lt;br /&gt;
=== Daemonize the script ===&lt;br /&gt;
  git clone https://github.com/savonet/liquidsoap-daemon&lt;br /&gt;
Put the script in a scripts folder&lt;br /&gt;
  cd liquidsoap-daemon/&lt;br /&gt;
  ./daemonize-liquidsoap.sh ~/liquidsoap-daemon/scripts/randomplaylistmediateca.liq&lt;br /&gt;
&lt;br /&gt;
== Libretime via Docker==&lt;br /&gt;
* Install using docker https://libretime.org/docs/admin-manual/install/install-using-docker/&lt;br /&gt;
* Config reverse proxy https://libretime.org/docs/admin-manual/install/reverse-proxy/&lt;br /&gt;
* Config Libretime https://libretime.org/docs/admin-manual/configuration/&lt;br /&gt;
* Config the docker &lt;br /&gt;
  nano docker-compose.yml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PiBox ==&lt;br /&gt;
See documentation here : http://p-node.org/doc/index.php/V-2&lt;br /&gt;
* To the PiBox : http://172.31.17.214/ user : pibox pwd : pnodeaccesspass&lt;br /&gt;
&lt;br /&gt;
For the moment (see troubleshouting), 2 script are launched by /etc/rc.local :&lt;br /&gt;
 /home/pi/omnioussonification.sh 2&amp;gt; /home/pi/streamlog.txt &amp;gt;/dev/null &amp;amp;&lt;br /&gt;
 /home/pi/airtimeplayer.sh 2&amp;gt; /home/pi/streamlog.txt &amp;gt;/dev/null &amp;amp;&lt;br /&gt;
omnioussonification.sh :&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 while true;do&lt;br /&gt;
  AUDIODEV=hw:0,0 play -t ogg http://radio.calafou:8000/omniussonification.ogg&lt;br /&gt;
  sleep 3&lt;br /&gt;
 done&lt;br /&gt;
airtimeplayer.sh&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 while true;do&lt;br /&gt;
  AUDIODEV=hw:1,0 play -t ogg http://radio.calafou:8000/airtime_128.ogg&lt;br /&gt;
  sleep 3&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
[[File:piboxv2calafou.png|center]]&lt;br /&gt;
&lt;br /&gt;
= Troubleshouting =&lt;br /&gt;
== Libretime ==&lt;br /&gt;
=== Libretime doesn&#039;t seems to play sound, show the media builder or eat new sounds ===&lt;br /&gt;
The 3 magic command to restart everything (you have to be logged in omnius :&lt;br /&gt;
 sudo service airtime-media-monitor restart&lt;br /&gt;
 sudo service airtime-liquidsoap stop&lt;br /&gt;
 sudo service airtime-liquidsoap start&lt;br /&gt;
 /!\ it appears that &#039;restart&#039; doesn&#039;t work, liquidsoap doesn&#039;t take the modifications made in System &amp;gt; Streams&lt;br /&gt;
 sudo service airtime-playout restart&lt;br /&gt;
also, see the logs in /var/log/airtime/&lt;br /&gt;
&lt;br /&gt;
=== Libretime doesn&#039;t take into account the modifications made in System &amp;gt; Streams ===&lt;br /&gt;
Relaunching liquidsoap seems necessary : &lt;br /&gt;
 sudo service airtime-liquidsoap stop&lt;br /&gt;
 sudo service airtime-liquidsoap start&lt;br /&gt;
&lt;br /&gt;
=== Test a stream configuration ===&lt;br /&gt;
 liquidsoap &#039;output.icecast(%vorbis, host = &amp;quot;radio.calafou&amp;quot;, port = 8000, user = &amp;quot;source&amp;quot; password = &amp;quot;hackme&amp;quot;, mount = &amp;quot;liq.ogg&amp;quot;, sine())&#039;&lt;br /&gt;
&lt;br /&gt;
=== Airtime doesn&#039;t alway wait for the end of the track ===&lt;br /&gt;
Don&#039;t know why ...&lt;br /&gt;
&lt;br /&gt;
=== The master mount point 8001 can&#039;t be reached when Libretime is inside a LXC container ===&lt;br /&gt;
add these iptables rules (the container ip is 192.168.122.11):&lt;br /&gt;
 iptables -I FORWARD -p tcp -d 192.168.122.11 --dport 8001 -j ACCEPT&lt;br /&gt;
 iptables -A INPUT -p tcp --dport 8001 -j ACCEPT&lt;br /&gt;
 iptables -t nat -A PREROUTING -p tcp --dport 8001 -j DNAT --to-destination 192.168.122.11:8001&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Antenna ==&lt;br /&gt;
The tube on which I was planning to fix the antenna is about to fall !&lt;br /&gt;
&lt;br /&gt;
So I used instead a solid metal piece fixed to the wall, but the antenna is only fixed in one point with plastic bracelets (colson) and 2 wires fixed to 2 solid metal points&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure it is really good on a long time perspective ...&lt;br /&gt;
&lt;br /&gt;
= Audio sources - web radios =&lt;br /&gt;
* Coordinadora de Ràdios Lliures de Catalunya http://www.radioslliures.info/&lt;br /&gt;
* http://www.contrabanda.org/&lt;br /&gt;
* http://radiobalamanresa.wordpress.com/&lt;br /&gt;
* http://www.radiobronka.info/&lt;br /&gt;
* http://www.radiolinea4.net/&lt;br /&gt;
* http://radiopica.cat/&lt;br /&gt;
* http://www.radiorsk.info/&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Radio_Calafou&amp;diff=6042</id>
		<title>Radio Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Radio_Calafou&amp;diff=6042"/>
		<updated>2026-02-03T23:27:49Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Software installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Radio Calafou ? =&lt;br /&gt;
A FM and stream radio based in Calafou that broadcast very locally on 107 Mhz and on http://essun.calafou.org:8000/radiocalafou.ogg (you can&#039;t listen to it from outside calafou, local network)&lt;br /&gt;
[[File:Radiocalafou anarchaserver.redim.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Global set-up =&lt;br /&gt;
[[File:radiocalaflowschema.png]]&lt;br /&gt;
The PiBox read the stream that comes from Libretime and play it to the transmitter&amp;lt;br /&amp;gt;&lt;br /&gt;
* To Libretime : http://radio.calafou.org user : calafou pwd : calafou o (admin / admin)&lt;br /&gt;
* To Icecast : http://radio.calafou.org:8000 user : source pwd : hackme&lt;br /&gt;
* To the PiBox : http://172.31.17.98 user : pibox pwd : pnodeaccesspass - ssh pi@h172.31.17.98 pwd : raspberry&lt;br /&gt;
* To listen audio stream : http://radio.calafou.org:8000/radiocalafou.ogg&lt;br /&gt;
&lt;br /&gt;
[[File:IMG_2919.redim.JPG|center]]&lt;br /&gt;
&lt;br /&gt;
= What can we do with it ? =&lt;br /&gt;
== Libretime ==&lt;br /&gt;
&#039;&#039;&#039;https://libretime.org/guides&#039;&#039;&#039;&lt;br /&gt;
Threw Media Builder&lt;br /&gt;
* Possible to add any type of audio file, the library already include all the files that are stored in ftp://omnius.calafou/MEDIATECA/0_audio/music/ and create a playlist&lt;br /&gt;
* Possible to create a smart playlist that randomly include files from the library in function of criterias (genre, album name, langage, BPM, last played, year, ...)&lt;br /&gt;
* Possible to create a webstream program from any type of stream (.mp3, .ogg, .opus, ...)&lt;br /&gt;
Threw Calendar&lt;br /&gt;
* Possible to create a show that can be repeated in different manner and can be filled with playlist, smart playlist or webstream&lt;br /&gt;
* Possible to set up a live show where someone can broadcast from her home sending a stream to a specific mountpoint&lt;br /&gt;
Threw Master Source&lt;br /&gt;
* Possible to take the control of the direct broadcast with a specific mountpoint&lt;br /&gt;
== Icecast ==&lt;br /&gt;
* Possible to stream audio and video in .ogg, .ogv, .mp3 and .opus with software like [http://en.flossmanuals.net/VLC/StreamingIcecast/ VLC], [http://www.darkice.org/ DARKICE], [http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/live-shows-with-mixxx/ MIXXX], [https://sourceforge.net/projects/butt/ BUTT] or any other software listed here : http://www.icecast.org/apps/&lt;br /&gt;
== PiBox ==&lt;br /&gt;
* Possible to play sounds located in the Pi, to play a stream, to play the live input of the sound card&lt;br /&gt;
* Possible to listen to a sonification on the output of the integrated soundcard&lt;br /&gt;
* Possible to shout in the radio threw a microphone plugged into the input of the external soundcar&lt;br /&gt;
[[File:IMG_2916.redim.JPG|center]]&lt;br /&gt;
[[File:PiBoxAnarcha.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= How To use Radio Calafou =&lt;br /&gt;
* &#039;&#039;&#039;Manual LibreTime&#039;&#039;&#039; https://ikerlandajuela.github.io/radiolibre/man/libretime/&lt;br /&gt;
* Docs en ingles https://libretime.org/docs/scheduling-shows&lt;br /&gt;
&lt;br /&gt;
[[File:LibretimeRadioCalafou.png|1280px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== SmartPhone journalism ===&lt;br /&gt;
It is possible to use Airtime with a smartphone, see http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/smartphone-journalism/&lt;br /&gt;
&lt;br /&gt;
== SmartPhone streaming applications ==&lt;br /&gt;
* Broadcast Myself https://play.google.com/store/apps/details?id=sa.broadcastmyselfpro is an android app to stream live. No more availabe as a free version ::: &#039;&#039;&#039;download the free version here&#039;&#039;&#039; [https://wiki.calafou.org/images/7/74/BroadcastMySelf_v0.9.12_apkpure.zip BroadcastMySelf_v0.9.12_apkpure.zip] &lt;br /&gt;
* Xiph list several  apps pour Android et iOS (dont BroadcastMySelf) https://icecast.org/apps/&lt;br /&gt;
* NovaStream https://novastreamapps.blogspot.com/ Android&lt;br /&gt;
* Coolmic https://coolmic.net/ Android avaialble on F-Droid&lt;br /&gt;
* Backpackstudio https://backpackstudioapp.com/ iOS&lt;br /&gt;
* iziCast https://danielnoethen.de/iziCast/ iOS &lt;br /&gt;
* Giss_Vorbis http://giss.tv/wiki/index.php/Android_Ogg_Streamer_:_Giss_Vorbis&lt;br /&gt;
&lt;br /&gt;
=== Taking the control live with a smartphone ===&lt;br /&gt;
As mentionned, it is possible to take the control of the radio with a specific mountpoint (the master source mountpoint), it is also possible with an (android) smartphone with the application &amp;quot;Broadcast Myself&amp;quot; (see before) that allow one to stream the mic of the smartphone or files&lt;br /&gt;
&lt;br /&gt;
The settings &amp;gt; Output settings :&lt;br /&gt;
* Hostname : radio.calafou.org&lt;br /&gt;
* Port : 8001&lt;br /&gt;
* Path : /master&lt;br /&gt;
* Username : master&lt;br /&gt;
* Password : master&lt;br /&gt;
* MP3 Encoder Bitrate (as you wish) : 96 Kbit/s&lt;br /&gt;
&lt;br /&gt;
[[File:screen-0=x355.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
=== Re-stream the output of airtime on another server ===&lt;br /&gt;
In theory, you can set up several output to an icecast server with Airtime Settings, in practive, it doesn&#039;t alway work, so you can also do :&lt;br /&gt;
 avconv -i http://radio.calafou:8000/airtime_128.ogg -f ogg -|oggfwd -p -d &amp;quot;Hack The Earth&amp;quot; -g &amp;quot;Ecochonies&amp;quot; -u &amp;quot;https://calafoorg/ca/content/hack-earth-2017&amp;quot; labomedia.org 8000 ****** /hacktheearth.ogg&lt;br /&gt;
&lt;br /&gt;
= Hardware installation =&lt;br /&gt;
* Omnius server is in the hacklab&lt;br /&gt;
* Pibox and the transmiter is in anarchaserver&lt;br /&gt;
* The antenna is on the roof of anarchaserver&lt;br /&gt;
[[File:harware-install-anarcha.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Software installation =&lt;br /&gt;
== Icecast2 with ssl support ==&lt;br /&gt;
test if your version of icecast has ssl support&lt;br /&gt;
  ldd /usr/bin/icecast2 | grep ssl&lt;br /&gt;
si&lt;br /&gt;
  libssl.so.3 =&amp;gt; /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f10a2cc9000)&lt;br /&gt;
so ok&lt;br /&gt;
&lt;br /&gt;
Install last version of icecast from Xiph repo&lt;br /&gt;
  nano /etc/apt/sources.list.d/icecast.list&lt;br /&gt;
add&lt;br /&gt;
  deb http://download.opensuse.org/repositories/multimedia:/xiph/Debian_12/ ./&lt;br /&gt;
get the key&lt;br /&gt;
  wget -qO - https://build.opensuse.org/projects/multimedia:xiph/signing_keys/download?kind=gpg | sudo apt-key add -&lt;br /&gt;
  apt update&lt;br /&gt;
  sudo apt-get install -t Debian_12 icecast2&lt;br /&gt;
Add a script to create a bundle certificate while certbot renew it&lt;br /&gt;
  nano /etc/letsencrypt/renewal/calafou.org-0002.conf&lt;br /&gt;
add&lt;br /&gt;
  post_hook = cat /etc/letsencrypt/live/calafou.org-0002/fullchain.pem /etc/letsencrypt/live/calafou.org-0002/privkey.pem &amp;gt; /etc/icecast2/bundle.pem &amp;amp;&amp;amp; systemctl restart icecast2&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;And don&#039;t forget to change to put ENABLE=true&#039;&#039;&#039; :&lt;br /&gt;
  nano /etc/default/icecast2&lt;br /&gt;
  # Edit /etc/icecast2/icecast.xml and change at least the passwords.&lt;br /&gt;
  # Change this to true when done to enable the init.d script&lt;br /&gt;
  ENABLE=true&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liquidsoap ==&lt;br /&gt;
=== Install liquidsoap via opam ===&lt;br /&gt;
  opam update&lt;br /&gt;
  opam upgrade&lt;br /&gt;
  eval $(opam env)&lt;br /&gt;
  opam info liquidsoap&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install libpcre3=2:8.39-15&lt;br /&gt;
  sudo apt-get install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-gnutls-dev libogg-dev libopus-dev libpcre3-dev libswresample-dev libswscale-dev&lt;br /&gt;
&lt;br /&gt;
  opam install ffmpeg taglib mad lame vorbis opus cry samplerate liquidsoap&lt;br /&gt;
&lt;br /&gt;
=== Script to stream a random audio file from Mediateca ===&lt;br /&gt;
  #!/usr/bin/liquidsoap&lt;br /&gt;
  &lt;br /&gt;
  mount       = &amp;quot;mediateca.mp3&amp;quot;&lt;br /&gt;
  genre       = &amp;quot;random&amp;quot;&lt;br /&gt;
  description = &amp;quot;toda la musica de la mediateca en random.&amp;quot;&lt;br /&gt;
  name        = &amp;quot;Mediateca Random&amp;quot;&lt;br /&gt;
  #protocol    = &amp;quot;http&amp;quot;&lt;br /&gt;
  port        = 8000&lt;br /&gt;
  password    = &amp;quot;*****&amp;quot;&lt;br /&gt;
  host        = &amp;quot;localhost&amp;quot;&lt;br /&gt;
  url         = &amp;quot;https://radio.calafou.org/&amp;quot;&lt;br /&gt;
  #encoding    = &amp;quot;UTF-8&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  dir = &amp;quot;/mnt/3t/ftp/MEDIATECA/musica/&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  set(&amp;quot;log.file.path&amp;quot;, &amp;quot;/home/b01/liquidsoap-daemon/scripts/randommediateca.log&amp;quot;)&lt;br /&gt;
  &lt;br /&gt;
  dir = nrj(playlist(mode=&#039;randomize&#039;,reload=10,reload_mode=&amp;quot;rounds&amp;quot;,dir))&lt;br /&gt;
  &lt;br /&gt;
  # A function applied to each metadata chunk&lt;br /&gt;
  def append_title(m) =&lt;br /&gt;
  title = m[&amp;quot;title&amp;quot;]&lt;br /&gt;
  album = m[&amp;quot;album&amp;quot;]&lt;br /&gt;
  date  = m[&amp;quot;date&amp;quot;] &lt;br /&gt;
  [(&amp;quot;title&amp;quot;,&amp;quot;#{title} : #{album} (#{date})&amp;quot;)]&lt;br /&gt;
  end&lt;br /&gt;
  dir = map_metadata(append_title, dir)&lt;br /&gt;
  radio = mksafe(dir)&lt;br /&gt;
  #radio = crossfade(radio)&lt;br /&gt;
  &lt;br /&gt;
  # Output the full stream in MP3&lt;br /&gt;
  output.icecast(%mp3(bitrate=256), &lt;br /&gt;
  host=host,&lt;br /&gt;
  port=port,&lt;br /&gt;
  password=password,&lt;br /&gt;
  mount=mount,&lt;br /&gt;
  radio,&lt;br /&gt;
  url=url,&lt;br /&gt;
  name=name,&lt;br /&gt;
  description=description,&lt;br /&gt;
  genre=genre)&lt;br /&gt;
&lt;br /&gt;
=== Daemonize the script ===&lt;br /&gt;
  git clone https://github.com/savonet/liquidsoap-daemon&lt;br /&gt;
Put the script in a scripts folder&lt;br /&gt;
  cd liquidsoap-daemon/&lt;br /&gt;
  ./daemonize-liquidsoap.sh ~/liquidsoap-daemon/scripts/randomplaylistmediateca.liq&lt;br /&gt;
&lt;br /&gt;
== Libretime via Docker==&lt;br /&gt;
* Install using docker https://libretime.org/docs/admin-manual/install/install-using-docker/&lt;br /&gt;
* Config reverse proxy https://libretime.org/docs/admin-manual/install/reverse-proxy/&lt;br /&gt;
* Config Libretime https://libretime.org/docs/admin-manual/configuration/&lt;br /&gt;
* Config the docker &lt;br /&gt;
  nano docker-compose.yml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PiBox ==&lt;br /&gt;
See documentation here : http://p-node.org/doc/index.php/V-2&lt;br /&gt;
* To the PiBox : http://172.31.17.214/ user : pibox pwd : pnodeaccesspass&lt;br /&gt;
&lt;br /&gt;
For the moment (see troubleshouting), 2 script are launched by /etc/rc.local :&lt;br /&gt;
 /home/pi/omnioussonification.sh 2&amp;gt; /home/pi/streamlog.txt &amp;gt;/dev/null &amp;amp;&lt;br /&gt;
 /home/pi/airtimeplayer.sh 2&amp;gt; /home/pi/streamlog.txt &amp;gt;/dev/null &amp;amp;&lt;br /&gt;
omnioussonification.sh :&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 while true;do&lt;br /&gt;
  AUDIODEV=hw:0,0 play -t ogg http://radio.calafou:8000/omniussonification.ogg&lt;br /&gt;
  sleep 3&lt;br /&gt;
 done&lt;br /&gt;
airtimeplayer.sh&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 while true;do&lt;br /&gt;
  AUDIODEV=hw:1,0 play -t ogg http://radio.calafou:8000/airtime_128.ogg&lt;br /&gt;
  sleep 3&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
[[File:piboxv2calafou.png|center]]&lt;br /&gt;
&lt;br /&gt;
= Troubleshouting =&lt;br /&gt;
== Libretime ==&lt;br /&gt;
=== Libretime doesn&#039;t seems to play sound, show the media builder or eat new sounds ===&lt;br /&gt;
The 3 magic command to restart everything (you have to be logged in omnius :&lt;br /&gt;
 sudo service airtime-media-monitor restart&lt;br /&gt;
 sudo service airtime-liquidsoap stop&lt;br /&gt;
 sudo service airtime-liquidsoap start&lt;br /&gt;
 /!\ it appears that &#039;restart&#039; doesn&#039;t work, liquidsoap doesn&#039;t take the modifications made in System &amp;gt; Streams&lt;br /&gt;
 sudo service airtime-playout restart&lt;br /&gt;
also, see the logs in /var/log/airtime/&lt;br /&gt;
&lt;br /&gt;
=== Libretime doesn&#039;t take into account the modifications made in System &amp;gt; Streams ===&lt;br /&gt;
Relaunching liquidsoap seems necessary : &lt;br /&gt;
 sudo service airtime-liquidsoap stop&lt;br /&gt;
 sudo service airtime-liquidsoap start&lt;br /&gt;
&lt;br /&gt;
=== Test a stream configuration ===&lt;br /&gt;
 liquidsoap &#039;output.icecast(%vorbis, host = &amp;quot;radio.calafou&amp;quot;, port = 8000, user = &amp;quot;source&amp;quot; password = &amp;quot;hackme&amp;quot;, mount = &amp;quot;liq.ogg&amp;quot;, sine())&#039;&lt;br /&gt;
&lt;br /&gt;
=== Airtime doesn&#039;t alway wait for the end of the track ===&lt;br /&gt;
Don&#039;t know why ...&lt;br /&gt;
&lt;br /&gt;
=== The master mount point 8001 can&#039;t be reached when Libretime is inside a LXC container ===&lt;br /&gt;
add these iptables rules (the container ip is 192.168.122.11):&lt;br /&gt;
 iptables -I FORWARD -p tcp -d 192.168.122.11 --dport 8001 -j ACCEPT&lt;br /&gt;
 iptables -A INPUT -p tcp --dport 8001 -j ACCEPT&lt;br /&gt;
 iptables -t nat -A PREROUTING -p tcp --dport 8001 -j DNAT --to-destination 192.168.122.11:8001&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Antenna ==&lt;br /&gt;
The tube on which I was planning to fix the antenna is about to fall !&lt;br /&gt;
&lt;br /&gt;
So I used instead a solid metal piece fixed to the wall, but the antenna is only fixed in one point with plastic bracelets (colson) and 2 wires fixed to 2 solid metal points&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure it is really good on a long time perspective ...&lt;br /&gt;
&lt;br /&gt;
= Audio sources - web radios =&lt;br /&gt;
* Coordinadora de Ràdios Lliures de Catalunya http://www.radioslliures.info/&lt;br /&gt;
* http://www.contrabanda.org/&lt;br /&gt;
* http://radiobalamanresa.wordpress.com/&lt;br /&gt;
* http://www.radiobronka.info/&lt;br /&gt;
* http://www.radiolinea4.net/&lt;br /&gt;
* http://radiopica.cat/&lt;br /&gt;
* http://www.radiorsk.info/&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6041</id>
		<title>Un sitio web auto-alojada en apache y grav</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6041"/>
		<updated>2026-01-28T18:05:34Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Grav */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;relationada con el project [[Una_pagina_web_auto-alojada_de_bajo_consumo|Una pagina web auto alojada de bajo consumo]]&lt;br /&gt;
&lt;br /&gt;
== Apache ==&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install htop nload iotop mcrypt curl unzip rsync git&lt;br /&gt;
  sudo apt install apache2 php&lt;br /&gt;
  sudo a2ensite webcalafou.conf&lt;br /&gt;
  sudo chown -R www-data: webcalafou/&lt;br /&gt;
  sudo apt install php-curl php-gd php-mbstring php-intl php-xml php-zip&lt;br /&gt;
  sudo a2enmod rewrite&lt;br /&gt;
  sudo a2enmod proxy proxy_fcgi rewrite&lt;br /&gt;
  sudo apt install php8.4-fpm&lt;br /&gt;
  sudo a2enmod proxy_fcgi setenvif&lt;br /&gt;
  sudo a2enconf php8.4-fpm&lt;br /&gt;
&lt;br /&gt;
Para optimisar el apache https://blog.pascal-mietlicki.fr/diagnostic-et-optimisation-dapache/&lt;br /&gt;
&lt;br /&gt;
==Grav==&lt;br /&gt;
* Install grav https://learn.getgrav.org/17/basics/installation&lt;br /&gt;
  cd /var/www/webcalafou&lt;br /&gt;
  wget https://getgrav.org/download/core/grav/latest&lt;br /&gt;
  unzip latest&lt;br /&gt;
  rm latest&lt;br /&gt;
  chown -R www-data: webcalafou/&lt;br /&gt;
  apt install php-curl php-gd php-mbstring php-intl php-xml php-zip php-yaml&lt;br /&gt;
  a2enmod rewrite&lt;br /&gt;
  nano apache2.conf&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;
        Options Indexes FollowSymLinks&lt;br /&gt;
        AllowOverride All &lt;br /&gt;
        Require all granted&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Page 404 https://learn.getgrav.org/17/troubleshooting/page-not-found&lt;br /&gt;
* Cache https://learn.getgrav.org/17/advanced/performance-and-caching &lt;br /&gt;
* Log https://learn.getgrav.org/17/advanced/debugging&lt;br /&gt;
* Permission https://learn.getgrav.org/17/troubleshooting/permissions&lt;br /&gt;
* manegar los plugins in CLI como https://github.com/Flamenco/grav-admin-media-actions&lt;br /&gt;
  sudo -u www-data bin/gpm install admin-media-move&lt;br /&gt;
* Cambiar la imagen del header (hero) https://getgrav.org/premium/typhoon/docs?target=_blank#hero-defaults&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Script a exec a donde ha y el grav&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  chown -R www-data:www-data .&lt;br /&gt;
  find . -type f -exec chmod 664 {} \;&lt;br /&gt;
  find ./bin -type f -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod +s {} \;&lt;br /&gt;
&lt;br /&gt;
Anadir el crontjob con el usario www-data&lt;br /&gt;
  sudo crontab -u www-data -e&lt;br /&gt;
y poner&lt;br /&gt;
  * * * * * cd /var/www/hlt;/usr/bin/php bin/grav scheduler 1&amp;gt;&amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
== Config ok for upload ==&lt;br /&gt;
Debian 13 en un contenidor LXC &amp;lt; proxy apache&lt;br /&gt;
&lt;br /&gt;
install backup grav&lt;br /&gt;
&lt;br /&gt;
unzip backup--20251008003223.zip&lt;br /&gt;
&lt;br /&gt;
fix perm&lt;br /&gt;
&lt;br /&gt;
add :&lt;br /&gt;
  RemoveHandler .var&lt;br /&gt;
to .htaccess&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6040</id>
		<title>Constitución de una asociación y digital admin</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6040"/>
		<updated>2026-01-27T00:13:47Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Autofirma */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Constitución de una asociación ==&lt;br /&gt;
* Los recursos para saber que se falta al nivel documentos [https://web.gencat.cat/es/tramits/tramits-temes/Constitucio-duna-associacio para crear un associacion sin animo de lucro] &lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2025-10-23 at 22-34-31 Constitución de una asociación. gencat.cat.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Com podeu obtenir y utilisar l&#039;idCAT Certificat? ==&lt;br /&gt;
Seguiu aquests passos per obtenir-lo&lt;br /&gt;
    1 Sol·licitud del certificat&lt;br /&gt;
    Indiqueu les vostres dades&lt;br /&gt;
&lt;br /&gt;
    2 Validació de la identitat&lt;br /&gt;
    Verifiquem la vostra identitat&lt;br /&gt;
&lt;br /&gt;
    3 Descàrrega / Instal·lació del certificat&lt;br /&gt;
    Descarregueu-lo al vostre ordinador&lt;br /&gt;
&lt;br /&gt;
=== Com descarregar i instal·lar l’idCAT Certificat ===&lt;br /&gt;
https://suport.aoc.cat/ca-es/article/?servei=idcat-certificat&amp;amp;id=KA-07500_com-descarregar-i-instal-lar-lidcat-certificat&lt;br /&gt;
&lt;br /&gt;
* https://signador.aoc.cat/signador/installNativa&lt;br /&gt;
* https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md&lt;br /&gt;
* test https://signador-pre.aoc.cat/signador/testNativa&lt;br /&gt;
=== Como utilisar el idCat y firmar por la creacion d&#039;un associacion ===&lt;br /&gt;
&lt;br /&gt;
Tenia que activar el servidor java primero con el script ~/Documents/Signador/Signador [https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md#33-ubuntu installado con este instruciones] &lt;br /&gt;
&lt;br /&gt;
y despues se puede firmar, [https://signador-pre.aoc.cat/signador/testNativa el test funciona] y cuando pide el PIN d Firefox, es la contrasena que tu pones para proteger tus contrasenas y certificats dentro de Firefox&lt;br /&gt;
&lt;br /&gt;
Cuando el formulario es lleno y hay la firma, te dan un PDF (Acusament_rebuda-1.pdf) con el enlace para pagar la tax via la Caixa bank&lt;br /&gt;
&lt;br /&gt;
== Como firmar un PDF o otras cosas administrativas con un certificado idCAT en Linux ==&lt;br /&gt;
Si el certificado es instalado ahora en Firefox, se puede utilisar con otro software  para firmar un PDF como  Okular o Autofirma&lt;br /&gt;
&lt;br /&gt;
=== Okular ===&lt;br /&gt;
  Okular should automatically find your NSS database if you used the default location (i.e. ~/.pki/nssdb).&lt;br /&gt;
&lt;br /&gt;
# Abre Okular.&lt;br /&gt;
# Ve a Configuración &amp;gt; Configurar backends….&lt;br /&gt;
# En el cuadro de diálogo «Configurar backends», ve a PDF.&lt;br /&gt;
# El certificado installado con firefow aparece directamente&lt;br /&gt;
# sino para establecer una ruta personalizada, selecciona la opción Personalizada e introduce la ruta donde está guardada tu base de datos NSS.&lt;br /&gt;
# Selecciona Aceptar.&lt;br /&gt;
# Reinicia Okular.&lt;br /&gt;
&lt;br /&gt;
Puede firmar digitalmente un PDF con Okular navegando a Herramientas &amp;gt; Firmar digitalmente…, y luego dibujando un rectángulo donde desea que aparezca su firma.&lt;br /&gt;
&lt;br /&gt;
Mas infos : [https://jasonrav.com/posts/create-use-cert-digitally-sign-documents-linux/ Create and Use Certificates for Digitally Signing PDFs in Linux]&lt;br /&gt;
=== Autofirma ===&lt;br /&gt;
Autofirma es un programa en java que permite de firmar (con IdCAT o otro) con una interface graphica https://autofirma.net/&lt;br /&gt;
&lt;br /&gt;
hay que installar java :&lt;br /&gt;
&lt;br /&gt;
  sudo apt install -y default-jre&lt;br /&gt;
&lt;br /&gt;
[[File:AutoFirma.png]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=File:AutoFirma.png&amp;diff=6039</id>
		<title>File:AutoFirma.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=File:AutoFirma.png&amp;diff=6039"/>
		<updated>2026-01-27T00:13:31Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6038</id>
		<title>Constitución de una asociación y digital admin</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6038"/>
		<updated>2026-01-27T00:12:18Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Como firmar un PDF o otras cosas administrativas con un certificado idCAT en Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Constitución de una asociación ==&lt;br /&gt;
* Los recursos para saber que se falta al nivel documentos [https://web.gencat.cat/es/tramits/tramits-temes/Constitucio-duna-associacio para crear un associacion sin animo de lucro] &lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2025-10-23 at 22-34-31 Constitución de una asociación. gencat.cat.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Com podeu obtenir y utilisar l&#039;idCAT Certificat? ==&lt;br /&gt;
Seguiu aquests passos per obtenir-lo&lt;br /&gt;
    1 Sol·licitud del certificat&lt;br /&gt;
    Indiqueu les vostres dades&lt;br /&gt;
&lt;br /&gt;
    2 Validació de la identitat&lt;br /&gt;
    Verifiquem la vostra identitat&lt;br /&gt;
&lt;br /&gt;
    3 Descàrrega / Instal·lació del certificat&lt;br /&gt;
    Descarregueu-lo al vostre ordinador&lt;br /&gt;
&lt;br /&gt;
=== Com descarregar i instal·lar l’idCAT Certificat ===&lt;br /&gt;
https://suport.aoc.cat/ca-es/article/?servei=idcat-certificat&amp;amp;id=KA-07500_com-descarregar-i-instal-lar-lidcat-certificat&lt;br /&gt;
&lt;br /&gt;
* https://signador.aoc.cat/signador/installNativa&lt;br /&gt;
* https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md&lt;br /&gt;
* test https://signador-pre.aoc.cat/signador/testNativa&lt;br /&gt;
=== Como utilisar el idCat y firmar por la creacion d&#039;un associacion ===&lt;br /&gt;
&lt;br /&gt;
Tenia que activar el servidor java primero con el script ~/Documents/Signador/Signador [https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md#33-ubuntu installado con este instruciones] &lt;br /&gt;
&lt;br /&gt;
y despues se puede firmar, [https://signador-pre.aoc.cat/signador/testNativa el test funciona] y cuando pide el PIN d Firefox, es la contrasena que tu pones para proteger tus contrasenas y certificats dentro de Firefox&lt;br /&gt;
&lt;br /&gt;
Cuando el formulario es lleno y hay la firma, te dan un PDF (Acusament_rebuda-1.pdf) con el enlace para pagar la tax via la Caixa bank&lt;br /&gt;
&lt;br /&gt;
== Como firmar un PDF o otras cosas administrativas con un certificado idCAT en Linux ==&lt;br /&gt;
Si el certificado es instalado ahora en Firefox, se puede utilisar con otro software  para firmar un PDF como  Okular o Autofirma&lt;br /&gt;
&lt;br /&gt;
=== Okular ===&lt;br /&gt;
  Okular should automatically find your NSS database if you used the default location (i.e. ~/.pki/nssdb).&lt;br /&gt;
&lt;br /&gt;
# Abre Okular.&lt;br /&gt;
# Ve a Configuración &amp;gt; Configurar backends….&lt;br /&gt;
# En el cuadro de diálogo «Configurar backends», ve a PDF.&lt;br /&gt;
# El certificado installado con firefow aparece directamente&lt;br /&gt;
# sino para establecer una ruta personalizada, selecciona la opción Personalizada e introduce la ruta donde está guardada tu base de datos NSS.&lt;br /&gt;
# Selecciona Aceptar.&lt;br /&gt;
# Reinicia Okular.&lt;br /&gt;
&lt;br /&gt;
Puede firmar digitalmente un PDF con Okular navegando a Herramientas &amp;gt; Firmar digitalmente…, y luego dibujando un rectángulo donde desea que aparezca su firma.&lt;br /&gt;
&lt;br /&gt;
Mas infos : [https://jasonrav.com/posts/create-use-cert-digitally-sign-documents-linux/ Create and Use Certificates for Digitally Signing PDFs in Linux]&lt;br /&gt;
=== Autofirma ===&lt;br /&gt;
Autofirma es un programa en java que permite de firmar (con IdCAT o otro) con una interface graphica https://autofirma.net/&lt;br /&gt;
&lt;br /&gt;
hay que installar java :&lt;br /&gt;
&lt;br /&gt;
  sudo apt install -y default-jre&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6037</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6037"/>
		<updated>2026-01-26T23:46:43Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
[https://meshmap.net/ The map of existing Meshtastic Node] :A nearly live map of Meshtastic nodes seen by the official Meshtastic MQTT server&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* 1 X [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 - 73€ con el transporte: The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* 3 x [https://www.seeedstudio.com/XIAO-ESP32S3-for-Meshtastic-LoRa-with-3D-Printed-Enclosure-p-6314.html XIAO ESP32S3 &amp;amp; Wio-SX1262 Kit with 3D case] 16 € for Meshtastic &amp;amp; LoRa&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* 1 x [https://www.seeedstudio.com/Wio-Tracker-L1-Pro-p-6454.html Wio Tracker L1 Pro] 37 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* 1 x Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;br /&gt;
* Other provider https://muzi.works/collections/all&lt;br /&gt;
* [https://www.austinmesh.org/learn/kite-nodes-for-mesh-networking/ Kite nodes for mesh networking]&lt;br /&gt;
&lt;br /&gt;
[[File:Kite-line-marked-alt.webp]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6036</id>
		<title>Constitución de una asociación y digital admin</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6036"/>
		<updated>2026-01-26T18:19:20Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Como firmar un PDF o otras cosas administrativas con un certificado idCAT en Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Constitución de una asociación ==&lt;br /&gt;
* Los recursos para saber que se falta al nivel documentos [https://web.gencat.cat/es/tramits/tramits-temes/Constitucio-duna-associacio para crear un associacion sin animo de lucro] &lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2025-10-23 at 22-34-31 Constitución de una asociación. gencat.cat.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Com podeu obtenir y utilisar l&#039;idCAT Certificat? ==&lt;br /&gt;
Seguiu aquests passos per obtenir-lo&lt;br /&gt;
    1 Sol·licitud del certificat&lt;br /&gt;
    Indiqueu les vostres dades&lt;br /&gt;
&lt;br /&gt;
    2 Validació de la identitat&lt;br /&gt;
    Verifiquem la vostra identitat&lt;br /&gt;
&lt;br /&gt;
    3 Descàrrega / Instal·lació del certificat&lt;br /&gt;
    Descarregueu-lo al vostre ordinador&lt;br /&gt;
&lt;br /&gt;
=== Com descarregar i instal·lar l’idCAT Certificat ===&lt;br /&gt;
https://suport.aoc.cat/ca-es/article/?servei=idcat-certificat&amp;amp;id=KA-07500_com-descarregar-i-instal-lar-lidcat-certificat&lt;br /&gt;
&lt;br /&gt;
* https://signador.aoc.cat/signador/installNativa&lt;br /&gt;
* https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md&lt;br /&gt;
* test https://signador-pre.aoc.cat/signador/testNativa&lt;br /&gt;
=== Como utilisar el idCat y firmar por la creacion d&#039;un associacion ===&lt;br /&gt;
&lt;br /&gt;
Tenia que activar el servidor java primero con el script ~/Documents/Signador/Signador [https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md#33-ubuntu installado con este instruciones] &lt;br /&gt;
&lt;br /&gt;
y despues se puede firmar, [https://signador-pre.aoc.cat/signador/testNativa el test funciona] y cuando pide el PIN d Firefox, es la contrasena que tu pones para proteger tus contrasenas y certificats dentro de Firefox&lt;br /&gt;
&lt;br /&gt;
Cuando el formulario es lleno y hay la firma, te dan un PDF (Acusament_rebuda-1.pdf) con el enlace para pagar la tax via la Caixa bank&lt;br /&gt;
&lt;br /&gt;
== Como firmar un PDF o otras cosas administrativas con un certificado idCAT en Linux ==&lt;br /&gt;
Si el certificado es instalado ahora en Firefox, se puede utilisar con otro software  para firmar un PDF como  Okular&lt;br /&gt;
  Okular should automatically find your NSS database if you used the default location (i.e. ~/.pki/nssdb).&lt;br /&gt;
&lt;br /&gt;
# Abre Okular.&lt;br /&gt;
# Ve a Configuración &amp;gt; Configurar backends….&lt;br /&gt;
# En el cuadro de diálogo «Configurar backends», ve a PDF.&lt;br /&gt;
# El certificado installado con firefow aparece directamente&lt;br /&gt;
# sino para establecer una ruta personalizada, selecciona la opción Personalizada e introduce la ruta donde está guardada tu base de datos NSS.&lt;br /&gt;
# Selecciona Aceptar.&lt;br /&gt;
# Reinicia Okular.&lt;br /&gt;
&lt;br /&gt;
Puede firmar digitalmente un PDF con Okular navegando a Herramientas &amp;gt; Firmar digitalmente…, y luego dibujando un rectángulo donde desea que aparezca su firma.&lt;br /&gt;
&lt;br /&gt;
Mas infos : [https://jasonrav.com/posts/create-use-cert-digitally-sign-documents-linux/ Create and Use Certificates for Digitally Signing PDFs in Linux]&lt;br /&gt;
&lt;br /&gt;
Ver tambien https://autofirma.net/descargar/ (hay que installar java)&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6035</id>
		<title>Constitución de una asociación y digital admin</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6035"/>
		<updated>2026-01-26T18:16:16Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Como utilisar el idCat y firmar por la creacion d&amp;#039;un associacion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Constitución de una asociación ==&lt;br /&gt;
* Los recursos para saber que se falta al nivel documentos [https://web.gencat.cat/es/tramits/tramits-temes/Constitucio-duna-associacio para crear un associacion sin animo de lucro] &lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2025-10-23 at 22-34-31 Constitución de una asociación. gencat.cat.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Com podeu obtenir y utilisar l&#039;idCAT Certificat? ==&lt;br /&gt;
Seguiu aquests passos per obtenir-lo&lt;br /&gt;
    1 Sol·licitud del certificat&lt;br /&gt;
    Indiqueu les vostres dades&lt;br /&gt;
&lt;br /&gt;
    2 Validació de la identitat&lt;br /&gt;
    Verifiquem la vostra identitat&lt;br /&gt;
&lt;br /&gt;
    3 Descàrrega / Instal·lació del certificat&lt;br /&gt;
    Descarregueu-lo al vostre ordinador&lt;br /&gt;
&lt;br /&gt;
=== Com descarregar i instal·lar l’idCAT Certificat ===&lt;br /&gt;
https://suport.aoc.cat/ca-es/article/?servei=idcat-certificat&amp;amp;id=KA-07500_com-descarregar-i-instal-lar-lidcat-certificat&lt;br /&gt;
&lt;br /&gt;
* https://signador.aoc.cat/signador/installNativa&lt;br /&gt;
* https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md&lt;br /&gt;
* test https://signador-pre.aoc.cat/signador/testNativa&lt;br /&gt;
=== Como utilisar el idCat y firmar por la creacion d&#039;un associacion ===&lt;br /&gt;
&lt;br /&gt;
Tenia que activar el servidor java primero con el script ~/Documents/Signador/Signador [https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md#33-ubuntu installado con este instruciones] &lt;br /&gt;
&lt;br /&gt;
y despues se puede firmar, [https://signador-pre.aoc.cat/signador/testNativa el test funciona] y cuando pide el PIN d Firefox, es la contrasena que tu pones para proteger tus contrasenas y certificats dentro de Firefox&lt;br /&gt;
&lt;br /&gt;
Cuando el formulario es lleno y hay la firma, te dan un PDF (Acusament_rebuda-1.pdf) con el enlace para pagar la tax via la Caixa bank&lt;br /&gt;
&lt;br /&gt;
== Como firmar un PDF o otras cosas administrativas con un certificado idCAT en Linux ==&lt;br /&gt;
Si el certificado es instalado ahora en Firefox, se puede utilisar con otro software  para firmar un PDF como  Okular&lt;br /&gt;
  Okular should automatically find your NSS database if you used the default location (i.e. ~/.pki/nssdb).&lt;br /&gt;
&lt;br /&gt;
# Abre Okular.&lt;br /&gt;
# Ve a Configuración &amp;gt; Configurar backends….&lt;br /&gt;
# En el cuadro de diálogo «Configurar backends», ve a PDF.&lt;br /&gt;
# El certificado installado con firefow aparece directamente&lt;br /&gt;
# sino para establecer una ruta personalizada, selecciona la opción Personalizada e introduce la ruta donde está guardada tu base de datos NSS.&lt;br /&gt;
# Selecciona Aceptar.&lt;br /&gt;
# Reinicia Okular.&lt;br /&gt;
&lt;br /&gt;
Puede firmar digitalmente un PDF con Okular navegando a Herramientas &amp;gt; Firmar digitalmente…, y luego dibujando un rectángulo donde desea que aparezca su firma.&lt;br /&gt;
&lt;br /&gt;
Mas infos : [https://jasonrav.com/posts/create-use-cert-digitally-sign-documents-linux/ Create and Use Certificates for Digitally Signing PDFs in Linux]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6034</id>
		<title>Constitución de una asociación y digital admin</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6034"/>
		<updated>2026-01-26T18:14:51Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Com podeu obtenir y utilisar l&amp;#039;idCAT Certificat? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Constitución de una asociación ==&lt;br /&gt;
* Los recursos para saber que se falta al nivel documentos [https://web.gencat.cat/es/tramits/tramits-temes/Constitucio-duna-associacio para crear un associacion sin animo de lucro] &lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2025-10-23 at 22-34-31 Constitución de una asociación. gencat.cat.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Com podeu obtenir y utilisar l&#039;idCAT Certificat? ==&lt;br /&gt;
Seguiu aquests passos per obtenir-lo&lt;br /&gt;
    1 Sol·licitud del certificat&lt;br /&gt;
    Indiqueu les vostres dades&lt;br /&gt;
&lt;br /&gt;
    2 Validació de la identitat&lt;br /&gt;
    Verifiquem la vostra identitat&lt;br /&gt;
&lt;br /&gt;
    3 Descàrrega / Instal·lació del certificat&lt;br /&gt;
    Descarregueu-lo al vostre ordinador&lt;br /&gt;
&lt;br /&gt;
=== Com descarregar i instal·lar l’idCAT Certificat ===&lt;br /&gt;
https://suport.aoc.cat/ca-es/article/?servei=idcat-certificat&amp;amp;id=KA-07500_com-descarregar-i-instal-lar-lidcat-certificat&lt;br /&gt;
&lt;br /&gt;
* https://signador.aoc.cat/signador/installNativa&lt;br /&gt;
* https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md&lt;br /&gt;
* test https://signador-pre.aoc.cat/signador/testNativa&lt;br /&gt;
=== Como utilisar el idCat y firmar por la creacion d&#039;un associacion ===&lt;br /&gt;
&lt;br /&gt;
Tenia que activar el servidor java primero con el script ~/Documents/Signador/Signador [https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md#33-ubuntu installado con este instruciones] &lt;br /&gt;
&lt;br /&gt;
y despues se puede firmar, [https://signador-pre.aoc.cat/signador/testNativa el test funciona] y cuando pide el PIN d Firefox, es la contrasena que tu pones para proteger tus contrasenas y certificats dentro de Firefox&lt;br /&gt;
&lt;br /&gt;
== Como firmar un PDF o otras cosas administrativas con un certificado idCAT en Linux ==&lt;br /&gt;
Si el certificado es instalado ahora en Firefox, se puede utilisar con otro software  para firmar un PDF como  Okular&lt;br /&gt;
  Okular should automatically find your NSS database if you used the default location (i.e. ~/.pki/nssdb).&lt;br /&gt;
&lt;br /&gt;
# Abre Okular.&lt;br /&gt;
# Ve a Configuración &amp;gt; Configurar backends….&lt;br /&gt;
# En el cuadro de diálogo «Configurar backends», ve a PDF.&lt;br /&gt;
# El certificado installado con firefow aparece directamente&lt;br /&gt;
# sino para establecer una ruta personalizada, selecciona la opción Personalizada e introduce la ruta donde está guardada tu base de datos NSS.&lt;br /&gt;
# Selecciona Aceptar.&lt;br /&gt;
# Reinicia Okular.&lt;br /&gt;
&lt;br /&gt;
Puede firmar digitalmente un PDF con Okular navegando a Herramientas &amp;gt; Firmar digitalmente…, y luego dibujando un rectángulo donde desea que aparezca su firma.&lt;br /&gt;
&lt;br /&gt;
Mas infos : [https://jasonrav.com/posts/create-use-cert-digitally-sign-documents-linux/ Create and Use Certificates for Digitally Signing PDFs in Linux]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6033</id>
		<title>Constitución de una asociación y digital admin</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Constituci%C3%B3n_de_una_asociaci%C3%B3n_y_digital_admin&amp;diff=6033"/>
		<updated>2026-01-26T17:42:28Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Com descarregar i instal·lar l’idCAT Certificat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Constitución de una asociación ==&lt;br /&gt;
* Los recursos para saber que se falta al nivel documentos [https://web.gencat.cat/es/tramits/tramits-temes/Constitucio-duna-associacio para crear un associacion sin animo de lucro] &lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2025-10-23 at 22-34-31 Constitución de una asociación. gencat.cat.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Com podeu obtenir y utilisar l&#039;idCAT Certificat? ==&lt;br /&gt;
Seguiu aquests passos per obtenir-lo&lt;br /&gt;
    1 Sol·licitud del certificat&lt;br /&gt;
    Indiqueu les vostres dades&lt;br /&gt;
&lt;br /&gt;
    2 Validació de la identitat&lt;br /&gt;
    Verifiquem la vostra identitat&lt;br /&gt;
&lt;br /&gt;
    3 Descàrrega / Instal·lació del certificat&lt;br /&gt;
    Descarregueu-lo al vostre ordinador&lt;br /&gt;
&lt;br /&gt;
=== Com descarregar i instal·lar l’idCAT Certificat ===&lt;br /&gt;
https://suport.aoc.cat/ca-es/article/?servei=idcat-certificat&amp;amp;id=KA-07500_com-descarregar-i-instal-lar-lidcat-certificat&lt;br /&gt;
&lt;br /&gt;
* https://signador.aoc.cat/signador/installNativa&lt;br /&gt;
* https://github.com/ConsorciAOC/signador/blob/master/guiaUsuaris/nativa.md&lt;br /&gt;
* test https://signador-pre.aoc.cat/signador/testNativa&lt;br /&gt;
&lt;br /&gt;
== Como firmar un PDF o otras cosas administrativas con un certificado idCAT en Linux ==&lt;br /&gt;
Si el certificado es instalado ahora en Firefox, se puede utilisar con otro software  para firmar un PDF como  Okular&lt;br /&gt;
  Okular should automatically find your NSS database if you used the default location (i.e. ~/.pki/nssdb).&lt;br /&gt;
&lt;br /&gt;
# Abre Okular.&lt;br /&gt;
# Ve a Configuración &amp;gt; Configurar backends….&lt;br /&gt;
# En el cuadro de diálogo «Configurar backends», ve a PDF.&lt;br /&gt;
# El certificado installado con firefow aparece directamente&lt;br /&gt;
# sino para establecer una ruta personalizada, selecciona la opción Personalizada e introduce la ruta donde está guardada tu base de datos NSS.&lt;br /&gt;
# Selecciona Aceptar.&lt;br /&gt;
# Reinicia Okular.&lt;br /&gt;
&lt;br /&gt;
Puede firmar digitalmente un PDF con Okular navegando a Herramientas &amp;gt; Firmar digitalmente…, y luego dibujando un rectángulo donde desea que aparezca su firma.&lt;br /&gt;
&lt;br /&gt;
Mas infos : [https://jasonrav.com/posts/create-use-cert-digitally-sign-documents-linux/ Create and Use Certificates for Digitally Signing PDFs in Linux]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6026</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6026"/>
		<updated>2026-01-21T23:25:19Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Meshstatic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
[https://meshmap.net/ The map of existing Meshtastic Node] :A nearly live map of Meshtastic nodes seen by the official Meshtastic MQTT server&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 : The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;br /&gt;
* Other provider https://muzi.works/collections/all&lt;br /&gt;
* [https://www.austinmesh.org/learn/kite-nodes-for-mesh-networking/ Kite nodes for mesh networking]&lt;br /&gt;
&lt;br /&gt;
[[File:Kite-line-marked-alt.webp]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6025</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6025"/>
		<updated>2026-01-21T22:21:05Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 : The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;br /&gt;
* Other provider https://muzi.works/collections/all&lt;br /&gt;
* [https://www.austinmesh.org/learn/kite-nodes-for-mesh-networking/ Kite nodes for mesh networking]&lt;br /&gt;
&lt;br /&gt;
[[File:Kite-line-marked-alt.webp]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6024</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6024"/>
		<updated>2026-01-21T22:20:53Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 : The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;br /&gt;
* Other provider https://muzi.works/collections/all&lt;br /&gt;
* [https://www.austinmesh.org/learn/kite-nodes-for-mesh-networking/ Kite nodes for mesh networking]&lt;br /&gt;
&lt;br /&gt;
[[File:Kite-line-marked-alt.webp|thumb]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=File:Kite-line-marked-alt.webp&amp;diff=6023</id>
		<title>File:Kite-line-marked-alt.webp</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=File:Kite-line-marked-alt.webp&amp;diff=6023"/>
		<updated>2026-01-21T22:20:31Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6022</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6022"/>
		<updated>2026-01-21T21:55:00Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 : The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;br /&gt;
* Other provider https://muzi.works/collections/all&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6021</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6021"/>
		<updated>2026-01-21T21:52:27Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Harware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 : The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6020</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6020"/>
		<updated>2026-01-21T21:52:07Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:FullMeshNetwork.svg]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Harware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 : The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6019</id>
		<title>Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Meshnetwork_Meshstatic_Meshcore_How_to_Mesh_@_Calafou&amp;diff=6019"/>
		<updated>2026-01-21T21:47:30Z</updated>

		<summary type="html">&lt;p&gt;B01: Created page with &amp;quot;== Mesh networks ? == * [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia] * [https://bowshock.nl/irc/ Start your own Internet Resiliency Club] * Make a [https://battlemesh.org/ BattleMesh] * [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]  == Meshstatic == An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/  == Meshcore == We...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Mesh networks ? ==&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mesh_networking Mesh networking en wkipedia]&lt;br /&gt;
* [https://bowshock.nl/irc/ Start your own Internet Resiliency Club]&lt;br /&gt;
* Make a [https://battlemesh.org/ BattleMesh]&lt;br /&gt;
* [https://www.austinmesh.org/learn/meshcore-vs-meshtastic/ Meshtastic vs. MeshCore on Austin Mesh]&lt;br /&gt;
&lt;br /&gt;
== Meshstatic ==&lt;br /&gt;
An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices https://meshtastic.org/&lt;br /&gt;
&lt;br /&gt;
== Meshcore ==&lt;br /&gt;
We connect people and things, without using the internet - Off-line and Off-grid messaging platform for a new era of secure communications.&lt;br /&gt;
https://meshcore.co.uk/&lt;br /&gt;
&lt;br /&gt;
[https://fourbi.eu/billet/2026-01-09-notes-d-exploration-lora-no3 3 Notes d’exploration LoRa Meshcore] (en français) &lt;br /&gt;
&lt;br /&gt;
=== Harware ===&lt;br /&gt;
la fréquence, c’est 868 MHz (sur toute l’UE), donc c’est la variante à choisir&lt;br /&gt;
* [https://lilygo.cc/products/t-deck-plus-1?variant=51932198338741 Lilygo T-Deck+] $75.94 : The T-Deck+ offers the most standalone MeshCore experience on a device which is NOT a smartphone, fully encrypted direct messaging, physical keyboard, all day battery, GPS maps and audible message notifications.&lt;br /&gt;
* [https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html SenseCAP Card Tracker T1000-E] 34.99 €&lt;br /&gt;
* [https://heltec.org/project/wifi-lora-32-v4/ WiFi LoRa 32(V4), ESP32S3 + SX1262] 20 $ : LoRa Node, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* [https://heltec.org/project/mesh-node-t114/ Mesh Node T114 (Rev. 2.0)] $27.80 with creen, no gps, an shelll, nRF52840 + SX1262 LoRa Node +GPS, Meshtastic and LoRaWAN Compatible&lt;br /&gt;
* Relais outdoor [https://www.seeedstudio.com/SenseCAP-Solar-Node-P1-Pro-for-Meshtastic-LoRa-p-6412.html SenseCAP Solar Node P1-Pro] 77 € for Meshtastic&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Networking&amp;diff=6018</id>
		<title>Networking</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Networking&amp;diff=6018"/>
		<updated>2026-01-21T21:14:03Z</updated>

		<summary type="html">&lt;p&gt;B01: /* pfSense */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Network @ Calafou ==&lt;br /&gt;
&lt;br /&gt;
== Network documentation ==&lt;br /&gt;
Surely outdated :) In bold : the present page&lt;br /&gt;
* [[Network| Network General presentation]]&lt;br /&gt;
* [[Networking|Networking Technical configuration]]&lt;br /&gt;
* [[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
* [[Internal Channels of Communication (Cat, Cast, Eng)|Internal Channels of Communication and services provides]]&lt;br /&gt;
== ISP ==&lt;br /&gt;
Internet is provided by https://somvera.cat/ with https://guifi.net/ red&lt;br /&gt;
&lt;br /&gt;
== pfSense ==&lt;br /&gt;
At the head of the network, there is a [https://www.pfsense.org/ pfSense] computer that manage part of the network&lt;br /&gt;
* [https://getlabsdone.com/how-to-configure-pfsense-dmz-setup/ How to Configure PfSense DMZ Setup?] | Step by Step¶&lt;br /&gt;
* [https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html Upgrade firmware] with care, [https://docs.netgate.com/pfsense/en/latest/development/freebsd-version.html check the version] and [https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html Troubleshouting]&lt;br /&gt;
* [https://docs.netgate.com/pfsense/en/latest/releases/index.html Releases]&lt;br /&gt;
&lt;br /&gt;
== Backbone ==&lt;br /&gt;
&lt;br /&gt;
The backbone is a ring of managed switches and twisted pair Ethernet cables that is the central part of the Calafou IP network.&lt;br /&gt;
&lt;br /&gt;
=== Managed switches ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note: we are preparing these devices to put on the network so they are not installed in production yet.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TP-Link TL-SG2008 devices&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SSH access&#039;&#039;&#039;: this is tricky because the SSH server on the device is old. You have to enable legacy options to connect:&lt;br /&gt;
&lt;br /&gt;
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss admin@172.31.17.XYZ&lt;br /&gt;
&lt;br /&gt;
You can learn more about using legacy options with SSH here: https://www.openssh.com/legacy.html&lt;br /&gt;
&lt;br /&gt;
The command line (SSH/Telnet) interface is &#039;&#039;&#039;not&#039;&#039;&#039; a standard UNIX shell, but a TP-LINK specific system described in the manual of the device.&lt;br /&gt;
&lt;br /&gt;
Manuals can be downloaded from the vendor&#039;s website here: http://www.tp-link.com/en/download/TL-SG2008.html&lt;br /&gt;
&lt;br /&gt;
Calafou specific configuration:&lt;br /&gt;
&lt;br /&gt;
* IP address 172.31.17.XYZ&lt;br /&gt;
* Hostname backboneXYZ (XYZ is the location, like &amp;quot;redhouse&amp;quot; for example)&lt;br /&gt;
* Telnet on (there is username/password authentication on this)&lt;br /&gt;
* SSH on&lt;br /&gt;
* NTP (Network Time Protocol) on, timezone CET, European daylight saving enabled&lt;br /&gt;
* STP on (rapid STP, also called rSTP)&lt;br /&gt;
&lt;br /&gt;
Authentication: same username and password on HTTP, HTTPS, TELNET and SSH.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Username&#039;&#039;&#039;: admin&lt;br /&gt;
* &#039;&#039;&#039;Password&#039;&#039;&#039;: you can find it in the calafou keyringer repository in the key file &amp;quot;calafou.lan.BackboneSwitches.asc&amp;quot;&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Portada&amp;diff=6017</id>
		<title>Portada</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Portada&amp;diff=6017"/>
		<updated>2026-01-21T21:10:07Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Infraestructura &amp;quot;digital&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[File:Wikifou.png|1280px]]&lt;br /&gt;
&lt;br /&gt;
=Benvingudes a la Wiki de Calafou - Welcome to Calafou Wiki - Bienvenue sur le Wiki de Calafou=&lt;br /&gt;
&lt;br /&gt;
Un espai per la innovació social, tecnològica i política basada en l&#039;autoresponsabilitat i la cooperació a Vallbona d&#039;Anoia, Catalunya.&lt;br /&gt;
&lt;br /&gt;
Find a good Catalan to English [https://www.softcatala.org/traductor translator here] and an English to whatever language [https://www.deepl.com translator here].&lt;br /&gt;
&lt;br /&gt;
[https://calafou.org &#039;&#039;&#039;calafou.org&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
=Com ens organitzem=&lt;br /&gt;
Calafou és un lloc d&#039;habitatge i un lloc de treball. Un espai assembleari que funciona per consens. A més de l&#039;&#039;&#039;&#039;Assemblea&#039;&#039;&#039;, el treball es divideix en &#039;&#039;&#039;5 Àrees de Gestió&#039;&#039;&#039; (AGs) i diferents &#039;&#039;&#039;Grups de Treball&#039;&#039;&#039; (GTs). Aquestes son les AGs:&lt;br /&gt;
* [[AG habitatge i vida comunitària|Habitatge i vida comunitària.]]&lt;br /&gt;
* [[AG projectes tallers i laboratoris|Projectes tallers i laboratoris.]]&lt;br /&gt;
* [[AG infraestructura i comunicació|Infraestructura i comunicació.]]&lt;br /&gt;
* [[AG economia i legal|Economia i legal.]]&lt;br /&gt;
* [[AG rehabilitació|Rehabilitació.]]&lt;br /&gt;
&lt;br /&gt;
==Contacta&#039;ns==&lt;br /&gt;
Pots posar-te en contacte amb nosaltres a través del correu general &#039;&#039;&#039;calafou@riseup.net&#039;&#039;&#039;, a través dels correus de cada Àrea de Gestió o els nostres perfils en xarxes socials:&lt;br /&gt;
* [https://systerserver.town/@calafou Mastodon microblog].&lt;br /&gt;
* [https://fediverse.tv/c/calafoutv Radio Televisió de Calafou, canal de vídeo i àudio en Fediverse.tv].&lt;br /&gt;
&lt;br /&gt;
[[File:Calafou noir.jpg]]&lt;br /&gt;
&lt;br /&gt;
= Procesos / Protocols =&lt;br /&gt;
Aquesta secció inclou informació per a les &#039;&#039;&#039;visites i habitants&#039;&#039;&#039; de Calafou.&lt;br /&gt;
&lt;br /&gt;
* [[INFO BÁSICA|Informació bàsica]] que tota persona hauria de llegir abans de venir a Calafou.&lt;br /&gt;
* [[Protocol Contra Agressions Sexistes|Protocol contra agressions sexistes durant esdeveniments.]]&lt;br /&gt;
* [[Propuesta para una mejor gestión de los conflictos en Calafou|Codi de Cures Col·lectives (CCC)]].&lt;br /&gt;
* [[Protocolo Visitas|Protocol visites]].&lt;br /&gt;
* [[Protocolo Investigación|Protocol investigació]].&lt;br /&gt;
* [[Protocolo medios|Protocol mitjans]].&lt;br /&gt;
* [[How To Eventos]].&lt;br /&gt;
* [[How To Amadrinar Evento - Residencias - Otras]].&lt;br /&gt;
* [[Per a madrines i amadrinades]].&lt;br /&gt;
* [[Protocol de sortida]]&lt;br /&gt;
* [[Seguridad Integral|Seguretat integral]].&lt;br /&gt;
* [[Motxilla d&#039;emergència]].&lt;br /&gt;
&lt;br /&gt;
= How Tos=&lt;br /&gt;
&lt;br /&gt;
== Infraestructura fisica ==&lt;br /&gt;
* [[Decaentismo]]&lt;br /&gt;
* [[Coses del compost]]&lt;br /&gt;
* [[Limpiar y mantener EcoSec|How to: netejar y mantenir els EcoSec]].&lt;br /&gt;
* [[Utilisar el systemo de sonido|Utilitzar el sistema de so del Centre social]].&lt;br /&gt;
* [[Arbres de la plaça]].&lt;br /&gt;
* [[Crear un Refugi de Fauna Salvatge]] en los alrededores de calafou.&lt;br /&gt;
* [[Fabricacion de lejia con cenizas]]&lt;br /&gt;
* [[Fabricacion de jabon con lejia de cenizas]]&lt;br /&gt;
&lt;br /&gt;
== Infraestructura &amp;quot;digital&amp;quot; ==&lt;br /&gt;
* [[Netiqueta]].&lt;br /&gt;
* [[Primers passos amb la wiki]].&lt;br /&gt;
* [[Cómo hacer preguntas de manera inteligente| Com fer preguntes de manera intel·ligent]].&lt;br /&gt;
* [[Network|Network : Configuration del red digital de calafou]]&lt;br /&gt;
* [[Meshnetwork Meshstatic Meshcore How to Mesh @ Calafou]]&lt;br /&gt;
* [[Descarregar Audiovisuals utilitzant arxius torrent]]&lt;br /&gt;
* [[Televisió Digital Terrestre amb VLC]]&lt;br /&gt;
* [[Invitacions de Riseup|Com generar codis d&#039;invitació de Riseup]].&lt;br /&gt;
* [https://riseup.net/es/email/clients/thunderbird#setup-thunderbird Com configurar el client de correu Thunderbird].&lt;br /&gt;
* [[CalafOS|CalafOS, sistema operatiu GNU/Linux empaquetat a Calafou]].&lt;br /&gt;
* [[Recursos per a la videocreació]] (amb GNU/Linux)&lt;br /&gt;
* [[jpegKRUSHER]]&lt;br /&gt;
* Traduir, traducir, translate, traduire, übersetzen: [https://www.softcatala.org/traductor/ Softcatalá], [https://www.deepl.com/translator Deepl].&lt;br /&gt;
* Connexió a la xarxa de Calafou des de l&#039;exterior amb [[Open VPN]].&lt;br /&gt;
* [[AG infraestructura i comunicació|Coses de l&#039;AG infraestructura i comunicació]].&lt;br /&gt;
* [[Crear un sitio o un herramienta web con un subdominio *.calafou.org|Crear un lloc o un eina web amb un subdomini *.calafou.org]].&lt;br /&gt;
* Crear mapas con [[uMap]].&lt;br /&gt;
* Crear un [[dashboard con Thingsboard]] per a recollir dades amb sensors.&lt;br /&gt;
* [[Free your mobile phone from Android]].&lt;br /&gt;
* [[Listen to the invisible]].&lt;br /&gt;
* Aplicació audio [[Mumble-Plumble]].&lt;br /&gt;
* Configure a [[Wifi Hotspot with OpenWRT]].&lt;br /&gt;
&lt;br /&gt;
== Varis ==&lt;br /&gt;
* [[Glitch art]].&lt;br /&gt;
* [[Recetas|Receptes de dolços]].&lt;br /&gt;
* [[Receita do licor café da Isaura García Munín]].&lt;br /&gt;
* [[Fanzine|Com maquetar un fanzine amb Scribus]].&lt;br /&gt;
* [[PicaPiKAP|PicaPiKAP: càmera fotogràfica de mapatge amb globus i cometes]].&lt;br /&gt;
* Hacer imagenes simbiotikas: [[video SIMBIOTIKA]].&lt;br /&gt;
* [[Futurotopias Varias|Futurotopies varies]].&lt;br /&gt;
* [[Memoria de sortidas.|Memoria de sortidas]]&lt;br /&gt;
* [[Constitución de una asociación y digital admin |Constitución de una asociación y digital admin]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Nau blanca.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Projectes=&lt;br /&gt;
&lt;br /&gt;
Aquesta secció inclou projectes productius, tallers, laboratoris i residències (artístiques o de recerca) en desenvolupament en Calafou.&lt;br /&gt;
&lt;br /&gt;
==Projectes productius== &lt;br /&gt;
* [https://subversiva.coop Cooperativa de Cervesa Subversiva].&lt;br /&gt;
* [[Ecosec]].&lt;br /&gt;
* [[Medialab Terata]]&lt;br /&gt;
* [[Kikiriki]].&lt;br /&gt;
* [[L&#039;Hort]]&lt;br /&gt;
* [[La Sènia Amagada]].&lt;br /&gt;
* [[Domodesics]].&lt;br /&gt;
* [[La Infraleve - Teatro Gestual y de Títeres]].&lt;br /&gt;
* [[Artemisa]].&lt;br /&gt;
* [https://regist.ro I.M.V.E.C.].&lt;br /&gt;
* [[Motivadas del plástico]].&lt;br /&gt;
* [[El observatorio de pájaros]].&lt;br /&gt;
* [[Anarchaserver]].&lt;br /&gt;
&lt;br /&gt;
== Residències ==&lt;br /&gt;
=== Residències de recerca === &lt;br /&gt;
* [[Recerques]].&lt;br /&gt;
* [[Universitat Sorbonne]]&lt;br /&gt;
* [[RCS - IES Vallbona - 2025|RCS - IES Vallbona]]&lt;br /&gt;
&lt;br /&gt;
=== Residències artístiques === &lt;br /&gt;
* [[Paintings]].&lt;br /&gt;
== Laboratoris == &lt;br /&gt;
* [[Hacklab Arduinna]].&lt;br /&gt;
* [[Precious-plastic]].&lt;br /&gt;
* [https://rna.calafou.org Reserva Natural de l&#039;Anoia].&lt;br /&gt;
* [[Soberanía micológica]].&lt;br /&gt;
* [[Code and Hardware]].&lt;br /&gt;
* [[Flossophies]].&lt;br /&gt;
* [[Radio Calafou]].&lt;br /&gt;
* [[Bookscanner]] [[Bookscanning]].&lt;br /&gt;
* [[Fermentados]].&lt;br /&gt;
* [[BioRemediation and more]].&lt;br /&gt;
* [[Vocabularios nuevxs para mundos nuevxs]].&lt;br /&gt;
&lt;br /&gt;
== Poemes, Proses i Manifestos ==&lt;br /&gt;
* [[Decaentismo]].&lt;br /&gt;
* [[Chthulucenia Cyborgia]].&lt;br /&gt;
* [[Filosofia Cíborg]].&lt;br /&gt;
* [[QPF Bocins de Poesia]].&lt;br /&gt;
* [[Fancíname Calafou-De brujas, colonialismos y encrucijadas]].&lt;br /&gt;
&lt;br /&gt;
= Esdeveniments =&lt;br /&gt;
* &#039;&#039;&#039;[[Events]]&#039;&#039;&#039;.&lt;br /&gt;
Mantingues-te al corrent dels nostres esdeveniments a través del nostre compte en [https://systerserver.town/@calafou Mastodon] o la nostra [https://lists.riseup.net/www/info/infocalafou llista de correu].&lt;br /&gt;
&lt;br /&gt;
= Totes les pàgines d&#039;aquesta wiki =&lt;br /&gt;
Consulta en aquest enllaç un llistat de totes les pàgines publicades en aquesta wiki:&lt;br /&gt;
&lt;br /&gt;
https://wiki.calafou.org/index.php/Special:AllPages&lt;br /&gt;
&lt;br /&gt;
[[File:MASTER 01Jun24 17-06-08 273.3m 41.50967 1.70494 230.2m 25.9C 36.4% 980.8hPa 1500 levels crop.jpg]]&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Networking&amp;diff=6016</id>
		<title>Networking</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Networking&amp;diff=6016"/>
		<updated>2026-01-21T20:59:45Z</updated>

		<summary type="html">&lt;p&gt;B01: /* pfSense */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Network @ Calafou ==&lt;br /&gt;
&lt;br /&gt;
== Network documentation ==&lt;br /&gt;
Surely outdated :) In bold : the present page&lt;br /&gt;
* [[Network| Network General presentation]]&lt;br /&gt;
* [[Networking|Networking Technical configuration]]&lt;br /&gt;
* [[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
* [[Internal Channels of Communication (Cat, Cast, Eng)|Internal Channels of Communication and services provides]]&lt;br /&gt;
== ISP ==&lt;br /&gt;
Internet is provided by https://somvera.cat/ with https://guifi.net/ red&lt;br /&gt;
&lt;br /&gt;
== pfSense ==&lt;br /&gt;
At the head of the network, there is a [https://www.pfsense.org/ pfSense] computer that manage part of the network&lt;br /&gt;
* [https://getlabsdone.com/how-to-configure-pfsense-dmz-setup/ How to Configure PfSense DMZ Setup?] | Step by Step&lt;br /&gt;
* [https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html Upgrade firmware] with care, [https://docs.netgate.com/pfsense/en/latest/development/freebsd-version.html check the version] and [https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html Troubleshouting]&lt;br /&gt;
* [https://docs.netgate.com/pfsense/en/latest/releases/index.html Releases]&lt;br /&gt;
&lt;br /&gt;
== Backbone ==&lt;br /&gt;
&lt;br /&gt;
The backbone is a ring of managed switches and twisted pair Ethernet cables that is the central part of the Calafou IP network.&lt;br /&gt;
&lt;br /&gt;
=== Managed switches ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note: we are preparing these devices to put on the network so they are not installed in production yet.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TP-Link TL-SG2008 devices&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SSH access&#039;&#039;&#039;: this is tricky because the SSH server on the device is old. You have to enable legacy options to connect:&lt;br /&gt;
&lt;br /&gt;
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss admin@172.31.17.XYZ&lt;br /&gt;
&lt;br /&gt;
You can learn more about using legacy options with SSH here: https://www.openssh.com/legacy.html&lt;br /&gt;
&lt;br /&gt;
The command line (SSH/Telnet) interface is &#039;&#039;&#039;not&#039;&#039;&#039; a standard UNIX shell, but a TP-LINK specific system described in the manual of the device.&lt;br /&gt;
&lt;br /&gt;
Manuals can be downloaded from the vendor&#039;s website here: http://www.tp-link.com/en/download/TL-SG2008.html&lt;br /&gt;
&lt;br /&gt;
Calafou specific configuration:&lt;br /&gt;
&lt;br /&gt;
* IP address 172.31.17.XYZ&lt;br /&gt;
* Hostname backboneXYZ (XYZ is the location, like &amp;quot;redhouse&amp;quot; for example)&lt;br /&gt;
* Telnet on (there is username/password authentication on this)&lt;br /&gt;
* SSH on&lt;br /&gt;
* NTP (Network Time Protocol) on, timezone CET, European daylight saving enabled&lt;br /&gt;
* STP on (rapid STP, also called rSTP)&lt;br /&gt;
&lt;br /&gt;
Authentication: same username and password on HTTP, HTTPS, TELNET and SSH.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Username&#039;&#039;&#039;: admin&lt;br /&gt;
* &#039;&#039;&#039;Password&#039;&#039;&#039;: you can find it in the calafou keyringer repository in the key file &amp;quot;calafou.lan.BackboneSwitches.asc&amp;quot;&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Networking&amp;diff=6015</id>
		<title>Networking</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Networking&amp;diff=6015"/>
		<updated>2026-01-21T20:45:57Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Network @ Calafou ==&lt;br /&gt;
&lt;br /&gt;
== Network documentation ==&lt;br /&gt;
Surely outdated :) In bold : the present page&lt;br /&gt;
* [[Network| Network General presentation]]&lt;br /&gt;
* [[Networking|Networking Technical configuration]]&lt;br /&gt;
* [[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
* [[Internal Channels of Communication (Cat, Cast, Eng)|Internal Channels of Communication and services provides]]&lt;br /&gt;
== ISP ==&lt;br /&gt;
Internet is provided by https://somvera.cat/ with https://guifi.net/ red&lt;br /&gt;
&lt;br /&gt;
== pfSense ==&lt;br /&gt;
At the head of the network, there is a [https://www.pfsense.org/ pfSense] computer that manage part of the network&lt;br /&gt;
* [https://getlabsdone.com/how-to-configure-pfsense-dmz-setup/ How to Configure PfSense DMZ Setup?] | Step by Step&lt;br /&gt;
&lt;br /&gt;
== Backbone ==&lt;br /&gt;
&lt;br /&gt;
The backbone is a ring of managed switches and twisted pair Ethernet cables that is the central part of the Calafou IP network.&lt;br /&gt;
&lt;br /&gt;
=== Managed switches ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note: we are preparing these devices to put on the network so they are not installed in production yet.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TP-Link TL-SG2008 devices&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SSH access&#039;&#039;&#039;: this is tricky because the SSH server on the device is old. You have to enable legacy options to connect:&lt;br /&gt;
&lt;br /&gt;
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss admin@172.31.17.XYZ&lt;br /&gt;
&lt;br /&gt;
You can learn more about using legacy options with SSH here: https://www.openssh.com/legacy.html&lt;br /&gt;
&lt;br /&gt;
The command line (SSH/Telnet) interface is &#039;&#039;&#039;not&#039;&#039;&#039; a standard UNIX shell, but a TP-LINK specific system described in the manual of the device.&lt;br /&gt;
&lt;br /&gt;
Manuals can be downloaded from the vendor&#039;s website here: http://www.tp-link.com/en/download/TL-SG2008.html&lt;br /&gt;
&lt;br /&gt;
Calafou specific configuration:&lt;br /&gt;
&lt;br /&gt;
* IP address 172.31.17.XYZ&lt;br /&gt;
* Hostname backboneXYZ (XYZ is the location, like &amp;quot;redhouse&amp;quot; for example)&lt;br /&gt;
* Telnet on (there is username/password authentication on this)&lt;br /&gt;
* SSH on&lt;br /&gt;
* NTP (Network Time Protocol) on, timezone CET, European daylight saving enabled&lt;br /&gt;
* STP on (rapid STP, also called rSTP)&lt;br /&gt;
&lt;br /&gt;
Authentication: same username and password on HTTP, HTTPS, TELNET and SSH.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Username&#039;&#039;&#039;: admin&lt;br /&gt;
* &#039;&#039;&#039;Password&#039;&#039;&#039;: you can find it in the calafou keyringer repository in the key file &amp;quot;calafou.lan.BackboneSwitches.asc&amp;quot;&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Network&amp;diff=6014</id>
		<title>Network</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Network&amp;diff=6014"/>
		<updated>2026-01-21T20:32:53Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Network documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Calafou network aims to provide connectivity and services to the local network and to the Internet on the whole territory of Calafou.&lt;br /&gt;
&lt;br /&gt;
[[File:Network-map.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Network documentation ==&lt;br /&gt;
Surely outdated :) In bold : the present page&lt;br /&gt;
* [[Network| Network General presentation]]&lt;br /&gt;
* [[Networking|Networking Technical configuration]]&lt;br /&gt;
* [[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
* [[Internal Channels of Communication (Cat, Cast, Eng)|Internal Channels of Communication and services provides]]&lt;br /&gt;
&lt;br /&gt;
== Old notes ==&lt;br /&gt;
* suk:/etc/hosts is the hosts file with all the devices on the network that have with a static IP.  It is necessary to have ssh access to suk in order to read (and write) it.&lt;br /&gt;
* http://bandrui.calafou/ is a bunch of HTML served from bandrui, the mediaserver .&lt;br /&gt;
** Link to Smokeping statistics page, that can be useful to diagnose network problems.&lt;br /&gt;
* Some other data is stored in git repositories hosted on GitLab:&lt;br /&gt;
** [https://gitlab.com/calafou/network-map/raw/master/mapa-red-calafou.svg Network Map] is an SVG file depicting the network topology. The best program to edit it is Inkscape.&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Network&amp;diff=6013</id>
		<title>Network</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Network&amp;diff=6013"/>
		<updated>2026-01-21T20:32:23Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Network documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Calafou network aims to provide connectivity and services to the local network and to the Internet on the whole territory of Calafou.&lt;br /&gt;
&lt;br /&gt;
[[File:Network-map.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Network documentation ==&lt;br /&gt;
Surely outdated :)&lt;br /&gt;
* [[Network| Network General presentation]]&lt;br /&gt;
* [[Networking|Networking Technical configuration]]&lt;br /&gt;
* [[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
* [[Internal Channels of Communication (Cat, Cast, Eng)|Internal Channels of Communication and services provides]]&lt;br /&gt;
&lt;br /&gt;
== Old notes ==&lt;br /&gt;
* suk:/etc/hosts is the hosts file with all the devices on the network that have with a static IP.  It is necessary to have ssh access to suk in order to read (and write) it.&lt;br /&gt;
* http://bandrui.calafou/ is a bunch of HTML served from bandrui, the mediaserver .&lt;br /&gt;
** Link to Smokeping statistics page, that can be useful to diagnose network problems.&lt;br /&gt;
* Some other data is stored in git repositories hosted on GitLab:&lt;br /&gt;
** [https://gitlab.com/calafou/network-map/raw/master/mapa-red-calafou.svg Network Map] is an SVG file depicting the network topology. The best program to edit it is Inkscape.&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Networking&amp;diff=6012</id>
		<title>Networking</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Networking&amp;diff=6012"/>
		<updated>2026-01-21T20:32:09Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Network @ Calafou ==&lt;br /&gt;
&lt;br /&gt;
== Network documentation ==&lt;br /&gt;
Surely outdated :)&lt;br /&gt;
* [[Network| Network General presentation]]&lt;br /&gt;
* [[Networking|Networking Technical configuration]]&lt;br /&gt;
* [[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
* [[Internal Channels of Communication (Cat, Cast, Eng)|Internal Channels of Communication and services provides]]&lt;br /&gt;
&lt;br /&gt;
== ISP ==&lt;br /&gt;
&lt;br /&gt;
== Backbone ==&lt;br /&gt;
&lt;br /&gt;
The backbone is a ring of managed switches and twisted pair Ethernet cables that is the central part of the Calafou IP network.&lt;br /&gt;
&lt;br /&gt;
=== Managed switches ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note: we are preparing these devices to put on the network so they are not installed in production yet.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TP-Link TL-SG2008 devices&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SSH access&#039;&#039;&#039;: this is tricky because the SSH server on the device is old. You have to enable legacy options to connect:&lt;br /&gt;
&lt;br /&gt;
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss admin@172.31.17.XYZ&lt;br /&gt;
&lt;br /&gt;
You can learn more about using legacy options with SSH here: https://www.openssh.com/legacy.html&lt;br /&gt;
&lt;br /&gt;
The command line (SSH/Telnet) interface is &#039;&#039;&#039;not&#039;&#039;&#039; a standard UNIX shell, but a TP-LINK specific system described in the manual of the device.&lt;br /&gt;
&lt;br /&gt;
Manuals can be downloaded from the vendor&#039;s website here: http://www.tp-link.com/en/download/TL-SG2008.html&lt;br /&gt;
&lt;br /&gt;
Calafou specific configuration:&lt;br /&gt;
&lt;br /&gt;
* IP address 172.31.17.XYZ&lt;br /&gt;
* Hostname backboneXYZ (XYZ is the location, like &amp;quot;redhouse&amp;quot; for example)&lt;br /&gt;
* Telnet on (there is username/password authentication on this)&lt;br /&gt;
* SSH on&lt;br /&gt;
* NTP (Network Time Protocol) on, timezone CET, European daylight saving enabled&lt;br /&gt;
* STP on (rapid STP, also called rSTP)&lt;br /&gt;
&lt;br /&gt;
Authentication: same username and password on HTTP, HTTPS, TELNET and SSH.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Username&#039;&#039;&#039;: admin&lt;br /&gt;
* &#039;&#039;&#039;Password&#039;&#039;&#039;: you can find it in the calafou keyringer repository in the key file &amp;quot;calafou.lan.BackboneSwitches.asc&amp;quot;&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Network&amp;diff=6011</id>
		<title>Network</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Network&amp;diff=6011"/>
		<updated>2026-01-21T20:30:27Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Network documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Calafou network aims to provide connectivity and services to the local network and to the Internet on the whole territory of Calafou.&lt;br /&gt;
&lt;br /&gt;
[[File:Network-map.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Network documentation ==&lt;br /&gt;
Surely outdated :)&lt;br /&gt;
* [https://wiki.calafou.org/index.php?title=Network| Network : General presentation]&lt;br /&gt;
* [[Networking|Networking : Technical configuration]]&lt;br /&gt;
* [[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
* [[Internal Channels of Communication (Cat, Cast, Eng)|Internal Channels of Communication and services provides]]&lt;br /&gt;
&lt;br /&gt;
== Old notes ==&lt;br /&gt;
* suk:/etc/hosts is the hosts file with all the devices on the network that have with a static IP.  It is necessary to have ssh access to suk in order to read (and write) it.&lt;br /&gt;
* http://bandrui.calafou/ is a bunch of HTML served from bandrui, the mediaserver .&lt;br /&gt;
** Link to Smokeping statistics page, that can be useful to diagnose network problems.&lt;br /&gt;
* Some other data is stored in git repositories hosted on GitLab:&lt;br /&gt;
** [https://gitlab.com/calafou/network-map/raw/master/mapa-red-calafou.svg Network Map] is an SVG file depicting the network topology. The best program to edit it is Inkscape.&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Network&amp;diff=6010</id>
		<title>Network</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Network&amp;diff=6010"/>
		<updated>2026-01-21T20:27:22Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Calafou network aims to provide connectivity and services to the local network and to the Internet on the whole territory of Calafou.&lt;br /&gt;
&lt;br /&gt;
[[File:Network-map.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Network documentation ==&lt;br /&gt;
Surely outdated :)&lt;br /&gt;
* [[Network|Network : general presentation]]&lt;br /&gt;
* [[Networking|Networking : Technical configuration]]&lt;br /&gt;
* [[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
* [[Internal Channels of Communication (Cat, Cast, Eng)|Internal Channels of Communication and services provides]]&lt;br /&gt;
&lt;br /&gt;
== Old notes ==&lt;br /&gt;
* suk:/etc/hosts is the hosts file with all the devices on the network that have with a static IP.  It is necessary to have ssh access to suk in order to read (and write) it.&lt;br /&gt;
* http://bandrui.calafou/ is a bunch of HTML served from bandrui, the mediaserver .&lt;br /&gt;
** Link to Smokeping statistics page, that can be useful to diagnose network problems.&lt;br /&gt;
* Some other data is stored in git repositories hosted on GitLab:&lt;br /&gt;
** [https://gitlab.com/calafou/network-map/raw/master/mapa-red-calafou.svg Network Map] is an SVG file depicting the network topology. The best program to edit it is Inkscape.&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Network&amp;diff=6009</id>
		<title>Network</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Network&amp;diff=6009"/>
		<updated>2026-01-21T20:20:57Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Calafou network aims to provide connectivity to the local network and to the Internet on the whole territory of Calafou.&lt;br /&gt;
&lt;br /&gt;
[[File:Network-map.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
Documentation about the network is perpetually out of date and exists in different places:&lt;br /&gt;
&lt;br /&gt;
[[Networking|Networking : Technical configuration]]&lt;br /&gt;
&lt;br /&gt;
[[PlugNewNetworkDevice|Plug New Network Device]]&lt;br /&gt;
&lt;br /&gt;
* suk:/etc/hosts is the hosts file with all the devices on the network that have with a static IP.  It is necessary to have ssh access to suk in order to read (and write) it.&lt;br /&gt;
* http://omnius.calafou/ is a bunch of HTML served from omnius, the mediaserver.&lt;br /&gt;
** Howto for making your backups of your computer to jabba, which is the backup server.&lt;br /&gt;
      [more info about jabba on : http://omnius.calafou:9001/p/jabba]&lt;br /&gt;
** Link to Smokeping statistics page, that can be useful to diagnose network problems.&lt;br /&gt;
* Some other data is stored in git repositories hosted on GitLab:&lt;br /&gt;
** [https://gitlab.com/calafou/network-map/raw/master/mapa-red-calafou.svg Network Map] is an SVG file depicting the network topology. The best program to edit it is Inkscape.&lt;br /&gt;
** All passwords used on the network should be in a [https://keyringer.pw/ keyringer] [https://gitlab.com/calafou/keyringer repository].&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6008</id>
		<title>Un sitio web auto-alojada en apache y grav</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6008"/>
		<updated>2026-01-12T22:38:40Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Config ok for upload */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;relationada con el project [[Una_pagina_web_auto-alojada_de_bajo_consumo|Una pagina web auto alojada de bajo consumo]]&lt;br /&gt;
&lt;br /&gt;
== Apache ==&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install htop nload iotop mcrypt curl unzip rsync git&lt;br /&gt;
  sudo apt install apache2 php&lt;br /&gt;
  sudo a2ensite webcalafou.conf&lt;br /&gt;
  sudo chown -R www-data: webcalafou/&lt;br /&gt;
  sudo apt install php-curl php-gd php-mbstring php-intl php-xml php-zip&lt;br /&gt;
  sudo a2enmod rewrite&lt;br /&gt;
  sudo a2enmod proxy proxy_fcgi rewrite&lt;br /&gt;
  sudo apt install php8.4-fpm&lt;br /&gt;
  sudo a2enmod proxy_fcgi setenvif&lt;br /&gt;
  sudo a2enconf php8.4-fpm&lt;br /&gt;
&lt;br /&gt;
Para optimisar el apache https://blog.pascal-mietlicki.fr/diagnostic-et-optimisation-dapache/&lt;br /&gt;
&lt;br /&gt;
==Grav==&lt;br /&gt;
* Install grav https://learn.getgrav.org/17/basics/installation&lt;br /&gt;
  cd /var/www/webcalafou&lt;br /&gt;
  wget https://getgrav.org/download/core/grav/latest&lt;br /&gt;
  unzip latest&lt;br /&gt;
  rm latest&lt;br /&gt;
  chown -R www-data: webcalafou/&lt;br /&gt;
  apt install php-curl php-gd php-mbstring php-intl php-xml php-zip php-yaml&lt;br /&gt;
  a2enmod rewrite&lt;br /&gt;
  nano apache2.conf&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;
        Options Indexes FollowSymLinks&lt;br /&gt;
        AllowOverride All &lt;br /&gt;
        Require all granted&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Page 404 https://learn.getgrav.org/17/troubleshooting/page-not-found&lt;br /&gt;
* Cache https://learn.getgrav.org/17/advanced/performance-and-caching &lt;br /&gt;
* Log https://learn.getgrav.org/17/advanced/debugging&lt;br /&gt;
* Permission https://learn.getgrav.org/17/troubleshooting/permissions&lt;br /&gt;
* manegar los plugins in CLI como https://github.com/Flamenco/grav-admin-media-actions&lt;br /&gt;
  sudo -u www-data bin/gpm install admin-media-move&lt;br /&gt;
* Cambiar la imagen del header (hero) https://getgrav.org/premium/typhoon/docs?target=_blank#hero-defaults&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Script a exec a donde ha y el grav&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  chown -R www-data:www-data .&lt;br /&gt;
  find . -type f -exec chmod 664 {} \;&lt;br /&gt;
  find ./bin -type f -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod +s {} \;&lt;br /&gt;
&lt;br /&gt;
== Config ok for upload ==&lt;br /&gt;
Debian 13 en un contenidor LXC &amp;lt; proxy apache&lt;br /&gt;
&lt;br /&gt;
install backup grav&lt;br /&gt;
&lt;br /&gt;
unzip backup--20251008003223.zip&lt;br /&gt;
&lt;br /&gt;
fix perm&lt;br /&gt;
&lt;br /&gt;
add :&lt;br /&gt;
  RemoveHandler .var&lt;br /&gt;
to .htaccess&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6007</id>
		<title>Un sitio web auto-alojada en apache y grav</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6007"/>
		<updated>2026-01-12T22:22:18Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Config ok for upload */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;relationada con el project [[Una_pagina_web_auto-alojada_de_bajo_consumo|Una pagina web auto alojada de bajo consumo]]&lt;br /&gt;
&lt;br /&gt;
== Apache ==&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install htop nload iotop mcrypt curl unzip rsync git&lt;br /&gt;
  sudo apt install apache2 php&lt;br /&gt;
  sudo a2ensite webcalafou.conf&lt;br /&gt;
  sudo chown -R www-data: webcalafou/&lt;br /&gt;
  sudo apt install php-curl php-gd php-mbstring php-intl php-xml php-zip&lt;br /&gt;
  sudo a2enmod rewrite&lt;br /&gt;
  sudo a2enmod proxy proxy_fcgi rewrite&lt;br /&gt;
  sudo apt install php8.4-fpm&lt;br /&gt;
  sudo a2enmod proxy_fcgi setenvif&lt;br /&gt;
  sudo a2enconf php8.4-fpm&lt;br /&gt;
&lt;br /&gt;
Para optimisar el apache https://blog.pascal-mietlicki.fr/diagnostic-et-optimisation-dapache/&lt;br /&gt;
&lt;br /&gt;
==Grav==&lt;br /&gt;
* Install grav https://learn.getgrav.org/17/basics/installation&lt;br /&gt;
  cd /var/www/webcalafou&lt;br /&gt;
  wget https://getgrav.org/download/core/grav/latest&lt;br /&gt;
  unzip latest&lt;br /&gt;
  rm latest&lt;br /&gt;
  chown -R www-data: webcalafou/&lt;br /&gt;
  apt install php-curl php-gd php-mbstring php-intl php-xml php-zip php-yaml&lt;br /&gt;
  a2enmod rewrite&lt;br /&gt;
  nano apache2.conf&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;
        Options Indexes FollowSymLinks&lt;br /&gt;
        AllowOverride All &lt;br /&gt;
        Require all granted&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Page 404 https://learn.getgrav.org/17/troubleshooting/page-not-found&lt;br /&gt;
* Cache https://learn.getgrav.org/17/advanced/performance-and-caching &lt;br /&gt;
* Log https://learn.getgrav.org/17/advanced/debugging&lt;br /&gt;
* Permission https://learn.getgrav.org/17/troubleshooting/permissions&lt;br /&gt;
* manegar los plugins in CLI como https://github.com/Flamenco/grav-admin-media-actions&lt;br /&gt;
  sudo -u www-data bin/gpm install admin-media-move&lt;br /&gt;
* Cambiar la imagen del header (hero) https://getgrav.org/premium/typhoon/docs?target=_blank#hero-defaults&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Script a exec a donde ha y el grav&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  chown -R www-data:www-data .&lt;br /&gt;
  find . -type f -exec chmod 664 {} \;&lt;br /&gt;
  find ./bin -type f -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod +s {} \;&lt;br /&gt;
&lt;br /&gt;
== Config ok for upload ==&lt;br /&gt;
Debian 13 en un contenidor LXC &amp;lt; proxy apache&lt;br /&gt;
&lt;br /&gt;
install backup grav&lt;br /&gt;
&lt;br /&gt;
unzip backup--20251008003223.zip&lt;br /&gt;
&lt;br /&gt;
fix perm&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6006</id>
		<title>Un sitio web auto-alojada en apache y grav</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6006"/>
		<updated>2026-01-11T23:44:19Z</updated>

		<summary type="html">&lt;p&gt;B01: /* Grav */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;relationada con el project [[Una_pagina_web_auto-alojada_de_bajo_consumo|Una pagina web auto alojada de bajo consumo]]&lt;br /&gt;
&lt;br /&gt;
== Apache ==&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install htop nload iotop mcrypt curl unzip rsync git&lt;br /&gt;
  sudo apt install apache2 php&lt;br /&gt;
  sudo a2ensite webcalafou.conf&lt;br /&gt;
  sudo chown -R www-data: webcalafou/&lt;br /&gt;
  sudo apt install php-curl php-gd php-mbstring php-intl php-xml php-zip&lt;br /&gt;
  sudo a2enmod rewrite&lt;br /&gt;
  sudo a2enmod proxy proxy_fcgi rewrite&lt;br /&gt;
  sudo apt install php8.4-fpm&lt;br /&gt;
  sudo a2enmod proxy_fcgi setenvif&lt;br /&gt;
  sudo a2enconf php8.4-fpm&lt;br /&gt;
&lt;br /&gt;
Para optimisar el apache https://blog.pascal-mietlicki.fr/diagnostic-et-optimisation-dapache/&lt;br /&gt;
&lt;br /&gt;
==Grav==&lt;br /&gt;
* Install grav https://learn.getgrav.org/17/basics/installation&lt;br /&gt;
  cd /var/www/webcalafou&lt;br /&gt;
  wget https://getgrav.org/download/core/grav/latest&lt;br /&gt;
  unzip latest&lt;br /&gt;
  rm latest&lt;br /&gt;
  chown -R www-data: webcalafou/&lt;br /&gt;
  apt install php-curl php-gd php-mbstring php-intl php-xml php-zip php-yaml&lt;br /&gt;
  a2enmod rewrite&lt;br /&gt;
  nano apache2.conf&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;
        Options Indexes FollowSymLinks&lt;br /&gt;
        AllowOverride All &lt;br /&gt;
        Require all granted&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Page 404 https://learn.getgrav.org/17/troubleshooting/page-not-found&lt;br /&gt;
* Cache https://learn.getgrav.org/17/advanced/performance-and-caching &lt;br /&gt;
* Log https://learn.getgrav.org/17/advanced/debugging&lt;br /&gt;
* Permission https://learn.getgrav.org/17/troubleshooting/permissions&lt;br /&gt;
* manegar los plugins in CLI como https://github.com/Flamenco/grav-admin-media-actions&lt;br /&gt;
  sudo -u www-data bin/gpm install admin-media-move&lt;br /&gt;
* Cambiar la imagen del header (hero) https://getgrav.org/premium/typhoon/docs?target=_blank#hero-defaults&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Script a exec a donde ha y el grav&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  chown -R www-data:www-data .&lt;br /&gt;
  find . -type f -exec chmod 664 {} \;&lt;br /&gt;
  find ./bin -type f -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod +s {} \;&lt;br /&gt;
&lt;br /&gt;
== Config ok for upload ==&lt;br /&gt;
Debian 13 en un contenidor LXC &amp;lt; proxy apache&lt;br /&gt;
&lt;br /&gt;
extract backup--20251008003223.zip&lt;br /&gt;
&lt;br /&gt;
fix perm&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
	<entry>
		<id>http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6005</id>
		<title>Un sitio web auto-alojada en apache y grav</title>
		<link rel="alternate" type="text/html" href="http://wiki.calafou.org//index.php?title=Un_sitio_web_auto-alojada_en_apache_y_grav&amp;diff=6005"/>
		<updated>2026-01-11T23:14:00Z</updated>

		<summary type="html">&lt;p&gt;B01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;relationada con el project [[Una_pagina_web_auto-alojada_de_bajo_consumo|Una pagina web auto alojada de bajo consumo]]&lt;br /&gt;
&lt;br /&gt;
== Apache ==&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install htop nload iotop mcrypt curl unzip rsync git&lt;br /&gt;
  sudo apt install apache2 php&lt;br /&gt;
  sudo a2ensite webcalafou.conf&lt;br /&gt;
  sudo chown -R www-data: webcalafou/&lt;br /&gt;
  sudo apt install php-curl php-gd php-mbstring php-intl php-xml php-zip&lt;br /&gt;
  sudo a2enmod rewrite&lt;br /&gt;
  sudo a2enmod proxy proxy_fcgi rewrite&lt;br /&gt;
  sudo apt install php8.4-fpm&lt;br /&gt;
  sudo a2enmod proxy_fcgi setenvif&lt;br /&gt;
  sudo a2enconf php8.4-fpm&lt;br /&gt;
&lt;br /&gt;
Para optimisar el apache https://blog.pascal-mietlicki.fr/diagnostic-et-optimisation-dapache/&lt;br /&gt;
&lt;br /&gt;
==Grav==&lt;br /&gt;
* Install grav https://learn.getgrav.org/17/basics/installation&lt;br /&gt;
  cd /var/www/webcalafou&lt;br /&gt;
  wget https://getgrav.org/download/core/grav/latest&lt;br /&gt;
  unzip latest&lt;br /&gt;
  rm latest&lt;br /&gt;
  chown -R www-data: webcalafou/&lt;br /&gt;
  apt install php-curl php-gd php-mbstring php-intl php-xml php-zip php-yaml&lt;br /&gt;
  a2enmod rewrite&lt;br /&gt;
  nano apache2.conf&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;
        Options Indexes FollowSymLinks&lt;br /&gt;
        AllowOverride All &lt;br /&gt;
        Require all granted&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Page 404 https://learn.getgrav.org/17/troubleshooting/page-not-found&lt;br /&gt;
* Cache https://learn.getgrav.org/17/advanced/performance-and-caching &lt;br /&gt;
* Log https://learn.getgrav.org/17/advanced/debugging&lt;br /&gt;
* Permission https://learn.getgrav.org/17/troubleshooting/permissions&lt;br /&gt;
* manegar los plugins in CLI como https://github.com/Flamenco/grav-admin-media-actions&lt;br /&gt;
  sudo -u www-data bin/gpm install admin-media-move&lt;br /&gt;
* Cambiar la imagen del header (hero) https://getgrav.org/premium/typhoon/docs?target=_blank#hero-defaults&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Script a exec a donde ha y el grav&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  chown -R www-data:www-data .&lt;br /&gt;
  find . -type f -exec chmod 664 {} \;&lt;br /&gt;
  find ./bin -type f -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod 775 {} \;&lt;br /&gt;
  find . -type d -exec chmod +s {} \;&lt;br /&gt;
&lt;br /&gt;
=== Config ok for upload ===&lt;br /&gt;
Debian 13 en un contenidor LXC &amp;lt; proxy apache&lt;br /&gt;
&lt;br /&gt;
extract backup--20251008003223.zip&lt;br /&gt;
&lt;br /&gt;
fix perm&lt;/div&gt;</summary>
		<author><name>B01</name></author>
	</entry>
</feed>