How to tutorial for UBUNTU 12.04 LTS. This tutorial was tested till Ubuntu 16.04 LTS.
Mp3 Streaming with 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' -->

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

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

tar xfzs ices-0.4.tar.gz && cd ices-0.4

— 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.

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

Tutorials about Linux, Java and information about IT —

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store