icecast2 — radiostation


[shell@user]$ sudo su

[shell@root]# aptitude install icecast2

[shell@root]# nano /etc/icecast2/icecast.xml

<clients>100</clients>

<sources>10</sources>

<authentication>

<source-password>hackme</source-password> // change password
<relay-password>hackme</relay-password>       // change password
<admin-user>admin</admin-user>                          // change login (web)
<admin-password>hackme</admin-password> // change password (web)

</authentication>

<hostname>radio.domain.ru</hostname> // change hostname

<relay>

<server>mp3.nashe.ru</server> // server which will broadcast music
<port>80</port>                                 // port on the server which will broadcast music
<mount>/nashe-192</mount>     // mount point on the server which will broadcast music
<local-mount>/nashe</local-mount> // local mount point
<on-demand>1</on-demand>                // change to "1
"
<relay-shoutcast-metadata>0</relay-shoutcast-metadata> // default value

</relay>

It's out local radio station http://radio.domain.ru:8000

Quit the editor, saving any changes. (Ctrl + x)

[shell@root]# /etc/init.d/icecast2 start // you must restart the service after changing the configuration file