0586.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install FreshRSS RSS Aggregator on Debian/Ubuntu Linux</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Linux,Debian,Ubuntu,FreshRSS,RSS Aggregator,PHP,MariaDB,MySQL,RSS Feed Manager,How To Install FreshRSS On Linux,FressRSS Installation Tutorial,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install FreshRSS RSS Aggregator on Debian/Ubuntu Linux">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="04/23/2023 12:45:53 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install FreshRSS RSS Aggregator on Debian/Ubuntu Linux</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is FreshRSS?</h2>
  26. <blockquote>
  27. <p>FreshRSS is a self-hosted RSS feed aggregator like Leed or Kriss Feed. It is lightweight, easy to work with, powerful, and customizable. It is a multi-user application with an anonymous reading mode. It supports custom tags. There is an API for (mobile) clients, and a Command-Line Interface.<em> -<a href="https://github.com/FreshRSS/FreshRSS" target="_blank">https://github.com/FreshRSS/FreshRSS</a></em></p>
  28. </blockquote>
  29. <h2>Installation</h2>
  30. <ol>
  31. <li>Log into the Linux based device</li>
  32. <li>Run the following commands in the terminal
  33. <div class="codeBlock"># update software repositories<br />
  34. sudo apt update<br />
  35. # install available software updates<br />
  36. sudo apt upgrade -y<br />
  37. # install some dependencies<br />
  38. sudo apt install git apt-transport-https ca-certificates curl -y<br />
  39. # install Apache HTTPD and MySQL<br />
  40. sudo apt install apache2 mariadb-server mariadb-client -y<br />
  41. # install PHP components<br />
  42. sudo apt install php php-curl php-gmp php-intl php-pdo-mysql php-mbstring php-xml php-zip php-ctype php-dom php-fileinfo php-iconv php-json php-simplexml php-xmlreader -y<br />
  43. # configure the MySQL database<br />
  44. sudo su<br />
  45. mysql_secure_installation</div>
  46. </li>
  47. <li>Press Enter to login as root</li>
  48. <li>Type Y and press Enter to set a root password, type the password twice to confirm</li>
  49. <li>Type Y and press Enter to remove anonymous users</li>
  50. <li>Type Y and press Enter to disallow root login remotely</li>
  51. <li>Type Y and press Enter to remove the test database</li>
  52. <li>Type Y and press Enter to reload privilege tables</li>
  53. <li>Run the following command to login into MySQL:
  54. <div class="codeBlock">mysql -u root -p</div>
  55. </li>
  56. <li>Authenticate with the root password set earlier</li>
  57. <li>Run the following commands to create the FreshRSS database and database user
  58. <div class="codeBlock">CREATE DATABASE freshrss DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<br />
  59. GRANT ALL ON freshrss.* TO &#39;freshrss_rw&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;Fr3shRSS!!&#39;;<br />
  60. FLUSH PRIVILEGES;<br />
  61. EXIT;<br />
  62. exit</div>
  63. </li>
  64. <li>Continue with the following commands to download and extract FreshRSS in the Apache webroot
  65. <div class="codeBlock"># download freshrss<br />
  66. wget -O freshRSS.zip https://github.com/FreshRSS/FreshRSS/archive/master.zip<br />
  67. # extract the zip file<br />
  68. unzip freshRSS.zip<br />
  69. # move the extracted folder to webroot<br />
  70. sudo mv ./FreshRSS-master /var/www/html/freshrss<br />
  71. # set permissions on the freshrss directory<br />
  72. sudo chown -R www-data:www-data /var/www/html/freshrss</div>
  73. </li>
  74. <li>Open a web browser and navigate to http://DNSorIP/freshrss</li>
  75. <li>Select a Language &gt; Click Submit</li>
  76. <li>Click the Go to the next step button</li>
  77. <li>Complete the database configuration form as follows
  78. <p>Type of database: MySQL<br />
  79. Host: localhost<br />
  80. Database username: freshrss_rw<br />
  81. Database password: Fr3shRSS!!<br />
  82. Database: freshrss<br />
  83. Table prefix:</p>
  84. </li>
  85. <li>Click the Go to the next step button</li>
  86. <li>Enter a username and password &gt; Click Submit</li>
  87. <li>Click the Complete Installation button</li>
  88. <li>Login with the username created earlier</li>
  89. <li>Welcome to FreshRSS</li>
  90. </ol>
  91. <p>More Info: <a href="https://freshrss.org/" target="_blank">https://freshrss.org/</a></p> </div>
  92. </div>
  93. </body>
  94. </html>