
Icecast is a free audio media streaming solution that lets you create an audio streaming platform with support for MP3 and Ogg Vorbis audio streams. This guide explains how you can install Icecast on a Ubuntu 20.04 server.
onlineradio.example.com.Update the server.
Upgrade server packages.
Install Icecast
Several prompts show up, select yes to configure passwords, keep localhost as the server hostname, then set the Icecast source, relay, and administrator passwords.
Enable Icecast to start at boot time.
Start the Icecast server.
Edit the main Icecast configuration file.
Find the following line.
Change the Icecast port to your preferred setting, 8000 by default.
To change the administrator and source passwords, find the following section.
Save the file.
Restart Icecast to load changes.
Using a text editor, create a new Nginx configuration file.
Add the following contents to the file. Replace onlineradio.example.com with your real domain.
Save the file.
Check the Nginx configuration for errors.
Restart Nginx.
Allow Full Nginx access through the firewall.
Allow the Icecast port to enable broadcast requests to the server.
Restart the firewall to load changes.
Install the Certbot Nginx package.
Request a new SSL certificate.
Restart Nginx to load changes.
Visit your domain to confirm that Icecast is up and running.
Download and Install Mixx on your computer.
Open Mixx, and navigate to Preferences.
Select Live Broadcasting, and enter your domain in the Host field, enter source in the Login field, specify a Mount point, for example /stream, enter the Icecast port, blank, then, the source Password specified in the Icecast configuration file.
Start your Mix, and toggle ON AIR to go live.
Using a different device, load your mount point on the domain.
Your Mixx stream should start playing.
You have installed Icecast on Ubuntu 20.04, for more information and configuration options, visit the following guides.
0 Comments
Be the first to comment and share your perspective with the community.