aaPanel is a simple website and server management tool. It is similar tocpanel.net, while aaPanel is free, open source and easy to develop plugins for media servers.
In this tutorial, you will learn how to deploy a live streaming media server, using aaPanel. If you have websites deployed with aaPanel, it’s also possible to deploy an extra media server to power your website with live streaming service, for example, to enable live streaming feature for your WordPress website.
To complete this guide, you should have:
If you don’t have aaPanel installed, please follow thistutorial. Highly recommend install aaPanel on CentOS 7:
yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh &&
bash install.sh
After installation, you will get a url, username and password for login, for example:
================================================================== Congratulations! Installed successfully! ================================================================== aaPanel Internet Address: http://159.223.85.157:7800/a954fbf9 username: f6nka6v8 password: 4b43d253
Visit the url in a browser, as demonstrated below:
You might develop your website with WordPress, however it’s optional. In the next step, let’s set-up a media server with aaPanel for live streaming.
There are two ways to install Oryx. If you find theOryx
plugin in App Store, you could install it from there.
If not found in the App Store, you could also download the latest version of the plugin in the oryx repository on Github:aapanel-oryx.zip. Then you could upload the zip file and install the plugin, as demonstrated below:
Both approaches will lead you to a installation guide, like this:
Please click onConfirm to install
to continue the plugin installation. In the next step, we will set-up Oryx and install some dependencies.
To set-upOryx
, please click on theSetting
button underOpration
field:
Then click onInstall Oryx
to install the required softwares:
Oryx requires NGINX and Docker, please install all of them:
After installing all dependencies, continue to install Oryx:
When completion all the set-up, click on theDashboard
panel and then visit theOryx Dashboard
via the link on the page:
Then set-up the admin password:
You could follow the tutorials to use Oryx:
Now we have a media server. In the next step, we publish a live stream to the server and play it through WordPress.
Please open the instruction page here:Scenario > Streaming > OBS or vMix
We recommend using OBS. You can download OBS fromhere, and configure it fromSettings > Stream
:
Then, click on theStart Streaming
to publish a live stream to your server. You could play the HTTP-FLV, HLS or WebRTC either use a browser, or through WordPress:
[srs_player url="http://159.223.85.157/live/livestream.m3u8"]
For details about WordPress shortcodes, please read this tutorialhow to publish your SRS livestream through WordPress.
In this tutorial, you create a live streaming service with aaPanel, publish a stream with OBS and then play it through a browser or WordPress. If you have further questions about SRS,the wiki is a good place to start.
Join us for further conversation onDiscord. If you’d like to help, feel free to support us through donations onOpenCollective.
Oryx(SRS Stack) is an all-in-one, out-of-the-box, and open-source video solution for creating online video services, including live streaming and WebRTC, on the cloud or through self-hosting.
Maintainer of SRS media server. Developer at video streaming and WebRTC since 2009.