Installation:
$ sudo apt-get install mysql-server mysql-client apache2 libapache2-mod-php5
$ sudo add-apt-repository ppa:webupd8team/tt-rss
$ sudo apt-get update
$ sudo apt-get install tt-rss
Configuration:
Step 1 :
Open below file and made some changes
$ sudo nano /etc/default/tt-rss
# Defaults for Tiny Tiny RSS update daemon init.d script
# Set DISABLED to 1 to prevent the daemon from starting.
DISABLED=0
# Set FORKING to 1 to use the forking daemon (update_daemon2.php) instead of
# the standard one.
FORKING=0
Step 2 :
$ sudo nano /etc/tt-rss/config.php
Find the line define(‘SELF_URL_PATH’, ‘http://yourserver/tt-rss/’); and change to your own
IP address. If you want to use it locally, then simply replace it with localhost.
I want to use it remotely, so that I use my server IP address.
[...]
define('SELF_URL_PATH', 'http://192.168.1.201/tt-rss/');
[...]
Step 3 :
Create link if not exists,
$ sudo ln -s /etc/apache2/conf-available/50-tt-rss.conf /etc/apache2/conf.d/
Step 4 :
Restart apache2 service:
$ sudo /etc/init.d/apache2 restart
Step 5 :
Now start the tt-rss service:
$ sudo /etc/init.d/tt-rss start
Now go to your web browser and navigate to http://ip-address/rr-tss or http://localhost/tt-rss.
You should see the following screen. Enter username as admin and password as password.
If below Error found then,
The error is here : /usr/share/php/php-php-gettext/gettext.inc on line 181 :
This is telling you that you need to set up the type of encoding for it to work. Look in the gettext.inc file
and you will see something like this :
function _encode($text) {
$target_encoding = _get_encoding();
if (function_exists(“mb_detect_encoding”)) {
$source_encoding = mb_detect_encoding($text);
if ($source_encoding != $target_encoding)
$text = mb_convert_encoding($text, $target_encoding, $source_encoding);
}
return $text;
}
Change $target_encoding to be : $target_encoding = “UTF-8”; and that will fix the problem.
Or you can choose the character set asides from UTF-8.
username - admin
password - password
No comments:
Post a Comment