手动安装
-
Owncast 需要在您的服务器上安装 ffmpeg。 自动安装程序为您下载,但手动安装则不会,因此如果您还没有安装 ffmpeg,请先安装它。
-
创建一个目录以运行服务,然后从 发布页面 下载与您的服务器匹配的版本,放入该目录。 Run
uname -mto find your architecture, then pick the matching archive:uname -moutputOS Archive x86_64Linux owncast-\<version>-linux-64bit.zipaarch64Linux owncast-\<version>-linux-arm64.ziparmv7lLinux owncast-\<version>-linux-arm7.zipi686Linux owncast-\<version>-linux-32bit.zipx86_64macOS owncast-\<version>-macOS-64bit.ziparm64macOS owncast-\<version>-macOS-arm64.zipRaspberry Pi boards are covered by the
arm64andarm7builds. There is no ARMv6 build, so the original Raspberry Pi and the first Pi Zero are not supported. -
解压缩发布版本。
-
Make sure the two ports Owncast uses are reachable from outside your server:
8080for the web interface and1935for RTMP ingest. Open them in your firewall or cloud provider's security rules if needed. -
运行
./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. -
访问
/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 服务器的默认凭据。 强烈建议您在第一次登录后立即更改这些值,以确保服务器安全。
后续步骤
- 使用流密钥将您的广播软件指向新服务器
rtmp://yourserver/live。 如果您的软件没有指定流密钥的方法,请使用 URLrtmp://yourserver/live/streamkey,并使用您的流密钥。 - 通过访问
http://yourserver:8080在您的网页浏览器中访问您的服务器。 - 您可以访问 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.
Gabe Kangas