Leed is a simple, open-source RSS aggregator that helps you read news and updates from your favorite websites. In this tutorial, you will learn how to install Leed on a Fedora Server.
Before you start, make sure that you have the following:
First, update the system and install the necessary packages:
sudo dnf update
sudo dnf install httpd php php-common php-mysqlnd php-xml mariadb-server git
Next, configure the Apache web server to serve Leed. Create a new virtual host configuration file:
sudo nano /etc/httpd/conf.d/leed.conf
Add the following content to the file:
<VirtualHost *:80>
DocumentRoot /var/www/html/leed
<Directory /var/www/html/leed>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Save and close the file.
Log in to the MariaDB database server:
sudo mysql -u root
Create a new database for Leed:
CREATE DATABASE leed;
CREATE USER 'leed'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON leed.* TO 'leed'@'localhost';
FLUSH PRIVILEGES;
Modify the password to something secure.
Exit the MySQL command prompt:
exit;
Switch to the Apache web root directory:
cd /var/www/html
Clone the Leed repository from GitHub:
sudo git clone https://github.com/LeedRSS/Leed leed
Change the ownership of the Leed directory to Apache:
sudo chown -R apache:apache leed
Create a configuration file:
sudo nano /var/www/html/leed/data/config.ini.php
Add the following content to the file:
<?php
define('MYSQL_HOST', 'localhost');
define('MYSQL_USER', 'leed');
define('MYSQL_PASSWORD', 'password');
define('MYSQL_DATABASE', 'leed');
define('MYSQL_TABLE_PREFIX', '');
?>
Replace the password with the one you created in Step 3.
Save and close the file.
Restart the Apache web server:
sudo systemctl restart httpd
Access Leed in your web browser:
http://localhost/leed/
You will be prompted to create a new admin user.
After creating the user, you can start adding RSS feeds to Leed by clicking on the "+" icon.
Congratulations, you have successfully installed Leed on a Fedora Server.
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!