← Back to wiki index

Installing on a host machine


Before you begin, you’ll need the following:

Host installation overview

Clone tt-rss repository using Git. Always use latest Git code from master branch.

git clone https://git.tt-rss.org/fox/tt-rss.git tt-rss

Alternatively, you can clone the repository on your local machine and upload files using FTP/rsync or any other means available to you.

Deal with global configuration in config.php:

putenv('TTRSS_DB_HOST=dbhost');
putenv('TTRSS_DB_NAME=dbname');
putenv('TTRSS_DB_USER=dbuser');
putenv('TTRSS_DB_PASS=dbpassword');
putenv('TTRSS_SELF_URL_PATH=https://example.com/tt-rss');

In case of MySQL/MariaDB, add the following:

putenv('TTRSS_DB_TYPE=mysql');
putenv('TTRSS_DB_PORT=3306');

Then, install base database schema. In tt-rss directory, run the following:

php ./update.php --update-schema

Open your tt-rss installation and login with default credentials (username: admin, password: password).

Don’t forget to change the password!

Configure feed updates. This is a separate topic, explained in UpdatingFeeds wiki page. Please read it, otherwise your feeds won’t get updated.

If all went well, proceed to use tt-rss normally. Create a separate non-admin user, login under it, and start importing your feeds, subscribing, etc.

See also: SecuringCacheDirectories

Take a look at available plugins

There are many plugins written for tt-rss. You can see the list here: Plugins.


Upgrading Tiny Tiny RSS

Optional post-upgrade tasks