Icecast 2 is a free, open-source audio streaming server that allows you to stream audio over the internet. If you're looking to set up a radio station, podcast or live music stream, Icecast 2 is a great option.
In this tutorial, we'll walk you through the steps to install Icecast 2 on EndeavourOS Latest.
Before installing Icecast 2, it's a good idea to ensure that your system is up to date. Run the below command to update the system:
sudo pacman -Syu
To install Icecast 2, run the below command:
sudo pacman -S icecast
After running the command, the system would ask for confirmation before proceeding with the installation. Type y
and hit Enter
.
The installation process may take some time depending on your internet speed.
Once the installation is complete, you need to configure Icecast 2 before you can start streaming audio.
The configuration file is located at /etc/icecast.xml
. Open the file with your preferred text editor:
sudo nano /etc/icecast.xml
The configuration file is well documented, you can read through the file to understand what each line means. However, for the purposes of this tutorial, we'll only focus on a few critical lines.
Configure Icecast 2 as follows:
ip address
to check your IP address).<hostname>127.0.0.1</hostname>
source-password
), and admin (admin-password
) accounts.<source-password>your_source_password_here</source-password>
<admin-password>your_admin_password_here</admin-password>
<port>8000</port>
<clients>
) and the maximum number of allowed sources (<sources>
) respectively.<clients>100</clients>
<sources>2</sources>
<admin>
).<admin>admin@example.com</admin>
After editing the configuration file, save the changes and exit.
To start the Icecast 2 server, run the command:
sudo systemctl start icecast
To enable Icecast 2 to start automatically at boot time, run the command:
sudo systemctl enable icecast
You can check the status of the Icecast 2 server by running:
sudo systemctl status icecast
To test the Icecast 2 server, you can use a media player such as VLC. Open VLC and navigate to Media
> Open Network Stream
, enter the server URL in the format http://<IP_address>:<port>/stream
and click Play
.
If everything goes well, you should hear the audio stream on your media player.
Congratulations! You have successfully installed and configured Icecast 2 on EndeavourOS Latest. You can now start streaming audio over the internet.
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!