# Getting Started ## Getting Started with Docker Image OvenMediaEngine provides Docker images from AirenSoft's Docker Hub (airensoft/ovenmediaengine) repository. You can easily use OvenMediaEngine server by using Docker image. See [Getting Started with Docker](https://docs.ovenmediaengine.com/dev/getting-started/getting-started-with-docker) for details. ## Getting Started with Source Code ### Installing dependencies OvenMediaEngine can work with a variety of open-sources and libraries. First, install them on your clean Linux machine as described below. We think that OME can support most Linux packages, but the tested platforms we use are Ubuntu 18+, Fedora 28+, Rocky Linux 8+, and AlmaLinux 8+. ```bash curl -LOJ https://github.com/AirenSoft/OvenMediaEngine/archive/master.tar.gz && \ tar xvfz OvenMediaEngine-master.tar.gz && \ OvenMediaEngine-master/misc/prerequisites.sh ``` {% hint style="info" %} If the prerequisites.sh script fails, try to run `sudo apt-get update` and rerun it. If it's not enough proceed with the [manual installation](https://docs.ovenmediaengine.com/dev/troubleshooting#prerequisites-sh-script-failed). {% endhint %} ### **Building & Running** You can build the OvenMediaEngine source using the following command: {% tabs %} {% tab title="Ubuntu 18" %} ```bash sudo apt-get update cd OvenMediaEngine-master/src make release sudo make install systemctl start ovenmediaengine # If you want automatically start on boot systemctl enable ovenmediaengine.service ``` {% endtab %} {% tab title="Fedora 28" %} ```bash sudo dnf update cd OvenMediaEngine-master/src make release sudo make install systemctl start ovenmediaengine # If you want automatically start on boot systemctl enable ovenmediaengine.service ``` {% endtab %} {% tab title="Rocky Linux 8" %} ```bash sudo dnf update cd OvenMediaEngine-master/src make release sudo make install systemctl start ovenmediaengine # If you want automatically start on boot systemctl enable ovenmediaengine.service ``` {% endtab %} {% tab title="AlmaLinux 8" %} ```bash sudo dnf update cd OvenMediaEngine-master/src make release sudo make install systemctl start ovenmediaengine # If you want automatically start on boot systemctl enable ovenmediaengine.service ``` {% endtab %} {% endtabs %} {% hint style="info" %} if `systemctl start ovenmediaengine` fails in Fedora, SELinux may be the cause. See [Check SELinux section of Troubleshooting](https://docs.ovenmediaengine.com/dev/troubleshooting#check-selinux). {% endhint %} ## Ports used by default The default configuration uses the following ports, so you need to open it in your firewall settings. | Port | Purpose | | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | 1935/TCP | RTMP Input | | 9999/UDP | SRT Input | | 4000/UDP | MPEG-2 TS Input | | 9000/TCP | Origin Server (OVT) | |
3333/TCP
3334/TLS
LLHLS Streaming
\* Streaming over Non-TLS is not allowed with modern browsers.
3333/TCP
3334/TLS