How to Install Tiny Tiny RSS (TTRSS) on CentOS 7 / RHEL 7

How to Install Tiny Tiny RSS (TTRSS) on CentOS 7 / RHEL 7 / OL 7 / SL 7. Tiny Tiny RSS is a web RSS reader. It is an open source self hosted web based RSS reader. It is written in PHP programming language and works flawlessly with popular open source SQL database like MySQL, MariaDB, PostgreSQL, etc. It the the most reliable solution for your RSS feeds etc. If you have a large number of RSS feeds then this solution works for you out of box.

Step-1 (Install EPEL Repository)
# yum install epel-release
Step-2 (Install Required Packages)
# yum install httpd php php-mysql mariadb-server mariadb-devel gcc git php-mbstring
Step-3 (Log into an Interactive MariaDB session)
# mysql -u root -p
Step-4 (Create the MariaDB Database)
mariadb> CREATE DATABASE ttrss CHARACTER SET UTF8;

mariadb> CREATE USER [email protected] IDENTIFIED BY 'ttrsspassord';

mariadb> GRANT ALL PRIVILEGES ON ttrss.* TO [email protected];

mariadb> FLUSH PRIVILEGES;

mariadb> EXIT
Step-6 (Edit the TTRSS Configuration file)
# vi /etc/httpd/conf.d/ttrss.conf

Add the given lines

<Directory /var/www/html>
<Files "config.php">
Require all denied
</Files>
</Directory>
Step-7 (Copy the all the TTRSS repo from Github)

We are going to clone all the TTRSS Github repo into /var/www/html

# git clone https://tt-rss.org/git/tt-rss.git /var/www/html
Step-8 (Restart the Apache Services)
# systemctl restart httpd
Step-9 (Provide Permissions to work successfully with Apache)
# chgrp -R apache cache lock feed-icons

# chmod -R g+w cache lock feed-icons
Step-10 (Add the TTRSS Updater Systemd Services)
# vi /etc/systemd/system/ttrss-updater.service

Add the given lines

[Service]
User=apache
ExecStart=/var/www/html/update_daemon2.php

[Install]
WantedBy=multi-user.target
Step-11 (Enable the TTRSS Updater during Boot Time)
# systemctl enable ttrss-updater
Step-12 (Run the TTRSS Installer from Web Browser)

Step-13 (Login to Access the TTRSS Dashboard)

Final Words

That’s all finally you have installed the TTRSS on your Redhat based enterprise Linux. It is an most efficient solutions for your RSS reader based self hosted setup.  If you have any issues than you need to use the comment section below for a solutions.

Related Post

Develop New SysAdmin Skills with E-books (FREE Download)

COMMENTS