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.
jalan om blek?
LikeLike
By: rhakateza on April 30, 2012
at 4:21 pm
Apanya yang jalan? Icecast atau siaran onlen?
LikeLike
By: Black_Claw on April 30, 2012
at 4:23 pm
[…] Here. Share this:CetakSurat elektronikLagiFacebookTwitterLinkedInDiggRedditStumbleUponLike this:SukaBe […]
LikeLike
By: Masang Icecast di Debian Lenny Tahun Ini « KPLI Nusa Tenggara Barat on April 30, 2012
at 4:23 pm
hell yeah! i already use lenny too.. but with icecast1 not 2, for mp3.. only
LikeLike
By: PICCORO Lenz McKAY on May 24, 2014
at 3:18 pm
So, it is 2014 already. Is the box still runs on it? 😛
LikeLike
By: Black_Claw on May 24, 2014
at 3:58 pm