 ,   IceCast.
# icecast
usage: icecast [-h -b -v] -c < file >
options:
-c < file > Specify configuration file
-h Display usage
-v Display version info
-b Run icecast in the background

   .     XML ,   IceCast  icecast_minimal.in.

       .

< icecast > 
< limits >

 .

< clients >50< /clients >

   .  .

< sources >1< /sources >

   .       .

< threadpool >5< /threadpool >

 ,       .       5        .

< queue-size >102400< /queue-size >

  ( )   ,    .    .

< header-timeout >15< /header-timeout >

        .   .

< source-timeout >10< /source-timeout >

        10 ,   .   .

< /limits >
< authentication >

 -    .   ,            .

< source-password >mypass< /source-password >

      IceCast.

< relay-password >mypass< /relay-password >

,       IceCast-   IceCast-.       .

< admin-user >admin< /admin-user >

 ,  .
  admin.

< admin-password >nopass< /admin-password >

 .     .

< /authentication >

     .

< hostname >192.168.1.11< /hostname >

      (Fully Qualified Domain Name  IP-).
    192.168.1.11.
   , ,  .

< listen-socket >
< port >8000< /port >

  TCP-.    8000.

< bind-address >192.168.1.11< /bind-address >

   .    ,   hostname.    192.168.1.11.

< /listen-socket >
< mount >

      ,      .
      .              Ices.

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

  .

< username >source< /username >

    source.

< password >mypass< /password >

     mypass.

< intro >/intro.ogg< /intro >

 ,      ,       webroot -      /home/icecastwebroot.
      ,     .
       .

< fallback-mount >/fall.ogg< /fallback-mount >

      ,      webroot.
       ,  -       .

< /mount >
< paths >

 .


< logdir >/var/log/icecast< /logdir >

    (   ,  -   ).

< webroot >/home/icecastwebroot< /webroot >

        .      .
,      /home/icecaswebroot.
      http://192.168.1.11:8000/mp3/muzik.mp3,        /home/icecastwebroot/mp3/muzik.mp3.

< adminroot >/home/icecastwebroot/admin< /adminroot >

       .
  IceCast      XSL     .
    (  )  /home/icecastwebroot/admin,    -   ,    http://192.168.1.11:8000/admin/.

< pidfile >/usr/local/share/icecast/icecast.pid< /pidfile >

          pid-,          .
  process ID ,      .

< /paths >
< logging >

 .

< accesslog >access.log< /accesslog >

   .

< errorlog >error.log< /errorlog >

 .

< playlistlog >playlist.log< /playlistlog >

  .

< loglevel >4< /loglevel >

    .  4 -    -   1   .

< /logging >
< security >

 .

< chroot >0< /chroot >

,    chroot(). ,    chroot,    < basedir >.

< changeowner >
< user >kost< /user >
< group >kost< /group >
< /changeowner >

         .     .

< /security >
< /icecast >

        config.   !      :

#icecast -c /home/config -b
Starting icecast2
Detaching from the console
# Changed groupid to 1000.
Changed userid to 1000.

 -b      .
       ,  IceCast   .

    http://192.168.1.11:8000/admin/,     .

< relay >
< server >205.188.215.226< /server > 
< port >8000< /port > 
< mount >/< /mount > 
< local-mount >/stream.ogg < /local-mount > 
< relay-shoutcast-metadata >1< /relay-shoutcast-metadata > 
< relays-on-demand >1< /relays-on-demand >
< master-update-interval >120< /master-update-interval >
< /relay >


   http://skripter.info/