Difference between revisions of "Icecast"

From CBLFS
Jump to navigationJump to search
m
m
 
Line 34: Line 34:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  make
 
  make
  
Line 50: Line 50:
  
 
  CC="gcc ${BUILD64}" XIPH_LDFLAGS="-L/usr/lib64" \
 
  CC="gcc ${BUILD64}" XIPH_LDFLAGS="-L/usr/lib64" \
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  make
 
  make
  

Latest revision as of 12:28, 9 August 2009

Download Source: http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz

Introduction to Icecast

icecast is free server software for streaming multimedia.

Project Homepage: http://www.icecast.org/

Dependencies

Required

Recommended

Optional

Creating the icecast User & Group

groupadd -g 501 icecast &&
useradd -c "Icecast server user" -d /dev/null \
       -u 501 -g icecast -s /bin/false icecast

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package:

make install

Multilib

This package does not provide any libraries so only one installation is required.

64Bit

Compile the package:

CC="gcc ${BUILD64}" XIPH_LDFLAGS="-L/usr/lib64" \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package:

make install

Configuring

Edit the file /etc/icecast.xml. This file is fairly well explained in the comments and there are several HOWTOs on the internet. At a minimum, the following sections should be changed as appropriate.

The default password is hackme, unless you want to be, you should change this.

<authentication>
       <source-password>hackme</source-password>
       <relay-password>hackme</relay-password>

       <admin-user>admin</admin-user>
       <admin-password>hackme</admin-password>
</authentication>

Set the hostname or IP address of your icecast server.

<hostname>192.168.1.149</hostname>

The "mount point" is the name of the icecast stream. The full name of this stream would be 192.168.1.149:8000/wrow.ogg.m3u.

<mount-name>/wrow.ogg</mount-name>

Change the username and password for the icecast server.

<username>icecast</username>
<password>hackme</password>

Set the maximum number of listeners you'er going to allow.

<max-listeners>4</max-listeners>

Set the owner and group for the icecast server.

<security>
       <chroot>0</chroot>
       <changeowner>
           <user>icecast</user>
           <group>icecast</group>
       </changeowner>
</security>

Contents

Installed Directories: None
Installed Programs: icecast
Installed Libraries: None

Short Descriptions

icecast is a server for streaming multimedia.
Retrieved from "?title=Icecast&oldid=18874"