Masang Icecast di Debian Lenny Tahun Ini

Ah, coba kita lihat isi box ini…

$ 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? Apa itu? 2011?😆
Edit sources.list. Lenny udah ga disupport lagi.

# vi /etc/apt/sources.list

Tambahkan:

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

Kemudian update.

# apt-get update

Pasang Icecast.

# apt-get install icecast2

Kopi file konfigurasi ke home untuk memudahkan ngedit ntar.

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

Edit filenya, ganti password (semua yang tulisannya “hackme” di dalam file).

$ vi icecast.xml

Kemudian, cari yang isinya kayak:

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

Ganti jadi:

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

Chown log filenya.

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

Chown konfigurasi web icecast.

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

Membuat daemon icecast bisa jalan. Ganti ke True:

# vi /etc/default/icecast2

Jalanin icecast:

$ icecast2 -c icecast.xml

Semua siap. Buka http://*server*.com:8000

English: Here.
Bahasa Manusia Indonesia: Di sini.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s





%d blogger menyukai ini: