icecast

ネットラジオを立ち上げてみようと思う

http://www.icecast.org/からSRPMをダウンロード
2009年2月現在で最新版は2.3.2-0だね

# yum -y install libtheora-devel speex-devel
# yum -y install libxslt-devel

# cd /usr/local/src/
# wget http://downloads.xiph.org/releases/icecast/icecast-2.3.2-0.src.rpm
# rpm -ivh icecast-2.3.2-0.src.rpm

# cd /usr/src/redhat/SPECS
# rpmbuild --ba icecast.spec

# cd ../RPMS/i386/
# rpm -ivh icecast-2.3.2-0.i386.rpm

たぶんこれでインストール完了

vi /etc/icecast.xmlを編集(パスワードとマウントポイントの設定)

# vi /etc/icecast.xml

    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>パスワード</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>パスワード</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>パスワード</admin-password>
    </authentication>

    <mount>
        <mount-name>/music</mount-name>
    </mount>