跳至主要内容

手动安装

  1. Owncast 需要在您的服务器上安装 ffmpeg。 自动安装程序为您下载,但手动安装则不会,因此如果您还没有安装 ffmpeg,请先安装它。

  2. 创建一个目录以运行服务,然后从 发布页面 下载与您的服务器匹配的版本,放入该目录。 Run uname -m to find your architecture, then pick the matching archive:

    uname -m outputOSArchive
    x86_64Linuxowncast-\<version>-linux-64bit.zip
    aarch64Linuxowncast-\<version>-linux-arm64.zip
    armv7lLinuxowncast-\<version>-linux-arm7.zip
    i686Linuxowncast-\<version>-linux-32bit.zip
    x86_64macOSowncast-\<version>-macOS-64bit.zip
    arm64macOSowncast-\<version>-macOS-arm64.zip

    Raspberry Pi boards are covered by the arm64 and arm7 builds. There is no ARMv6 build, so the original Raspberry Pi and the first Pi Zero are not supported.

  3. 解压缩发布版本。

  4. Make sure the two ports Owncast uses are reachable from outside your server: 8080 for the web interface and 1935 for RTMP ingest. Open them in your firewall or cloud provider's security rules if needed.

  5. 运行 ./owncast 来启动服务。 This runs Owncast in the foreground. To keep it running in the background and start it on boot, run it as a system service.

  6. 访问 /admin 以配置您的服务器。 使用用户名 admin 和您的管理员密码(默认为 abc123)登录。

您可以通过在 Owncast 服务器上导航到 /admin 来找到管理界面(例如,https://owncast.example.com/admin)。

配置您的广播软件 以流式传输到您的 Owncast 服务器需要您使用 /live 端点并提供流密钥。 (例如,rtmp://owncast.example.com/live 和流密钥 abc123)。 如果您的软件不允许单独指定流密钥,您可能需要将其附加到 URL 后,例如 rtmp://owncast.example.com/live/abc123

默认凭据

默认
管理员用户名管理员
管理员密码abc123
流密钥abc123

这些是登录 Owncast 管理界面和流式传输到您的 Owncast 服务器的默认凭据。 强烈建议您在第一次登录后立即更改这些值,以确保服务器安全。

后续步骤

  1. 使用流密钥将您的广播软件指向新服务器 rtmp://yourserver/live。 如果您的软件没有指定流密钥的方法,请使用 URL rtmp://yourserver/live/streamkey,并使用您的流密钥。
  2. 通过访问 http://yourserver:8080 在您的网页浏览器中访问您的服务器。
  3. 您可以访问 Admin 仪表板,网址为 http://yourserver:8080/admin,在这里您可以查看访客和服务器统计信息、改变流密钥、个性化页面上显示的内容等。 要登录,请使用用户名 admin 和您的管理员密码(默认是 abc123)。

注意: 您的流密钥和管理员密码都默认为 abc123,但它们是独立的设置。 流密钥仅用于您的广播软件发布视频。 这不是您的管理员密码。


Improve this page

See something missing or incorrect? Edit this page and improve the documentation for everyone.

Contributors to this documentation
Gabe KangasGabe Kangas
R
ryliejamesthomas