Tiny Tiny RSS セットアップ

  • Posted on: 8 August 2019
  • By: admin

ダウンロード

$ sudo git clone https://git.tt-rss.org/fox/tt-rss.git /var/www/html/tt-rss.octaviadata.com

Nginx設定

$ sudo vi /etc/nginx/sites-available/tt-rss.octaviadata.com
$ sudo ln -s /etc/nginx/sites-available/tt-rss.octaviadata.com /etc/nginx/sites-enabled/
$ sudo nginx -t && sudo nginx -s reload

DB設定

$ sudo mysql -e "CREATE USER 'ttrss_admin'@'localhost' IDENTIFIED BY '5bV3#TMcHfg7';"
$ sudo mysql -e "CREATE DATABASE db_ttrss;"
$ sudo mysql -e "GRANT ALL ON db_ttrss.* TO 'ttrss_admin'@'localhost';"

http://tt-rss.octaviadata.com/install/

$ sudo chmod o+w /var/www/html/tt-rss.octaviadata.com/

Test configuration, Initialize database, Save configuration

権限設定

$ sudo chmod o-w /var/www/html/tt-rss.octaviadata.com/
$ sudo chown -R www-data:www-data /var/www/html/tt-rss.octaviadata.com
$ sudo chmod -R 766 /var/www/html/tt-rss.octaviadata.com/{cache/images,cache/upload,cache/export,feed-icons,lock}

http://tt-rss.octaviadata.com/ 初期ID/PWはadmin/password