Usage Guidelines – Linux 8.3 with Icecast Streaming Server

Icecast Streaming Server

Linux 8.3

The guide on how to use Linux 8.3 with Icecast Streaming Server

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

  1. In order to work, you must open port 8000 (TCP) in the network properties in the Azure firewall.
  2. Install PuTTY. You can download PuTTY from the link – https://putty.org.ru/download.html Launch PuTTY.
  3. In the “Host Name” field, enter the IP of the virtual machine and click “Open”.
  1. In the window that appears, click Accept.
  1. Enter the username and password that were used to create the virtual machine.

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

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

Login: admin

Password: adminpwd

  1. Enter the following command to open the configuration file:

sudo nano /etc/icecast2/icecast.xml

  1. After executing the command, the configuration file will open. To navigate to the desired line, use the arrow keys on the keyboard. To paste the copied text, use the right mouse button.
  2. To change the login and password for accounts, go to the <authentication> section and change the values 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).

<relay>

    <server>ice4.lagrosseradio.info</server>

    <port>80</port>

    <mount>/lagrosseradio-metal-024.mp3</mount>

    <local-mount>/metal</local-mount>

    <on-demand>0</on-demand>

</relay>

  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 icecast2

  1. Now you can go to the main page at http://*vm_ip*:8000 and the relay information will be on the main page. To open the station itself, go to the address http://*vm_ip*:8000/metal.
  2. 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