Posts tagged raspberry pi
Installing Tiny Tiny RSS on Raspbian
Mar 8th
Just finished installing Tiny-Tiny RSS on my pi. I was able to use the automatic configuration wizard, but had to do a bit of fiddling to get it to work.
Here are the steps I followed:
1) download the latest tt-rss package: http://tt-rss.org/redmine/projects/tt-rss/wiki/InstallationNotes
2) Move, decompress, and rename it in my web server directory
sudo mv 1.1.tar.gz /var/www
sudo tar xvzf /var/www/1.1.tar.gz
sudo mv Tiny-Tiny-RSS-1.11/ tt-rss
3) In my case, I had to forward port 3306 on my cable modem to my pi server for mysql connections.
4) Install mysql and choose a root user password when prompted
sudo apt-get update; sudo apt-get install mysql-server
5) Create a database and user, then assign privileges
mysql -u root -p
[enter root password at prompt]
In mysql:
create database ttrss;
create user 'ttrss'@'localhost' identified by 'whatever_password';
grant all on ttrss.* to ttrssuser;
exit
6) Connect to url: http://999.999.999.999/tt-rss [where 999.999.999.999 is my server ip address]. This will take you to the install page. Enter your settings:
Database Type: MySQL
User Name: ttrssuser
Password: whatever_password
Database: ttrss
Host: [leave blank]
Port: [leave blank]
Tiny Tiny RSS URL: [leave as default]
Click “Test Configuration”
7) As instructed by the installer, I needed to copy the configuration from the installer webpage and use an editor to paste the contentts into a new /var/www/tt-rss/config.php. At this point, the TT-rss page wouldn’t load, but it helpfully told me to change the following permissions:
sudo chmod -R 777 cache/images
sudo chmod -R 777 cache/upload
sudo chmod -R 777 cache/export
sudo chmod -R 777 cache/js
sudo chmod -R 777 feed-icons
sudo chmod -R 777 lock
8) Last but not least, I had to set up regular updates by adding the following to my crontab
*/30 * * * * /usr/bin/php /var/www/tt-rss/update.php --feeds --quiet
And that’s it!