Installing Tiny Tiny RSS on Void Linux
Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader that is easy to use and highly customizable. In this tutorial, we will go through the steps required to install Tiny Tiny RSS on Void Linux.
Prerequisites
Before we begin, you need to have the following prerequisites installed on your system:
- A running instance of Void Linux
- A working internet connection
- Basic knowledge of the Linux command line
Installing Tiny Tiny RSS
Follow these steps to install Tiny Tiny RSS on Void Linux:
Update the package repository cache on your system:
# xbps-install -SuInstall the required dependencies:
# xbps-install php php-fpm php-pgsql nginx postgresqlCreate a new PostgreSQL database and user for your Tiny Tiny RSS installation:
# su - postgres # createdb tt-rss # createuser -SDRP tt-rssDownload the Tiny Tiny RSS source code and extract it to the desired location:
# cd /var/www # wget https://git.tt-rss.org/fox/tt-rss/archive/master.tar.gz # tar -xvf master.tar.gz # mv tt-rss-master tt-rssConfigure the web server (Nginx in this case) to serve Tiny Tiny RSS:
# cd /etc/nginx/conf.d # touch tt-rss.conf # vi tt-rss.confAdd the following configuration to tt-rss.conf:
server { listen 80; server_name tt-rss.example.com; root /var/www/tt-rss; index index.php; location / { try_files $uri $uri/ /index.php?$args; } location = /favicon.ico { log_not_found off; access_log off; } location ~ \.php$ { try_files $uri =404; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.ht { deny all; } }Restart Nginx to apply the configuration changes:
# sv restart nginxConfigure PHP-FPM to serve Tiny Tiny RSS:
# cd /etc/php # cp php.ini-development php.ini # vi php-fpm.d/tt-rss.confAdd the following configuration to tt-rss.conf:
[tt-rss] user = tt-rss group = www-data listen = 127.0.0.1:9000 listen.owner = www-data listen.group = www-data pm = dynamic pm.max_children = 5 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 php_admin_value[date.timezone] = "America/New_York" php_value[session.save_path] = /var/lib/php/sessions/tt-rss php_value[upload_tmp_dir] = /var/www/tt-rss/uploadRestart PHP-FPM to apply the configuration changes:
# sv restart php-fpmOpen your web browser and go to
http://tt-rss.example.com/to access the Tiny Tiny RSS web interface. Follow the on-screen instructions to configure your feeds and settings.
Congratulations! You have successfully installed Tiny Tiny RSS on Void Linux.