FLOSS Manuals

 English |  Español |  Français |  Italiano |  Português |  Русский |  Shqip

Icecast

Icecast: StartingLinux

Starting Icecast in Linux

In Linux, Icecast is controlled completely from the command line. This is very handy if you need to run it on a remote server which is very often the case.

So to start Icecast the basic command is:

icecast -c icecast.xml
The trick is to find your 'icecast.xml' file. If you installed from source then you will find the file in the Icecast2 source directory within the conf directory. The file will be called 'icecast.xml.dist'. If its not there then run updatedb and then do a locate or slocate to try and find the file. So let's say I am in the Icecast2 source directory and the 'icecast.xml.dist' file is on the 'conf' directory, well maybe it would be easier if I moved it up to the directory I am working in and changed the name to 'icecast.xml'. I will use the cp command because then I leave a copy of the original just in case... so to do this I type:
cp conf/icecast.xml.dist icecast.xml
now I can run the command:
icecast -c icecast.xml
with luck it runs... the '-c' parameter here means 'config', so it is a way of telling the icecast command to use the config file 'icecast.xml'

If you find that there is an error then see the next section of configuring Iceast2.

However if it is running then all you need to know is the default password is hackme.

For the purposes of running MuSE with the Icecast server that you have just set up, use the following (all of which can be altered by editing the 'icecast.xml' file):

port : 8000

password : hackme

host : localhost
Then use any mount point you like, for example /firststream will work just fine.

If you do this, when you test the stream open xmms and enter into the 'open location' field (see section above) the following URL:

http://localhost:8000/firststream
and you should hear whatever is coming through your soundcard.

 

There has been error in communication with Booktype server. Not sure right now where is the problem.

You should refresh this page.