These are the commands you have to run to install the required pacakges:
$ sudo apt-get install icecast2
$ sudo apt-get install gstreamer-tools
$ sudo apt-get install padevchooser
$ sudo apt-get install paman
$ sudo apt-get install pavucontrol
Icecast is the streaming server, gstreamer we use to stream to our
icecast server and the last 3 packages are just interfaces to the
pulseaudio soundcard which we will use to make our life easier.
Once you have these items installed you will have to edit the
icecast2 configuration file which is at /etc/icecast2/icecast.xml and
make sure you change the passwords under the section. Search in the
file for them there is a lot of documentation in the file for that.
If you would like to change the port this server is running on go ahead
and scroll down in this file and change it under . By default the port
Once you do that you can start the icecast2 server by typing this command in the terminal:
$ /etc/init.d/icecast2 start
Congratulations you have a working streaming server!!! But we are not
done. You need to stream something to it or it will just be sitting
there doing nothing. How do we do this? This is a little more
complicated but we do it using gstreamer. Gstreamer allows us to connect
to this icecast2 server and forward any audio device we want.