Skip to content

Install Linux

chigusa edited this page Aug 17, 2018 · 1 revision

Step 1: 获取ffmpeg

  • Ubuntu / Debian 等

    sudo apt-get install ffmpeg

  • Fedora / CentOS 等

    sudo yum install ffmpeg

  • ArchLinux

    sudo pacman -S ffmpeg

  • Build from source code

    FFmpeg Compilation Guide

Step 2: 下载Bililive-go

打开Bililive-go Releases,下载对应的版本并解压

Step 3: 注册为服务(可选)

  • systemd
    注意替换ExecStart中的二进制文件和配置文件路径
echo "[Unit]
Description=Live Stream Saver
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/bililive-go -c /etc/bililive-go/config.yml
Restart=on-failure

[Install]
WantedBy=multi-user.target" > /usr/lib/systemd/system/bililive-go.service

systemctl daemon-reload

systemctl enable bililive-go.service

systemctl start bililive-go.service
Clone this wiki locally