更改监听端口

  1. 打开 /etc/lighttpd/lighttpd.conf,更改server.port值。
    vim /etc/lighttpd/lighttpd.conf
    
    #找到以下字段,修改server.port值
    ...
    server.groupname = "www-data"
    server.port = 8080
    accesslog.filename = "/var/log/lighttpd/access.log"
    ...
  2. 重启lighttpd服务
    systemctl restart lighttpd

更改管理员密码

  1. 执行指令
    pihole -a -p
  2. 输入新密码
    • 如果以非root用户登录会首先验证系统密码

The only reason I’m doing this is that I have an extra Raspberry Pi 3B(all IO ports are removed from the board) and I want it to be used, otherwise it will lose other Raspberry Pis’ respect.

The Installation is quite simple, due to the official guide(here), the only thing we need to do is install snap then use snap to install NextCloud. (There’s an another more complicated way to install NextCloud, I tried, then I failed. It’s just not worth it to me. If you want to do it anyway, you can see this article. For me, the reason I failed is I did not change the “server_name” in the nginx config file to my Pi’s IP.)

Run command

sudo apt update
sudo apt upgrade
sudo apt install snapd

then you have snap installed.

Snap is quite like Docker, but without containers and all the virtual stuff it has virtual stuff actually(I didn’t actually look into it, ignore it if I’m wrong). You can find the information about the differences here, and the relationship between snap and linux distros community here.

Run command

sudo snap install nextcloud

to install NextCloud.

NextCloud will run at default 80 port, type in your Pi’s IP in your browser then you are on the go.

环境

  • 树莓派3b with OpenMediaVault (与Raspbian相差无几)
  • QBitTorrent-nox 树莓派安装Qbt
  • python2.7-3.6
  • pip2 / pip3 (18.1以上)

准备

  • 剧集RSS
    • 我使用了 ShowRSS,但是其提供的(有些)种子链接自带CloudFlare的DDoS防护,下载前会等待几秒,导致Flexget无法成功获取种子文件。这里需要一个可以正常下载种子文件的RSS服务。

参考

步骤

安装前的准备工作

  1. 在安装flexget前,需要升级pip。如果pip版本低于18,在安装Flask依赖时会报错。
    pip install --upgrade pip
    # pip3
    pip3 install --upgrade pip
    # 或者按照官方方式,下载脚本后运行来安装
  2. 安装后需要将新版本pip链接到/usr/bin/下(需要取消链接旧pip,或apt卸载旧pip)
    # pip2
    ln -s /usr/local/bin/pip /usr/bin/pip
    # pip3
    ln -s /usr/local/bin/pip3 /usr/bin/pip3

安装Flexget

执行指令

# pip2
pip install flexget
# pip3
pip3 install flexget
# 选其一

配置Flexget

Continue reading “树莓派安装flexget配合qbittorrent实现追剧自动化”