In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install TT-RSS on raspberry pie. It is very detailed and has certain reference value. If you are interested, you must finish reading it.
Tiny Tiny RSS (TT-RSS) is a free and open source Web-based news feed feed (RSS/Atom) reader and aggregation tool. It is ideal for those who care about privacy and still rely on RSS for daily news. TT-RSS is self-hosting software, so you have 100% control over your server, data and all your privacy. It also supports a large number of plug-ins, extensions, and themes. Do you like the dark mode interface? No problem. Want to filter messages based on keywords? TT-RSS can also give you what you want.
Tiny Tiny RSS screenshot
Now that you know what TT-RSS is, why you might want to use it. I'll talk about everything you need to know to install it on a raspberry pie or Debian 10 server.
Install and configure TT-RSS
To install TT-RSS on a raspberry pie, you also need to install and configure the latest version of PHP (the latest version of PHP is 7.3 at the time of this writing), back-end database PostgreSQL, Nginx web server, Git, and finally TT-RSS.
1. Install PHP 7
Installing PHP 7 is the most complex part of the process. Fortunately, it is not as difficult as it seems. Start by installing the following support packs:
$sudo apt install-y ca-certificates apt-transport-https
Now, add the repository PGP key:
$wget-Q https://packages.sury.org/php/apt.gpg-O-| sudo apt-key add-
Next, add the PHP library to your apt source:
$echo "deb https://packages.sury.org/php/ buster main" | sudo tee / etc/apt/sources.list.d/php.list
Then update your repository index:
$sudo apt update
Finally, install PHP 7.3 (or the latest version) and some common components:
$sudo apt install-y php7.3 php7.3-cli php7.3-fpm php7.3-opcache php7.3-curl php7.3-mbstring php7.3-pgsql php7.3-zip php7.3-xml php7.3-gd php7.3-intl
The above command defaults to the back-end database you use is PostgreSQL, which installs php7.3-pgsql. If you want to use MySQL or MariaDB, you can change the command parameter to php7.3-mysql.
Next, make sure PHP is installed and running on your raspberry pie:
$php-v
Now is the time to install and configure the Web server.
2. Install Nginx
You can install Nginx with the following command:
$sudo apt install-y nginx
Modify the default Nginx virtual host configuration so that the Web server can recognize PHP files and know what to do with them.
$sudo nano / etc/nginx/sites-available/default
You can safely delete everything in the original file and replace it with the following:
Server {listen 80 default_server; listen [:]: 80 default_server; root / var/www/html; index index.html index.htm index.php; server_name _; location / {try_files $uri $uri/ = 404;} location ~\ .php$ {include snippets/fastcgi-php.conf Fastcgi_pass unix:/run/php/php7.3-fpm.sock;}}
Press Ctrl+O to save the modified configuration file, and then press Ctrl+X to exit Nano. You can test your new profile with the following command:
$nginx-t
If there is no error, restart the Nginx service:
$systemctl restart nginx3, install PostgreSQL
The next step is to install the database server. Installing PostgreSQL on a raspberry pie is super easy:
$sudo apt install-y postgresql postgresql-client postgis
Enter the following command to see if the database server installation is successful:
$psql-- version4, create Tiny Tiny RSS database
Before you do anything else, you need to create a database of numbers that can be used to save data for TT-RSS software. First, log in to the PostgreSQL server:
Sudo-u postgres psql
Next, create a new user and set the password:
CREATE USER username WITH PASSWORD 'your_password' VALID UNTIL' infinity'
Then create a database for TT-RSS:
CREATE DATABASE tinyrss
Finally, give the newly created user the highest permissions:
GRANT ALL PRIVILEGES ON DATABASE tinyrss to user_name
This is the step of installing the database. You can type\ Q to exit the psql program.
5. Install Git
Git is required to install TT-RSS, so type the following command to install Git:
$sudo apt install git-y
Now, go to the root directory of the Nginx server:
$cd / var/www/html
Download the latest TT-RSS source code:
$git clone https://git.tt-rss.org/fox/tt-rss.git tt-rss
Note that this step creates a tt-rss folder.
6. Install and configure Tiny Tiny RSS
Now is the last time to install and configure your new TT-RSS server. First, make sure you can open http://your.site/tt-rss/install/index.php in your browser. If the browser displays 403 Forbidden, it proves that the permissions for the / var/www/html folder are not set correctly. The following command usually solves this problem:
$chmod 755 / var/www/html/-v
If all goes well, you will see the TT-RSS installation page, which will allow you to enter some data information. You only need to enter the database user name and password you created earlier; the database name; and the hostname to fill in the localhost; port and fill in 5432.
Click "Test Configuration". If everything is all right, you will see a red button marked "Initialize Database". Click it to start the installation. When you are finished, you will see a configuration file that you can copy to the TT-RSS directory and save as config.php.
When the installation process is over, the browser type http://yoursite/tt-rss/ to open TT-RSS and log in with the default credentials (user name: admin, password: password). You will be prompted to change your password after logging in. I strongly recommend that you change your password as soon as possible.
Configure TT-RSS
If everything is all right, you can start using TT-RSS now. It is recommended that you create a new non-administrator user, log in with the new user name, and start importing your feeds and subscriptions, and configure it as you wish.
Last but not least, don't forget to read the Updating Feeds section on the TT-RSS wiki. It describes how to create a simple systemd service to update the feed. If you skip this step, your RSS feed will not be updated automatically.
The above is all the contents of the article "how to install TT-RSS on raspberry pie". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.