From 9c9134eb581962a956595b298be521b1a699645a Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sat, 11 Sep 2021 04:13:33 -0700 Subject: [PATCH] add debian-11-ttrss --- docs/posts/debian-11-ttrss.md | 138 ++ mkdocs.yml | 2 + site/404.html | 26 +- site/feed_rss_created.xml | 2 +- site/feed_rss_updated.xml | 2 +- site/index.html | 46 +- site/links/index.html | 30 +- site/posts/apache-virtual-hosts/index.html | 26 +- .../clear-linux-encrypted-xfs-root/index.html | 26 +- .../clear-linux-guest-virt-manager/index.html | 26 +- site/posts/debian-11-ttrss/index.html | 1834 +++++++++++++++++ .../index.html | 26 +- .../index.html | 26 +- .../index.html | 26 +- .../lmde3-xfs-full-disk-encryption/index.html | 26 +- .../index.html | 26 +- site/posts/prosody-photo-uploads/index.html | 26 +- .../index.html | 26 +- .../index.html | 26 +- .../simplified-raspberry-streaming/index.html | 26 +- site/posts/test-qr-svg-django/index.html | 26 +- .../posts/trents-favorite-podcasts/index.html | 30 +- site/posts/xmpp-apt-notifications/index.html | 26 +- site/rss/index.html | 26 +- site/search/search_index.json | 2 +- site/sitemap.xml | 5 + site/sitemap.xml.gz | Bin 896 -> 907 bytes .../podcasts/ask-noah-show/index.html | 42 +- site/snippets/podcasts/bohemican/index.html | 42 +- site/snippets/podcasts/coder-radio/index.html | 42 +- .../podcasts/destination-linux/index.html | 42 +- site/snippets/podcasts/django-chat/index.html | 42 +- .../snippets/podcasts/django-riffs/index.html | 42 +- .../engines-of-our-ingenuity/index.html | 42 +- .../snippets/podcasts/floss-weekly/index.html | 42 +- .../podcasts/gnu-world-order/index.html | 42 +- .../podcasts/hardcore-history/index.html | 42 +- .../podcasts/history-of-germany/index.html | 42 +- .../podcasts/in-our-time-history/index.html | 42 +- .../index.html | 42 +- .../podcasts/late-night-linux/index.html | 42 +- .../podcasts/linux-action-news/index.html | 42 +- .../snippets/podcasts/linux-inlaws/index.html | 42 +- .../podcasts/linux-unplugged/index.html | 42 +- site/snippets/podcasts/minipc/index.html | 42 +- site/snippets/podcasts/mintcast/index.html | 42 +- site/snippets/podcasts/no-agenda/index.html | 42 +- .../podcasts/open-source-voices/index.html | 42 +- .../snippets/podcasts/python-bytes/index.html | 42 +- .../podcasts/react-podcast/index.html | 42 +- .../podcasts/scholars-and-sense/index.html | 42 +- site/snippets/podcasts/self-hosted/index.html | 42 +- .../sunday-morning-linux-review/index.html | 42 +- site/snippets/podcasts/syntax/index.html | 42 +- .../podcasts/talk-python-to-me/index.html | 42 +- .../podcasts/talking-kotlin/index.html | 42 +- .../the-history-of-ancient-greece/index.html | 42 +- .../podcasts/the-matt-freire-show/index.html | 42 +- .../the-mike-dominick-show/index.html | 42 +- .../podcasts/two-dot-five-admins/index.html | 42 +- .../podcasts/ubuntu-podcast/index.html | 42 +- .../wittenberg-to-westphalia/index.html | 42 +- .../podcasts/youre-dead-to-me/index.html | 42 +- 63 files changed, 3955 insertions(+), 64 deletions(-) create mode 100644 docs/posts/debian-11-ttrss.md create mode 100644 site/posts/debian-11-ttrss/index.html diff --git a/docs/posts/debian-11-ttrss.md b/docs/posts/debian-11-ttrss.md new file mode 100644 index 0000000..85fcbfb --- /dev/null +++ b/docs/posts/debian-11-ttrss.md @@ -0,0 +1,138 @@ +--- +title: "TT-RSS on Debian 11" +date: 2021-09-11 +draft: false +tags: ["rss", "debian", "tt-rss", "apache"] +authors: ["trent"] +post: 21 +--- +date: 2021-09-11 + +## **Introduction** +Install [tt-rss](https://tt-rss.org/){target=_blank} +on Debian 11 the Debian way. +### Why? +Debian packages [tt-rss](https://tt-rss.org/){target=_blank}, +so unlike instructions you +may find elsewhere, you can depend on the Debian Maintainers +to look out for security concerns. And it's easier to install this way. + +And if I may say, tt-rss runs really well. It's been around +for many years now, and the smartphones and vps hosts +continue getting more powerful. + +## Apache +Install apache2 web server: `apt install apache2` +### Lan +If you are installing in a virtual machine on your lan, +then this is all you need to do; i.e. later after you +have finished installing tt-rss, you will find the following +in `/etc/tt-rss/apache.conf`: + +* `Alias /tt-rss /usr/share/tt-rss/www` + +### Wan +If you deploy on a vps, for instance Linode has Debian 11 images, +you definitely want to setup Let's Encrypt Certs. + +#### Create a virtual host +```apache +# /etc/apache2/sites-available/005-rss.example.com.conf + + ServerName rss.example.com + ServerAdmin webmaster@localhost + DocumentRoot /var/www/html + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + +``` +Activate the new virtual host: + +* `a2ensite 005-rss.example.com.conf` +* `systemctl reload apache2` +#### Certbot +* install certbot: `apt install python3-certbot-apache` +* get certificate `certbot --apache -d rss.example.com` +##### Verify Certbot Request +Your virtual host has been modified. +```apache +# /etc/apache2/sites-available/005-rss.example.com.conf + + ServerName rss.example.com + ServerAdmin webmaster@localhost + DocumentRoot /var/www/html + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined +RewriteEngine on +RewriteCond %{SERVER_NAME} =rss.example.com +RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] + +``` +Furthermore, a new virtual host has been created and enabled. +```apache +# /etc/apache2/sites-available/005-rss.example.com-le-ssl.conf + + + ServerName rss.example.com + ServerAdmin webmaster@localhost + DocumentRoot /var/www/html + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + +SSLCertificateFile /etc/letsencrypt/live/rss.example.com/fullchain.pem +SSLCertificateKeyFile /etc/letsencrypt/live/rss.example.com/privkey.pem +Include /etc/letsencrypt/options-ssl-apache.conf + + +``` +And you should now have a systemd timer to automatically renew your certs: +```shell +/etc/systemd/system/timers.target.wants/certbot.timer -> /lib/systemd/system/certbot.timer +``` +#### CatchAll VirtualHost +You can prevent apache from responding to incorrect subdomains +by adding a CatchAll virtual host and enabling it. +```apache +# /etc/apache2/sites-available/999-catchall.conf + + ServerName null + ServerAlias * + + Redirect 404 / + + + + ServerName null + ServerAlias * + + Redirect 404 / + +``` + +## MariaDB +* Install mariadb: `apt install mariadb-server` +* Setup mariadb: `mysql_secure_installation` + +As far as running `mysql_secure_installation`, I would +imagine that you want to remove anonymous users, +disallow root login remotely, remove the test +database, and reload the privilege table. + +## TT-RSS +After installing apache2 and mariadb, install tt-rss: +`apt install tt-rss`. You will be prompted 3 times +by dpkg-configure, but it will be obvious what to do. + +You're done! Open +`http://examplelanhost/tt-rss` or `https://rss.example.com/tt-rss`, login with the default +admin:password and have fun playing with your server. +I particularly appreciate the 2fa and opml import. + +In order to use the Android application check +_enable API_ in _preferences_. + +All the best blogs still have rss feeds. If you can't +find the rss feed for a blog, type ++ctrl+u++ to +show page source and look for rss feed url in the +head section. Alternately on a mobile phone you can +prepend the url with `view-source:`. diff --git a/mkdocs.yml b/mkdocs.yml index 79e15a4..bf6147a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -24,6 +24,7 @@ markdown_extensions: nav: - Home: - Home: index.md + - "Debian 11 TT-RSS": posts/debian-11-ttrss.md - "Trent's Favorite Podcasts": posts/trents-favorite-podcasts.md - "Test QR SVG Django": posts/test-qr-svg-django.md - "Prosody Photo Uploads": posts/prosody-photo-uploads.md @@ -57,6 +58,7 @@ nav: - FreeCodeCampChallenges: https://trentspalmer.github.io/fcc-challenges/ - DeviceLayout: https://trentpalmer.work/6a57bbe24d8244289610bf57533d6c6f/ - Posts: + - "Debian 11 TT-RSS": posts/debian-11-ttrss.md - "Trent's Favorite Podcasts": posts/trents-favorite-podcasts.md - "Test QR SVG Django": posts/test-qr-svg-django.md - "Prosody Photo Uploads": posts/prosody-photo-uploads.md diff --git a/site/404.html b/site/404.html index b62594f..174c51b 100644 --- a/site/404.html +++ b/site/404.html @@ -240,7 +240,7 @@
  • - + Posts
  • @@ -414,6 +414,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -864,6 +876,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/feed_rss_created.xml b/site/feed_rss_created.xml index 93931da..4364e22 100644 --- a/site/feed_rss_created.xml +++ b/site/feed_rss_created.xml @@ -1 +1 @@ - Trent's BlogTrent's blog of mostly technical documentations.https://blog.trentsonlinedocs.xyz/en Sat, 11 Sep 2021 03:25:47 -0000 Sat, 11 Sep 2021 03:25:47 -0000 1440 MkDocs RSS plugin - v0.17.0 Trent's Favorite Podcasts trent <p>date: 2021-07-23</p><h2><strong>Introduction</strong></h2><p>Someone asked me 10 years ago what are my favorite podcasts, so here you go.Note that a lot of podcasts tend to improv...</p>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Sun, 25 Jul 2021 10:38:54 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Test QR SVG Django trent <p>date: 2021-04-19</p><h2><strong>Introduction</strong></h2><p>I worked out a solution in django-testing, for testing a view that renders a qrcodeas an svg as an inline svg xml stri...</p>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Tue, 20 Apr 2021 02:23:27 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Prosody Photo Uploads trent <p>date: 2021-01-25</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://prosody.im/">prosody</a>{target=_blank} on <a href="https://www.debian.org/">Debian 10</a>{target=_blank}with phot...</p>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Mon, 25 Jan 2021 16:37:39 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ XMPP Apt Notification trent <p>date: 2021-01-09</p><h2><strong>Introduction</strong></h2><p>In order to save yourself the work of checking your computer forupdates, configure it to send you a weekly notificatio...</p>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Sun, 10 Jan 2021 00:45:08 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Apache Virtual Hosts trent john joe <p>date: 2020-12-20</p><h2><strong>Use Virtual Hosts</strong></h2><p>This is a very useful way to keep your server organized.</p><h2><strong>Virtual Hosts On Your Lan</strong></h2><p>You can practice on you...</p>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Sun, 20 Dec 2020 05:16:22 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ SENDXMPP Handler for Python Logging trent <p>date: 2020-12-19</p><h2><strong>SENDXMPPHandler for Python Logging</strong></h2><p>&lt;script src="https://gist.github.com/adc541a6245d55e39edd10dab1001a88.js?file= SENDXMPPHandler.md...</p>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Sat, 19 Dec 2020 11:47:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Instruction For Tethering From Phone trent <p>date: 2020-12-17</p><h2><strong>Instructions</strong></h2><h3>Part One</h3><ol><li>Turn <strong>off</strong> blutooth on computer</li><li>Turn <strong>off</strong> blutooth on phone</li><li>Turn <strong>off</strong> Wifi on phone</li></ol><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Thu, 17 Dec 2020 23:07:51 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ LMDE4 Custom Partitions for Disk Encryption trent <p>date: 2020-12-15</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite pleasa...</p>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Wed, 16 Dec 2020 00:28:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Clear Linux Encrypted XFS Root trent <p>date: 2019-04-13T21:44:37-07:00</p><h2><strong>Nothing to-it Burger</strong></h2><p>I had intended to create a technical explanation how to install Clear Linux with disk encryption,...</p>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Clear Linux Guest Virt Manager trent <p>date: 2019-03-11T01:39:09-07:00</p><h2><strong>Introduction</strong></h2><ul><li>download, convert, and resize the provided kvm-legacy image</li><li>create a virtual machine and launch it f...</li></ul>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Faster Partitioning with Sgdisk trent <p>date: 2019-02-11T04:23:52-08:00</p><h2><strong>Disclaimer</strong></h2><p>If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the production ...</p>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Linux Move Cursor With Keyboard trent <p>date: 2020-06-21T22:01:35-07:00</p><h2><strong>Introduction</strong></h2><p>Linux just makes everything so easy. On a laptop it can be tricky to place yourmouse cursor on exactly t...</p>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ LMDE3 XFS Full Disk Encryption trent <p>date: 2019-01-25T23:25:36-08:00</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result ...</p>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Rewrite Hugo Themes Report In Python trent <p>date: 2019-01-25T01:02:57-08:00</p><h2><strong>Ranking Hugo Themes by Stars, Commit Date</strong></h2><p>A while back I was grazing the selfhosted subreddit, and noticed Hugo comin...</p>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Simplified Raspberry Streaming trent <p>date: 2019-05-12T18:32:55-07:00</p><h2><strong>RaspberryPi is a Great MPD Appliance</strong></h2><p>I’m really pleased with the <a href="https://www.raspberrypi.org/">RaspberryPi</a>{target=_b...</p>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ \ No newline at end of file + Trent's BlogTrent's blog of mostly technical documentations.https://blog.trentsonlinedocs.xyz/en Sat, 11 Sep 2021 11:12:41 -0000 Sat, 11 Sep 2021 11:12:41 -0000 1440 MkDocs RSS plugin - v0.17.0 Debian 11 TT-RSS trent <p>date: 2021-09-11</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://tt-rss.org/">tt-rss</a>{target=_blank}on Debian 11 the Debian way.</p><h3>Why?</h3><p>Debian packages [tt-rss](htt...</p>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Sat, 11 Sep 2021 11:12:42 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Trent's Favorite Podcasts trent <p>date: 2021-07-23</p><h2><strong>Introduction</strong></h2><p>Someone asked me 10 years ago what are my favorite podcasts, so here you go.Note that a lot of podcasts tend to improv...</p>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Sun, 25 Jul 2021 10:38:54 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Test QR SVG Django trent <p>date: 2021-04-19</p><h2><strong>Introduction</strong></h2><p>I worked out a solution in django-testing, for testing a view that renders a qrcodeas an svg as an inline svg xml stri...</p>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Tue, 20 Apr 2021 02:23:27 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Prosody Photo Uploads trent <p>date: 2021-01-25</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://prosody.im/">prosody</a>{target=_blank} on <a href="https://www.debian.org/">Debian 10</a>{target=_blank}with phot...</p>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Mon, 25 Jan 2021 16:37:39 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ XMPP Apt Notification trent <p>date: 2021-01-09</p><h2><strong>Introduction</strong></h2><p>In order to save yourself the work of checking your computer forupdates, configure it to send you a weekly notificatio...</p>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Sun, 10 Jan 2021 00:45:08 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Apache Virtual Hosts trent john joe <p>date: 2020-12-20</p><h2><strong>Use Virtual Hosts</strong></h2><p>This is a very useful way to keep your server organized.</p><h2><strong>Virtual Hosts On Your Lan</strong></h2><p>You can practice on you...</p>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Sun, 20 Dec 2020 05:16:22 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ SENDXMPP Handler for Python Logging trent <p>date: 2020-12-19</p><h2><strong>SENDXMPPHandler for Python Logging</strong></h2><p>&lt;script src="https://gist.github.com/adc541a6245d55e39edd10dab1001a88.js?file= SENDXMPPHandler.md...</p>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Sat, 19 Dec 2020 11:47:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Instruction For Tethering From Phone trent <p>date: 2020-12-17</p><h2><strong>Instructions</strong></h2><h3>Part One</h3><ol><li>Turn <strong>off</strong> blutooth on computer</li><li>Turn <strong>off</strong> blutooth on phone</li><li>Turn <strong>off</strong> Wifi on phone</li></ol><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Thu, 17 Dec 2020 23:07:51 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ LMDE4 Custom Partitions for Disk Encryption trent <p>date: 2020-12-15</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite pleasa...</p>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Wed, 16 Dec 2020 00:28:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Clear Linux Encrypted XFS Root trent <p>date: 2019-04-13T21:44:37-07:00</p><h2><strong>Nothing to-it Burger</strong></h2><p>I had intended to create a technical explanation how to install Clear Linux with disk encryption,...</p>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Clear Linux Guest Virt Manager trent <p>date: 2019-03-11T01:39:09-07:00</p><h2><strong>Introduction</strong></h2><ul><li>download, convert, and resize the provided kvm-legacy image</li><li>create a virtual machine and launch it f...</li></ul>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Faster Partitioning with Sgdisk trent <p>date: 2019-02-11T04:23:52-08:00</p><h2><strong>Disclaimer</strong></h2><p>If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the production ...</p>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Linux Move Cursor With Keyboard trent <p>date: 2020-06-21T22:01:35-07:00</p><h2><strong>Introduction</strong></h2><p>Linux just makes everything so easy. On a laptop it can be tricky to place yourmouse cursor on exactly t...</p>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ LMDE3 XFS Full Disk Encryption trent <p>date: 2019-01-25T23:25:36-08:00</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result ...</p>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Rewrite Hugo Themes Report In Python trent <p>date: 2019-01-25T01:02:57-08:00</p><h2><strong>Ranking Hugo Themes by Stars, Commit Date</strong></h2><p>A while back I was grazing the selfhosted subreddit, and noticed Hugo comin...</p>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Simplified Raspberry Streaming trent <p>date: 2019-05-12T18:32:55-07:00</p><h2><strong>RaspberryPi is a Great MPD Appliance</strong></h2><p>I’m really pleased with the <a href="https://www.raspberrypi.org/">RaspberryPi</a>{target=_b...</p>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ \ No newline at end of file diff --git a/site/feed_rss_updated.xml b/site/feed_rss_updated.xml index 355136a..b49edb4 100644 --- a/site/feed_rss_updated.xml +++ b/site/feed_rss_updated.xml @@ -1 +1 @@ - Trent's BlogTrent's blog of mostly technical documentations.https://blog.trentsonlinedocs.xyz/en Sat, 11 Sep 2021 03:25:47 -0000 Sat, 11 Sep 2021 03:25:47 -0000 1440 MkDocs RSS plugin - v0.17.0 LMDE4 Custom Partitions for Disk Encryption trent <p>date: 2020-12-15</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite pleasa...</p>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Fri, 10 Sep 2021 22:25:48 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Trent's Favorite Podcasts trent <p>date: 2021-07-23</p><h2><strong>Introduction</strong></h2><p>Someone asked me 10 years ago what are my favorite podcasts, so here you go.Note that a lot of podcasts tend to improv...</p>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Sun, 25 Jul 2021 10:38:54 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Test QR SVG Django trent <p>date: 2021-04-19</p><h2><strong>Introduction</strong></h2><p>I worked out a solution in django-testing, for testing a view that renders a qrcodeas an svg as an inline svg xml stri...</p>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Tue, 20 Apr 2021 02:26:40 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Prosody Photo Uploads trent <p>date: 2021-01-25</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://prosody.im/">prosody</a>{target=_blank} on <a href="https://www.debian.org/">Debian 10</a>{target=_blank}with phot...</p>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Mon, 25 Jan 2021 16:37:39 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ XMPP Apt Notification trent <p>date: 2021-01-09</p><h2><strong>Introduction</strong></h2><p>In order to save yourself the work of checking your computer forupdates, configure it to send you a weekly notificatio...</p>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Sun, 10 Jan 2021 00:45:08 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Apache Virtual Hosts trent john joe <p>date: 2020-12-20</p><h2><strong>Use Virtual Hosts</strong></h2><p>This is a very useful way to keep your server organized.</p><h2><strong>Virtual Hosts On Your Lan</strong></h2><p>You can practice on you...</p>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Sun, 20 Dec 2020 05:16:22 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ SENDXMPP Handler for Python Logging trent <p>date: 2020-12-19</p><h2><strong>SENDXMPPHandler for Python Logging</strong></h2><p>&lt;script src="https://gist.github.com/adc541a6245d55e39edd10dab1001a88.js?file= SENDXMPPHandler.md...</p>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Sat, 19 Dec 2020 16:51:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Instruction For Tethering From Phone trent <p>date: 2020-12-17</p><h2><strong>Instructions</strong></h2><h3>Part One</h3><ol><li>Turn <strong>off</strong> blutooth on computer</li><li>Turn <strong>off</strong> blutooth on phone</li><li>Turn <strong>off</strong> Wifi on phone</li></ol><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Fri, 18 Dec 2020 04:28:57 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ LMDE3 XFS Full Disk Encryption trent <p>date: 2019-01-25T23:25:36-08:00</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result ...</p>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Wed, 16 Dec 2020 00:28:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Clear Linux Encrypted XFS Root trent <p>date: 2019-04-13T21:44:37-07:00</p><h2><strong>Nothing to-it Burger</strong></h2><p>I had intended to create a technical explanation how to install Clear Linux with disk encryption,...</p>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Clear Linux Guest Virt Manager trent <p>date: 2019-03-11T01:39:09-07:00</p><h2><strong>Introduction</strong></h2><ul><li>download, convert, and resize the provided kvm-legacy image</li><li>create a virtual machine and launch it f...</li></ul>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Faster Partitioning with Sgdisk trent <p>date: 2019-02-11T04:23:52-08:00</p><h2><strong>Disclaimer</strong></h2><p>If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the production ...</p>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Linux Move Cursor With Keyboard trent <p>date: 2020-06-21T22:01:35-07:00</p><h2><strong>Introduction</strong></h2><p>Linux just makes everything so easy. On a laptop it can be tricky to place yourmouse cursor on exactly t...</p>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Rewrite Hugo Themes Report In Python trent <p>date: 2019-01-25T01:02:57-08:00</p><h2><strong>Ranking Hugo Themes by Stars, Commit Date</strong></h2><p>A while back I was grazing the selfhosted subreddit, and noticed Hugo comin...</p>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Simplified Raspberry Streaming trent <p>date: 2019-05-12T18:32:55-07:00</p><h2><strong>RaspberryPi is a Great MPD Appliance</strong></h2><p>I’m really pleased with the <a href="https://www.raspberrypi.org/">RaspberryPi</a>{target=_b...</p>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ \ No newline at end of file + Trent's BlogTrent's blog of mostly technical documentations.https://blog.trentsonlinedocs.xyz/en Sat, 11 Sep 2021 11:12:41 -0000 Sat, 11 Sep 2021 11:12:41 -0000 1440 MkDocs RSS plugin - v0.17.0 Debian 11 TT-RSS trent <p>date: 2021-09-11</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://tt-rss.org/">tt-rss</a>{target=_blank}on Debian 11 the Debian way.</p><h3>Why?</h3><p>Debian packages [tt-rss](htt...</p>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Sat, 11 Sep 2021 11:12:42 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Apache Virtual Hosts trent john joe <p>date: 2020-12-20</p><h2><strong>Use Virtual Hosts</strong></h2><p>This is a very useful way to keep your server organized.</p><h2><strong>Virtual Hosts On Your Lan</strong></h2><p>You can practice on you...</p>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Clear Linux Encrypted XFS Root trent <p>date: 2019-04-13T21:44:37-07:00</p><h2><strong>Nothing to-it Burger</strong></h2><p>I had intended to create a technical explanation how to install Clear Linux with disk encryption,...</p>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Clear Linux Guest Virt Manager trent <p>date: 2019-03-11T01:39:09-07:00</p><h2><strong>Introduction</strong></h2><ul><li>download, convert, and resize the provided kvm-legacy image</li><li>create a virtual machine and launch it f...</li></ul>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Faster Partitioning with Sgdisk trent <p>date: 2019-02-11T04:23:52-08:00</p><h2><strong>Disclaimer</strong></h2><p>If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the production ...</p>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Instruction For Tethering From Phone trent <p>date: 2020-12-17</p><h2><strong>Instructions</strong></h2><h3>Part One</h3><ol><li>Turn <strong>off</strong> blutooth on computer</li><li>Turn <strong>off</strong> blutooth on phone</li><li>Turn <strong>off</strong> Wifi on phone</li></ol><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Linux Move Cursor With Keyboard trent <p>date: 2020-06-21T22:01:35-07:00</p><h2><strong>Introduction</strong></h2><p>Linux just makes everything so easy. On a laptop it can be tricky to place yourmouse cursor on exactly t...</p>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ LMDE3 XFS Full Disk Encryption trent <p>date: 2019-01-25T23:25:36-08:00</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result ...</p>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ LMDE4 Custom Partitions for Disk Encryption trent <p>date: 2020-12-15</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite pleasa...</p>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Prosody Photo Uploads trent <p>date: 2021-01-25</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://prosody.im/">prosody</a>{target=_blank} on <a href="https://www.debian.org/">Debian 10</a>{target=_blank}with phot...</p>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Rewrite Hugo Themes Report In Python trent <p>date: 2019-01-25T01:02:57-08:00</p><h2><strong>Ranking Hugo Themes by Stars, Commit Date</strong></h2><p>A while back I was grazing the selfhosted subreddit, and noticed Hugo comin...</p>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ SENDXMPP Handler for Python Logging trent <p>date: 2020-12-19</p><h2><strong>SENDXMPPHandler for Python Logging</strong></h2><p>&lt;script src="https://gist.github.com/adc541a6245d55e39edd10dab1001a88.js?file= SENDXMPPHandler.md...</p>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Simplified Raspberry Streaming trent <p>date: 2019-05-12T18:32:55-07:00</p><h2><strong>RaspberryPi is a Great MPD Appliance</strong></h2><p>I’m really pleased with the <a href="https://www.raspberrypi.org/">RaspberryPi</a>{target=_b...</p>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Test QR SVG Django trent <p>date: 2021-04-19</p><h2><strong>Introduction</strong></h2><p>I worked out a solution in django-testing, for testing a view that renders a qrcodeas an svg as an inline svg xml stri...</p>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Trent's Favorite Podcasts trent <p>date: 2021-07-23</p><h2><strong>Introduction</strong></h2><p>Someone asked me 10 years ago what are my favorite podcasts, so here you go.Note that a lot of podcasts tend to improv...</p>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ XMPP Apt Notification trent <p>date: 2021-01-09</p><h2><strong>Introduction</strong></h2><p>In order to save yourself the work of checking your computer forupdates, configure it to send you a weekly notificatio...</p>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ \ No newline at end of file diff --git a/site/index.html b/site/index.html index 83cd9f6..06fd39a 100644 --- a/site/index.html +++ b/site/index.html @@ -246,7 +246,7 @@
  • - + Posts
  • @@ -430,6 +430,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -880,6 +892,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -1293,6 +1317,10 @@ +
    + None +
    + @@ -1364,7 +1392,19 @@ + + + +
    + +

    Debian 11 TT-RSS

    +

    Created by: trent

    +

    Tags: ['rss', 'debian', 'tt-rss', 'apache']

    +

    date: 2021-09-11 Introduction Install tt-rss on Debian 11 the Debian way. Why? Debian packages tt-rss, so unlike instructions you may find...

    +
    +
    +
    @@ -1536,13 +1576,13 @@ -
  • + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -917,6 +929,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -1323,13 +1347,13 @@ -
  • + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -999,6 +1011,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/clear-linux-encrypted-xfs-root/index.html b/site/posts/clear-linux-encrypted-xfs-root/index.html index e8f6b95..88f59e4 100644 --- a/site/posts/clear-linux-encrypted-xfs-root/index.html +++ b/site/posts/clear-linux-encrypted-xfs-root/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -911,6 +923,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/clear-linux-guest-virt-manager/index.html b/site/posts/clear-linux-guest-virt-manager/index.html index 9d4c54c..a0b39c7 100644 --- a/site/posts/clear-linux-guest-virt-manager/index.html +++ b/site/posts/clear-linux-guest-virt-manager/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -925,6 +937,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/debian-11-ttrss/index.html b/site/posts/debian-11-ttrss/index.html new file mode 100644 index 0000000..0209e75 --- /dev/null +++ b/site/posts/debian-11-ttrss/index.html @@ -0,0 +1,1834 @@ + + + + + + + + + + + + + + + + + + + + + TT-RSS on Debian 11 - Trent's Blog + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + Skip to content + + +
    +
    + +
    + +
    + +
    + +
    + + + + + + + +
    +
    + + + +
    +
    +
    + + + + + + +
    +
    +
    + + + +
    +
    +
    + + +
    +
    +
    + + +
    +
    + + + + + +

    Debian 11 TT-RSS

    + +

    date: 2021-09-11

    +

    Introduction

    +

    Install tt-rss +on Debian 11 the Debian way.

    +

    Why?

    +

    Debian packages tt-rss, +so unlike instructions you +may find elsewhere, you can depend on the Debian Maintainers +to look out for security concerns. And it's easier to install this way.

    +

    And if I may say, tt-rss runs really well. It's been around +for many years now, and the smartphones and vps hosts +continue getting more powerful.

    +

    Apache

    +

    Install apache2 web server: apt install apache2

    +

    Lan

    +

    If you are installing in a virtual machine on your lan, +then this is all you need to do; i.e. later after you +have finished installing tt-rss, you will find the following +in /etc/tt-rss/apache.conf:

    +
      +
    • Alias /tt-rss /usr/share/tt-rss/www
    • +
    +

    Wan

    +

    If you deploy on a vps, for instance Linode has Debian 11 images, +you definitely want to setup Let's Encrypt Certs.

    +

    Create a virtual host

    +

    # /etc/apache2/sites-available/005-rss.example.com.conf
    +<VirtualHost *:80>
    +    ServerName rss.example.com
    +    ServerAdmin webmaster@localhost
    +    DocumentRoot /var/www/html
    +    ErrorLog ${APACHE_LOG_DIR}/error.log
    +    CustomLog ${APACHE_LOG_DIR}/access.log combined
    +</VirtualHost>
    +
    +Activate the new virtual host:

    +
      +
    • a2ensite 005-rss.example.com.conf
    • +
    • systemctl reload apache2
    • +
    +

    Certbot

    +
      +
    • install certbot: apt install python3-certbot-apache
    • +
    • get certificate certbot --apache -d rss.example.com
    • +
    +
    Verify Certbot Request
    +

    Your virtual host has been modified. +

    # /etc/apache2/sites-available/005-rss.example.com.conf
    +<VirtualHost *:80>
    +    ServerName rss.example.com
    +    ServerAdmin webmaster@localhost
    +    DocumentRoot /var/www/html
    +    ErrorLog ${APACHE_LOG_DIR}/error.log
    +    CustomLog ${APACHE_LOG_DIR}/access.log combined
    +RewriteEngine on
    +RewriteCond %{SERVER_NAME} =rss.example.com
    +RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
    +</VirtualHost>
    +
    +Furthermore, a new virtual host has been created and enabled. +
    # /etc/apache2/sites-available/005-rss.example.com-le-ssl.conf
    +<IfModule mod_ssl.c>
    +<VirtualHost *:443>
    +    ServerName rss.example.com
    +    ServerAdmin webmaster@localhost
    +    DocumentRoot /var/www/html
    +    ErrorLog ${APACHE_LOG_DIR}/error.log
    +    CustomLog ${APACHE_LOG_DIR}/access.log combined
    +
    +SSLCertificateFile /etc/letsencrypt/live/rss.example.com/fullchain.pem
    +SSLCertificateKeyFile /etc/letsencrypt/live/rss.example.com/privkey.pem
    +Include /etc/letsencrypt/options-ssl-apache.conf
    +</VirtualHost>
    +</IfModule>
    +
    +And you should now have a systemd timer to automatically renew your certs: +
    /etc/systemd/system/timers.target.wants/certbot.timer -> /lib/systemd/system/certbot.timer
    +

    +

    CatchAll VirtualHost

    +

    You can prevent apache from responding to incorrect subdomains +by adding a CatchAll virtual host and enabling it. +

    # /etc/apache2/sites-available/999-catchall.conf
    +<VirtualHost *:80>
    +    ServerName null
    +    ServerAlias *
    +
    +    Redirect 404 /
    +</VirtualHost>
    +
    +<VirtualHost *:443>
    +    ServerName null
    +    ServerAlias *
    +
    +    Redirect 404 /
    +</VirtualHost>
    +

    +

    MariaDB

    +
      +
    • Install mariadb: apt install mariadb-server
    • +
    • Setup mariadb: mysql_secure_installation
    • +
    +

    As far as running mysql_secure_installation, I would +imagine that you want to remove anonymous users, +disallow root login remotely, remove the test +database, and reload the privilege table.

    +

    TT-RSS

    +

    After installing apache2 and mariadb, install tt-rss: +apt install tt-rss. You will be prompted 3 times +by dpkg-configure, but it will be obvious what to do.

    +

    You're done! Open +http://examplelanhost/tt-rss or https://rss.example.com/tt-rss, login with the default +admin:password and have fun playing with your server. +I particularly appreciate the 2fa and opml import.

    +

    In order to use the Android application check +enable API in preferences.

    +

    All the best blogs still have rss feeds. If you can't +find the rss feed for a blog, type Ctrl+U to +show page source and look for rss feed url in the +head section. Alternately on a mobile phone you can +prepend the url with view-source:.

    + + + + + + + + + + + +
    +
    +
    + +
    + + + + +
    +
    +
    +
    + + + + + + + + \ No newline at end of file diff --git a/site/posts/faster-partitioning-with-sgdisk/index.html b/site/posts/faster-partitioning-with-sgdisk/index.html index e9e02c8..c8e22d6 100644 --- a/site/posts/faster-partitioning-with-sgdisk/index.html +++ b/site/posts/faster-partitioning-with-sgdisk/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -974,6 +986,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/instructions-for-tethering-from-phone/index.html b/site/posts/instructions-for-tethering-from-phone/index.html index 2a93457..2c42587 100644 --- a/site/posts/instructions-for-tethering-from-phone/index.html +++ b/site/posts/instructions-for-tethering-from-phone/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -952,6 +964,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/linux-move-cursor-with-keyboard/index.html b/site/posts/linux-move-cursor-with-keyboard/index.html index a1b25d9..686e842 100644 --- a/site/posts/linux-move-cursor-with-keyboard/index.html +++ b/site/posts/linux-move-cursor-with-keyboard/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -925,6 +937,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/lmde3-xfs-full-disk-encryption/index.html b/site/posts/lmde3-xfs-full-disk-encryption/index.html index 8ef9276..920c01d 100644 --- a/site/posts/lmde3-xfs-full-disk-encryption/index.html +++ b/site/posts/lmde3-xfs-full-disk-encryption/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -981,6 +993,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/lmde4-custom-partitions-disk-encryption/index.html b/site/posts/lmde4-custom-partitions-disk-encryption/index.html index cedcc93..e02ab60 100644 --- a/site/posts/lmde4-custom-partitions-disk-encryption/index.html +++ b/site/posts/lmde4-custom-partitions-disk-encryption/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -981,6 +993,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/prosody-photo-uploads/index.html b/site/posts/prosody-photo-uploads/index.html index 8e95e90..64c3081 100644 --- a/site/posts/prosody-photo-uploads/index.html +++ b/site/posts/prosody-photo-uploads/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -1006,6 +1018,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/rewrite-hugo-themes-report-in-python/index.html b/site/posts/rewrite-hugo-themes-report-in-python/index.html index 763f0a1..ccb26cd 100644 --- a/site/posts/rewrite-hugo-themes-report-in-python/index.html +++ b/site/posts/rewrite-hugo-themes-report-in-python/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -932,6 +944,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/sendxmpp-handler-for-python-logging/index.html b/site/posts/sendxmpp-handler-for-python-logging/index.html index 4b3b1ad..34b1040 100644 --- a/site/posts/sendxmpp-handler-for-python-logging/index.html +++ b/site/posts/sendxmpp-handler-for-python-logging/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -932,6 +944,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/simplified-raspberry-streaming/index.html b/site/posts/simplified-raspberry-streaming/index.html index 62c042f..01de1eb 100644 --- a/site/posts/simplified-raspberry-streaming/index.html +++ b/site/posts/simplified-raspberry-streaming/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -918,6 +930,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/test-qr-svg-django/index.html b/site/posts/test-qr-svg-django/index.html index caf1b83..57e8dc8 100644 --- a/site/posts/test-qr-svg-django/index.html +++ b/site/posts/test-qr-svg-django/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts @@ -994,6 +1006,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • Trent's Favorite Podcasts diff --git a/site/posts/trents-favorite-podcasts/index.html b/site/posts/trents-favorite-podcasts/index.html index b628e83..5138dc5 100644 --- a/site/posts/trents-favorite-podcasts/index.html +++ b/site/posts/trents-favorite-podcasts/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -425,6 +425,18 @@ +
  • + + Debian 11 TT-RSS + +
  • + + + + + + +
  • @@ -2171,6 +2183,18 @@ + +
  • + + Debian 11 TT-RSS + +
  • + + + + + + @@ -6106,7 +6130,7 @@ web development.