Guidance on usage: Icecast Streaming Server on CentOS Stream 8

Connection and configuration to Icecast Streaming Server on CentOS Stream 8

To start the server, run the VM through Azure Portal.

  1. For the connection to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line of “Public IP Address”).
  1. To work, you must open port 8000 (TCP) in the network properties in the Azure firewall.
  1. Install PuTTY. You can download PuTTY from the link – Launch PuTTY.
  2. In the “Host Name” field, enter the IP of the virtual machine and click “Open”.
  1. Enter the username and password that was used to create the virtual machine.

(If you enter a password, it will not be displayed.)

  1. Enter the following command to open the configuration file

sudo nano /etc/icecast2/icecast.xml

After executing the command, editing the file will open. In order to go to the desired line, use the arrows on the keyboard. To paste the copied text, use the right mouse button.

In order to change the login and password for accounts, go to the <authentication> section and change the values that are inside the <*** – password> tags. For example, change adminpwd to a new password.

  1. To add a test radio station, add the following lines inside the <icecast> tag (but not inside other tags).








  1. Press “Ctrl + X” on the keyboard to exit the file. Then, you will be prompted to save the changes to the file – press “Y” on the keyboard to confirm, and press “Enter” to overwrite the same file.
  2. To apply the changes, you must restart the service. To do this, run the following command.

sudo systemctl restart icecast

  1.  To manage the Icecast Streaming Server, you can use the following commands:

To start the Icecast Server:

sudo systemctl start icecast

To restart and reload configuration changes:

sudo systemctl restart icecast

To stop Icecast:

sudo systemctl stop icecast

  1.  In the browser enter http://”your_vm _ip”:8000 For example http://111.222.333.444:8000
  1.  Click on Administration
  1.  In the window that appears, enter your username and password

Login- admin

Password – adminpwd

  1.  The admin interface will open

More detailed instructions can be found at Documentation and Information — Icecast