SRS (Simple-RTMP-Server) is a powerful live streaming server. This tutorial will guide you through the installation of SRS on the latest version of Fedora CoreOS. These instructions assume that you are familiar with command-line navigation, editing files, and basic server administration.
ssh root@server_ip_address
dnf update && dnf clean packages
dnf -y install autoconf automake cmake gcc gcc-c++ git libtool make openssl-devel pcre-devel yasm-devel
cd /usr/src
git clone https://github.com/ossrs/srs.git
cd srs/trunk
./configure --full --with-hls --with-nginx --with-ffmpeg --jobs=2
Note: The --full
flag will compile the complete SRS server, including nginx and ffmpeg modules. The --with-hls
, --with-nginx
, and --with-ffmpeg
flags will enable those modules in your server.
./configure
command, we can run the following command to compile and install SRS to our system:make -j2 && sudo make install
./objs/srs -c conf/srs.conf
SRS started, please read http://blog.ossrs.net/srs_release/releases/srs-$VERSION/docs/srs.release.txt and https://github.com/ossrs/srs/wiki/v3_EN_Usage
Now, you can access the SRS admin panel by opening your web browser and going to http://server_ip/srs/srs-dashboard/login.html
.
Enter admin
as the username and admin
as the password to login to the SRS dashboard.
Congratulations! You have successfully installed SRS on Fedora CoreOS Latest. You can now configure the server to start at boot time and start streaming.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!