• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

一个功能强大又好用的RSS订阅器:FreshRSS安装教程

建站知识 Liam 1年前 (2019-04-29) 567次浏览 8个评论 扫描二维码
文章目录[隐藏]

说明:前面说了很多RSS订阅器了,查看:Miniflux 2Telegram RSS。今天再介绍个FreshRSS订阅器,免费,界面很美观,支持导入/导出为OPML文件,过滤、标记、搜索等,有助于轻松查找和阅读文章,也可以多用户使用,还可以安装很多拓展和更换不同的主题,而且查看10万篇文章都不会卡,这里简单说下常规的LNMP安装和Docker教程。

官方网站:https://freshrss.org
演示地址:https://demo.freshrss.org

截图

一个功能强大又好用的RSS订阅器:FreshRSS安装教程
一个功能强大又好用的RSS订阅器:FreshRSS安装教程
一个功能强大又好用的RSS订阅器:FreshRSS安装教程

LNMP安装

该方法属于常见的安装方法,不过有点慢,如果想快点安装的,使用下面的Docker安装即可,不过Docker不适用于OVZ

环境要求:Nginx7.0 >= PHP >= 5.3MySQL >= 5.5,需要Fileinfo组建支持。

1、安装宝塔

#Centos系统 yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh  #Ubuntu系统 wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh  #Debian系统 wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh 

然后进入后台再安装PHPNginxMysql环境,再找到左侧软件管理-PHP管理-设置-安装Fileinfo拓展。

#如果Fileinfo拓展安装失败,就是内存太小,我们可以添加swap,不适用于ovz 1、手动添加,方法查看:https://www.moerats.com/archives/19/。 2、面板添加,找到左侧软件管理-系统工具-安装Linux工具箱,然后进入工具箱添加。 

2、上传程序
安装好环境后解析并添加域名,然后下载源码:FreshRSS,再放到站点根目录并解压。

#或者使用命令下载源码 #进入站点根目录,请修改为自己域名 cd /www/wwwroot/domain.com #下载程序 git clone https://github.com/FreshRSS/FreshRSS.git #移动到根目录 mv FreshRSS/{,.}* ./ #授权 chown 755 ./* 

提示git命令不存在的运行:

#Debian和Ubuntu系统 apt-get -y install git  #CentOS系统 yum -y install git 

3、新建数据库并安装
新建数据库,然后打开域名根据提示输入管理员账号、密码,数据库信息安装即可。
一个功能强大又好用的RSS订阅器:FreshRSS安装教程
一个功能强大又好用的RSS订阅器:FreshRSS安装教程
一个功能强大又好用的RSS订阅器:FreshRSS安装教程

Docker安装

1、安装Docker

curl -sSL https://get.docker.com/ | sh service docker start 

2、安装镜像

#下载文件并进入文件夹 git clone https://github.com/FreshRSS/FreshRSS.git cd ./FreshRSS/ #创建文件夹,并且数据会保存在这里 mkdir -p ./data/ #安装镜像,8080端口自己定义 docker run -dit --restart unless-stopped --log-opt max-size=10m      -v $(pwd)/data:/var/www/FreshRSS/data      -p 8080:80      --name freshrss freshrss/freshrss 

提示git命令不存在的运行:

#Debian和Ubuntu系统 apt-get -y install git  #CentOS系统 yum -y install git

安装完成后,打开http://IP:8080访问,如果你修改了端口,就用IP:Port访问。

3、域名访问
如果想用IP访问的,直接无视该步骤。由于博主喜欢用Caddy,所以这里使用Caddy反代。请先解析一个域名到服务器上。

安装Caddy

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh #备用地址 wget -N --no-check-certificate https://www.moerats.com/usr/shell/Caddy/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh 

编辑配置文件

#以下全部内容是一个整体,修改域名、IP、邮箱后一起复制到SSH运行! echo "https://xx.com {  tls [email protected]  proxy / 111.111.111.111:8080 {     header_upstream Host {host}     header_upstream X-Real-IP {remote}     header_upstream X-Forwarded-For {remote}     header_upstream X-Forwarded-Proto {scheme}   }  log /var/log/caddy.log  gzip }" > /usr/local/caddy/Caddyfile

tls参数会自动帮你签发ssl证书,如果你要使用自己的ssl,改为tls /root/xx.crt /root/xx.key即可。后面为ssl证书路径。

启动Caddy

/etc/init.d/caddy restart 

最后就可以通过域名https访问了

RSS订阅器可以配合RSS生成器使用,查看:RSSHub:一个轻量、易于扩展的RSS生成器


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:一个功能强大又好用的RSS订阅器:FreshRSS安装教程
喜欢 (0)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(8)个小伙伴在吐槽
  1. You actually make it appear so easy with your presentation however I find this matter to be really something which I feel I might never understand. It seems too complicated and extremely wide for me. I'm taking a look forward on your subsequent submit, I will try to get the dangle of it!
    black mass2020-08-31 10:48 回复 Mac OS X | Chrome 65.0.3325.181
  2. I don't know if it's just me or if everybody else experiencing issues with your website. It appears like some of the written text on your posts are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them too? This might be a problem with my internet browser because I've had this happen before. Cheers
    black mass2020-08-28 21:51 回复 未知操作系统 | Chrome 43.0.2357.125
  3. It's appropriate time to make some plans for the future and it's time to be happy. I've read this post and if I could I wish to suggest you few interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it!
    cheap flights2020-08-28 11:49 回复 Linux | Chrome 66.0.3359.158
  4. Hi Dear, are you actually visiting this web page daily, if so afterward you will without doubt obtain pleasant experience.
    cheap flights2020-08-27 13:20 回复 Linux | Firefox浏览器 61.0
  5. Good day I am so delighted I found your webpage, I really found you by error, while I was researching on Aol for something else, Nonetheless I am here now and would just like to say thanks for a incredible post and a all round entertaining blog (I also love the theme/design), I don't have time to read it all at the moment but I have saved it and also added your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the great work. 31muvXS cheap flights
    cheap flights2020-08-26 03:07 回复 Mac OS X | Firefox浏览器 56.0.4
  6. If some one wants expert view on the topic of running a blog after that i suggest him/her to go to see this blog, Keep up the nice job. cheap flights y2yxvvfw
    cheap flights2020-08-25 11:17 回复 Windows 7 | Opera 9.80
  7. Nice post. I was checking constantly this blog and I am impressed! Extremely useful info specifically the last part :) I care for such info much. I was seeking this certain info for a very long time. Thank you and best of luck. adreamoftrains best web hosting sites
    adreamoftrains web host2020-08-11 07:17 回复 Mac OS X | Chrome 66.0.3359.181
  8. Woah! I'm really loving the template/theme of this blog. It's simple, yet effective. A lot of times it's very difficult to get that "perfect balance" between usability and visual appearance. I must say you've done a superb job with this. Additionally, the blog loads extremely fast for me on Internet explorer. Outstanding Blog!
    web hosting service2020-08-11 06:58 回复 Mac OS X | Chrome 67.0.3396.79