User Tools

Site Tools


computing:castopod

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:castopod [2026/05/29 22:10] oemb1905computing:castopod [2026/05/29 23:21] (current) oemb1905
Line 11: Line 11:
 ------------------------------------------- -------------------------------------------
  
-This tutorial is for Debian users wanting to set up a production-ready Castopod instance. Make sure you have a [[wiki.haacksnetworking.org/doku.php?id=computing:apachesurvival|sufficiently hardened]] VPS and LAMP stack first, then proceed:+This tutorial is for Debian users wanting to set up a production-ready Castopod instance. Make sure you have a [[https://wiki.haacksnetworking.org/doku.php?id=computing:apachesurvival|sufficiently hardened]] VPS and LAMP stack first, then proceed:
  
 <code> <code>
Line 24: Line 24:
 sudo chown -R www-data:www-data /var/www/gnulinux.news/public_html sudo chown -R www-data:www-data /var/www/gnulinux.news/public_html
 sudo chmod -R 755 /var/www/gnulinux.news/public_html sudo chmod -R 755 /var/www/gnulinux.news/public_html
 +sudo chown -R www-data:www-data /var/www/gnulinux.news/public_html/writable
 +sudo chmod -R 775 /var/www/gnulinux.news/public_html/writable
 sudo apache2ctl configtest sudo apache2ctl configtest
 sudo systemctl restart apache2 php8.4-fpm sudo systemctl restart apache2 php8.4-fpm
Line 116: Line 118:
 email.fromName="GNU/Linux News" email.fromName="GNU/Linux News"
 email.protocol="mail" email.protocol="mail"
 +</code>
 +
 +Regular cron maintenance is as follows:
 +
 +<code>
 +#castopod spark
 +* * * * * /usr/bin/php /var/www/gnulinux.news/public_html/spark tasks:run >> /dev/null 2>&1
 +#casto cleanup
 +0 3 * * * find /var/www/gnulinux.news/public_html/writable/temp -type f -mtime +7 -delete >/dev/null 2>&1
 +0 3 * * * find /var/www/gnulinux.news/public_html/writable/session -type f -mtime +2 -delete >/dev/null 2>&1
 </code> </code>
  
 Once you have configured everything, visit ''https://gnulinux.news/cp-install'' and choose your super admin credentials. Alright folks, enjoy! Once you have configured everything, visit ''https://gnulinux.news/cp-install'' and choose your super admin credentials. Alright folks, enjoy!
  
- --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/05/29 21:51//+ --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/05/29 23:21//
computing/castopod.1780092651.txt.gz · Last modified: by oemb1905