How to Install FreshRSS on Debian Latest

FreshRSS is a self-hosted RSS feed reader that allows users to subscribe to their favorite blogs, news sites, and podcasts. In this tutorial, we will guide you through the steps to install FreshRSS on Debian Latest.

Step 1: Update and Upgrade the System

Before we start the installation process, it is recommended to update and upgrade the system packages to their latest versions. Run the following command in the terminal to update and upgrade the system:

sudo apt update && sudo apt upgrade

Step 2: Install Required Packages

FreshRSS requires some packages to be installed on the system, including Apache web server, PHP, and MariaDB. Run the following command to install the required packages:

sudo apt install apache2 mariadb-server mariadb-client php php-curl php-dom php-mysql php-xml php-gd

Step 3: Download FreshRSS

Download the latest version of FreshRSS from the official website or use the following command to download and extract the files:

wget https://github.com/FreshRSS/FreshRSS/archive/refs/tags/release-2.5.2.tar.gz
tar -xzvf release-2.5.2.tar.gz

After extracting the files, move them to the Apache web server's document root directory using the following command:

sudo mv FreshRSS-release-2.5.2 /var/www/html/freshrss

Step 4: Configure MariaDB

Create a new MariaDB database and user for FreshRSS using the following commands:

sudo mysql -u root -p
CREATE DATABASE freshrssdb;
CREATE USER 'freshrssuser'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON freshrssdb.* TO 'freshrssuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Step 5: Configure Apache for FreshRSS

Create a new Apache virtual host file for FreshRSS using the following command:

sudo nano /etc/apache2/sites-available/freshrss.conf

Add the following content to the file:

<VirtualHost *:80>
    ServerAdmin admin@example.com
    DocumentRoot /var/www/html/freshrss
    ServerName example.com

    <Directory /var/www/html/freshrss>
        Options FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/freshrss_error.log
    CustomLog ${APACHE_LOG_DIR}/freshrss_access.log combined
</VirtualHost>

Save and close the file.

Enable the virtual host and reload the Apache service using the following commands:

sudo a2ensite freshrss.conf
sudo systemctl reload apache2

Step 6: Install FreshRSS

Open your web browser and navigate to your server IP address or domain name. You will see the FreshRSS installation page.

Follow the installation steps and enter the required information, including the database details you created earlier.

After the installation, log in to the FreshRSS dashboard using your admin account details.

Congratulations! You have successfully installed FreshRSS on Debian Latest.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!