From cbed46d72c51119b99ccb95ebf5d2dadbd08b447 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 5 Jul 2021 18:11:10 -0400 Subject: rss bridge tweaks --- index.html | 2 +- rss-bridge.html | 50 ++++++++++++++++++-------------------------------- 2 files changed, 19 insertions(+), 33 deletions(-) diff --git a/index.html b/index.html index 0cdbfcb..171833b 100644 --- a/index.html +++ b/index.html @@ -65,6 +65,7 @@
  • Setting up a Nextcloud Instance (file hosting and more)
  • Setting up Gitea
  • Creating your own chat server with IRC
  • +
  • RSS Bridge: RSSify Mainstream Social Media
  • Accepting Cryptocurrency Tips

    @@ -110,7 +111,6 @@
  • Simple static site generators
  • Calibre (library server)
  • PeerTube (like YouTube)
  • -
  • RSS-Bridge
  • XMPP ejabberd
  • Movim for XMPP
  • diff --git a/rss-bridge.html b/rss-bridge.html index 3e9a6db..59f51c0 100644 --- a/rss-bridge.html +++ b/rss-bridge.html @@ -35,17 +35,14 @@ Next we'll install the required packages:
    apt install -y curl unzip nginx certbot php-fpm php-mysql php-cli php7.3-mbstring php7.3-curl php7.3-xml php7.3-sqlite3 php7.3-json
    -

    -We now have to create the website configuration file -

    vim /etc/nginx/sites-available/rss-bridge
    -

    and you can add the following as a basic template.

    -

    Remember to change the the domain name

    -

    +

    We now have to create the website configuration file. Create/open the a file below:

    +
    nano /etc/nginx/sites-available/rss-bridge
    +

    And add the following content:

    server {
         root /var/www/rss-bridge;
         index index.php index.html index.htm index.nginx-debian.html;
    -    server_name rss-bridge.example.org;
    +    server_name rss-bridge.example.org;
     
         location / {
                 try_files $uri $uri/ =404;
    @@ -62,48 +59,37 @@ We now have to create the website configuration file
     }
     
    -

    After you have saved the file, you need to create a symlink so the server actually will read the file

    +

    After you have saved the file, you need to create a symlink so the server actually will read the file.

    ln -s /etc/nginx/sites-available/rss-bridge /etc/nginx/sites-enabled/rss-bridge
    -

    - Then we have to create the folder where the service will reside in

    -
    cd /var/www
    -mkdir rss-bridge
    -cd rss-bridge
    +

    Then we have to create the folder where the service will reside in.

    +
    mkdir -p /var/www/rss-bridge
    +cd /var/www/rss-bridge
     
    -

    Lets download the latest version of RSS-Bridge in the directory

    -

    The newest version can be found here, at the time of writing that is "RSS-Bridge 2021-04-25"

    - -

    -

    wget https://github.com/RSS-Bridge/rss-bridge/archive/refs/tags/2021-04-25.zip
    -

    -

    - Unzip the file -

    -
    unzip 2021-04-25.zip
    +

    Lets download the latest version of RSS-Bridge in the directory.

    +

    The newest version can be found here, at the time of writing that is "RSS-Bridge 2021-04-25."

    +
    wget https://github.com/RSS-Bridge/rss-bridge/archive/refs/tags/2021-04-25.zip
    +

    Unzip the file:

    +
    unzip 2021-04-25.zip

    This will create a directory called rss-bridge-version-number, we now want to move all the file contents of the newly created directory to the one we are in

    -
    cd rss-bridge-2021-04-25
    -mv * ..
    -cd ..
    -rm -r rss-bridge-2021-04-25 2021-04-25.zip
    +
    mv rss-bridge-2021-04-25/* .
    +rm -rf rss-bridge-2021-04-25 2021-04-25.zip
     
    -

    Now all we need to do is grant read/write permissions and reload the web server

    +

    Now all we need to do is grant read/write permissions and reload the web server.

    chown -R www-data:www-data /var/www/rss-bridge
     systemctl reload nginx
     
    -

    That's it, you should now have a working rss-bridge installed. But you should definately get an SSL certifcate installed

    - -Which you can read how to do here +

    That's it, you should now have a working rss-bridge installed. But you should definately get an SSL certifcate installed which is done briefly here.

    • handskemager.xyz
    • Bitcoin: bc1qhfjgwjzksf2auqjefwpvq20wvyugq3lhqgkxvu
    • -
    • Monero: 88cPx6Gzv5RWRRJLstUt6hACF1BRKPp1RMka1ukyu2iuHT7iqzkNfMogYq3YdDAC8AAYRqmqQMkCgBXiwdD5Dvqw3LsPGLU
    • +
    • Monero: 88cPx6Gzv5RWRRJLstUt6hACF1BRKPp1RMka1ukyu2iuHT7iqzkNfMogYq3YdDAC8AAYRqmqQMkCgBXiwdD5Dvqw3LsPGLU
    -- cgit v1.2.3