惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
罗磊的独立博客
T
The Blog of Author Tim Ferriss
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Last Week in AI
Last Week in AI
美团技术团队
Google Online Security Blog
Google Online Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
Docker
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
月光博客
月光博客
L
LINUX DO - 最新话题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
W
WeLiveSecurity
H
Heimdal Security Blog
Vercel News
Vercel News
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
A
About on SuperTechFans
C
Check Point Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
AI
AI
WordPress大学
WordPress大学
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Help Net Security
Help Net Security
博客园_首页
The Last Watchdog
The Last Watchdog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
I
Intezer
K
Kaspersky official blog
M
MIT News - Artificial intelligence
J
Java Code Geeks
G
GRAHAM CLULEY
P
Palo Alto Networks Blog

講評世界

My App Defaults 2023 读书的意义 そして、次の曲が始まるのです 使用 Homebrew 安装 Typora 的 0.11.18 版本 使用 TypeScript 为 Vue 组件的 prop 标注类型 【译文】Grid 用于布局, Flexbox 用于组件 【译文】IndexedDB 为什么这么慢?如何更好的使用呢? Hello 2022 「他山之石」零贰 「他山之石」零壹 「言論」 零壹 给 icarus 主题增加所有文章的字数统计 hexo 无法在本地实时预览 JavaScript 立即调用的函数表达式(IIFE) 解决 nvm 无法在 arm 架构下安装 V15 以下的 node 版本 的问题 m1 芯片安装 nvm 提示 command not found 如何在 JavaScript 完美的确定一个数据的类型 Cookie?小饼干! 使用 RSS 在推荐算法中获取主动权
从零开始的 RSSHub Docker 私有化部署指南
Moeyua · 2022-06-27 · via 講評世界

使用 RSSHub 也已经很长一段时间了,慢慢萌生了尝试一下自己部署 RSSHub 的想法,能够进行一些自定义的内容,也可以解决许多国内网站反爬严格的问题。部署过程还算顺利,这里做一个记录。

安装 Docker

  1. 安装 yum-utils

    sudo yum install -y yum-utils
    
    sudo yum-config-manager \
        --add-repo \
        https://download.docker.com/linux/centos/docker-ce.repo
    
    
  2. 安装 Docker Engine

    sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
    
  3. 启动 Docker:

    sudo systemctl start docker
    
  4. 确认 Docker 安装正确:

    sudo docker run hello-world
    

    这个命令下载了一个测试镜像,并在一个容器中运行它。当容器运行时,它会打印一条信息并退出。

  5. 设置 Docker 开机启动

    sudo systemctl enable docker
    
安装 Docker Compose
  1. 下载 Docker Compose 的当前稳定版本:

sudo curl -L “https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose


2. 将可执行权限应用于二进制文件:

```bash
sudo chmod +x /usr/local/bin/docker-compose
  1. 检查版本:

    docker-compose --version
    
  1. 下载 docker-compose.yml

    wget https://raw.githubusercontent.com/DIYgod/RSSHub/master/docker-compose.yml
    
  2. 检查有无需要修改的配置

    vi docker-compose.yml
    
  3. 创建 volume 持久化 Redis 缓存

    docker volume create redis-data
    
  4. 启动

    docker-compose up -d
    

开放服务器端口

docker-compose.yml 文件中配置的端口号默认为 1200,需要在服务器上开启对应的端口号,使用时只需要将 https://rsshub.app/twitter/user/evodmoeyua 中的 https://rsshub.app 替换为 http://yourip:1200