sudo apt-get install icecast2
sudo nano /etc/icecast2/icecast.xml
[...] <authentication> <source-password>password1</source-password> <relay-password>password2</relay-password> <admin-user>admin</admin-user> <admin-password>password3</admin-password> </authentication> [...]
# Defaults for icecast2 initscript # sourced by /etc/init.d/icecast2 # installed at /etc/default/icecast2 by the maintainer scripts # # This is a POSIX shell fragment # # Full path to the server configuration file CONFIGFILE="/etc/icecast2/icecast.xml" # Name or ID of the user and group the daemon should run under USERID=icecast2 GROUPID=icecast # Edit /etc/icecast2/icecast.xml and change at least the passwords. # Change this to true when done to enable the init.d script ENABLE=true
sudo /etc/init.d/icecast2 start
Note: If you don't want icecast2 server run each time you start your system don't do that, simply to start server run: sudo /etc/init.d/icecast2 start and to stop it run: sudo /etc/init.d/icecast2 stop
Host: ipOfTheIcecastServer Port: 8000 (you can change it in /etc/icecast2/icecast.xml) password: sourcepassword specified. mountpoint: theoneyouwant.ogg