Posted by: Black_Claw | April 30, 2012

Installing Icecast Server on Debian Lenny This Year

Lemme se, the box is…

$ uname -ar
Linux cast.linux.or.id 2.6.26-2-686 #1 SMP Wed Sep 21 04:35:47 UTC 2011 i686 GNU/Linux

Ah, good old lenny. 🙂 Eeh? What’s that? 2011? 😆
Edit sources.list. Lenny is no longer supported.

# vi /etc/apt/sources.list

Add:

deb http://archive.debian.org/debian/ lenny main non-free contrib
deb-src http://archive.debian.org/debian/ lenny main non-free contrib
deb http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
deb http://archive.debian.org/debian-backports lenny-backports main contrib non-free

Then update.

# apt-get update

Installing Icecast.

# apt-get install icecast2

Copy config file to home for easy editing later.

# cp /etc/icecast2/icecast.xml /home/*username*/icecast.xml
# chown *username*: /home/*username*/icecast.xml

Edit the file, set the passwords (change all “hackme” inside the file).

$ vi icecast.xml

Then, find something that looks like:

<security>
<chroot>0</chroot>
<!–
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
–>
</security>

Change it to:

<security>
<chroot>0</chroot>
<!–
<changeowner>
<user>*username*</user>
<group></group>
</changeowner>
–>
</security>

Chown the log file.

# chown *username*: /var/log/icecast2/error.log
# chown *username*: /var/log/icecast2/access.log

Chown icecast’s web configuration.

# chown -R *username*: /etc/icecast2/web

Enabling icecast’s daemon, change it to True:

# vi /etc/default/icecast2

Run icecast:

$ icecast2 -c icecast.xml

All set. Open http://*server*.com:8000

Bahasa Indonesia: Di sini.
Bahasa Manusia Indonesia: Di sini.


Responses

  1. jalan om blek?

    Like

    • Apanya yang jalan? Icecast atau siaran onlen?

      Like

  2. […] Here. Share this:CetakSurat elektronikLagiFacebookTwitterLinkedInDiggRedditStumbleUponLike this:SukaBe […]

    Like

  3. hell yeah! i already use lenny too.. but with icecast1 not 2, for mp3.. only

    Like

    • So, it is 2014 already. Is the box still runs on it? 😛

      Like


Leave a comment

Categories