ffplayout/docs/install.md

33 lines
1.6 KiB
Markdown
Raw Normal View History

2022-07-26 05:18:25 -04:00
### Install ffplayout
2023-10-30 13:06:13 -04:00
ffplayout provides ***.deb** and ***.rpm** packages, which makes it more easy to install and use, but there is still some steps to do.
2022-07-26 05:18:25 -04:00
2023-10-05 15:21:34 -04:00
1. download the latest ffplayout from [release](https://github.com/ffplayout/ffplayout/releases/latest) page and place the package in the **/tmp** folder.
2022-07-26 05:18:25 -04:00
2. install it with `apt install /tmp/ffplayout_<VERSION>_amd64.deb`
3. install ffmpeg/ffprobe, or compile and copy it to **/usr/local/bin/**
4. activate systemd services:
- `systemctl enable ffplayout`
2024-07-01 02:16:11 -04:00
5. initial defaults and add global admin user:
- `sudo -u ffpu ffplayout -i`
2022-07-26 08:29:40 -04:00
6. use a revers proxy for SSL, Port is **8787**.
7. login with your browser, address without proxy would be: **http://[IP ADDRESS]:8787**
2022-07-26 05:18:25 -04:00
Default location for playlists and media files are: **/var/lib/ffplayout/**.
2022-07-26 05:18:25 -04:00
When playlists are created and the ffplayout output is configured, you can start the process: `systemctl start ffplayout`, or click start in frontend.
### Manual Install
-----
2023-02-16 04:38:02 -05:00
- install ffmpeg/ffprobe, or compile and copy it to **/usr/local/bin/**
- download the latest archive from [release](https://github.com/ffplayout/ffplayout/releases/latest) page
2024-06-12 04:16:00 -04:00
- copy the ffplayout binary to `/usr/bin/`
- copy **assets/ffplayout.yml** to `/etc/ffplayout`
- create folder `/var/log/ffplayout`
- create system user **ffpu**
- give ownership from `/etc/ffplayout` and `/var/log/ffplayout` to **ffpu**
2024-06-12 04:16:00 -04:00
- copy **assets/ffplayout.service** to `/etc/systemd/system`
- copy **assets/ffplayout.1.gz** to `/usr/share/man/man1/`
2023-02-16 04:38:02 -05:00
- copy **public** folder to `/usr/share/ffplayout/`
2024-06-12 04:16:00 -04:00
- activate service and run it: `systemctl enable --now ffplayout`