English English

Internet Radio Server with Icecast2 and Ices MP3 Stream

How to tutorial for UBUNTU 12.04 LTS. This tutorial was tested till Ubuntu 16.04 LTS.
Mp3 Streaming wiith an internet radio statio.

Icecast2 Server Installation

apt-get install icecast2

Afterwards we must edit /etc/icecast2/icecast.xml. Most default values should work fine for now, but you should change the passwords in the <authentication>...</authentication> section. The source-password is the password that Ices2 will later on use to connect to Icecast2; the admin-password is the password that the admin will use in Icecast2's web interface; we won't use the relay-password, but anyway you should change it.

vim /etc/icecast2/icecast.xml


        <!-- Sources log in with username 'source' -->
        <!-- Relays log in username 'relay' -->

        <!-- Admin logs in with the username given below -->
service icecast2 restart


Ices Installation

Ices0.4 is needed for MP3 Streaming to the icecast server Ices must be downloaded as source and compiled on your server

BUT before we need some developing tools to compile ices2

apt-get install libshout3-dev libxml2-dev libmp3lame-dev gcc g++ make

Now we can download ices0.4 from source

cd /tmp
wget http://downloads.us.xiph.org/releases/ices/ices-0.4.tar.gz

ices0.4 can be installed now, anywhere where it could be

tar xfzs ices-0.4.tar.gz && cd ices-0.4
./configure --prefix=/var/ices --with-lame ;make ;make install

--build definies the architecture of the cpu e.g. --build=x86_64-unknown-linux-gnu

mkdir /var/log/ices

Now the config file of ices must be edit to your appropriate settings:

vim /var/ices/etc/ices.conf

INFO: Many config files can be used also if you want stream several streampoints But the sources must be added also in the icecast2 config file: /etc/icecast2/icecast.xml

NOTE: You can use Python Program "playlistMaker" to create a PLS playlist for your radio station. https://github.com/gaara42/playlistMaker

Please check other tutorials for more info about playlist creation and stream extension.

Usamos cookies en nuestro sitio web. Algunas de ellas son esenciales para el funcionamiento del sitio, mientras que otras nos ayudan a mejorar el sitio web y también la experiencia del usuario (cookies de rastreo). Puedes decidir por ti mismo si quieres permitir el uso de las cookies. Ten en cuenta que si las rechazas, puede que no puedas usar todas las funcionalidades del sitio web.