<icecast> <limits> <!-- Лимиты --> <clients>500</clients> <sources>2</sources> <threadpool>5</threadpool> <queue-size>524288</queue-size> <client-timeout>30</client-timeout> <header-timeout>15</header-timeout> <source-timeout>10</source-timeout> <burst-on-connect>1</burst-on-connect> <burst-size>65535</burst-size> </limits> <authentication> <!-- Аутентификация - обязательно измените приведённые здесь пароли --> <source-password>пасс</source-password> <relay-password>пасс</relay-password> <admin-user>Shtorm</admin-user> <admin-password>пасс</admin-password> </authentication> <hostname>тут_ссыль_сайта</hostname> <listen-socket> <!-- Порт на котором ожидать соединений --> <port>8000</port> </listen-socket> <fileserve>1</fileserve> <paths> <!-- Пути --> <basedir>/usr/share/icecast2</basedir> <logdir>/var/log/icecast2</logdir> <webroot>/usr/share/icecast2/web</webroot> <adminroot>/usr/share/icecast2/admin</adminroot> <pidfile>/usr/share/icecast2/icecast.pid</pidfile> <alias source="/" dest="/status.xsl"/> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> <logsize>10000</logsize> </logging> <mount> <mount-name>/live</mount-name> <password>пасс</password> <charset>CP1251</charset> <fallback-mount>/nonstop</fallback-mount> <fallback-override>1</fallback-override> </mount> <mount> <mount-name>/nonstop</mount-name> <password>пасс</password> <charset>CP1251</charset> </mount> <security> <!-- Безопасность --> <chroot>0</chroot> <changeowner> <user>icecast</user> <group>icecast</group> </changeowner> </security> </icecast>
<?xml version="1.0"?> <ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices"> <Playlist> <File>playlist.txt</File> <Randomize>1</Randomize> <Type>builtin</Type> <Module>ices</Module> <Crossfade>5</Crossfade> </Playlist> <Execution> <Background>0</Background> <Verbose>0</Verbose> <BaseDirectory>/home</BaseDirectory> </Execution> <Stream> <Server> <Hostname>тут_ссыль_сайта</Hostname> <Port>8000</Port> <Password>пасс</Password> <Protocol>ШТТП</Protocol> </Server> <Mountpoint>/nonstop</Mountpoint> <Dumpfile>ices.dump</Dumpfile> <Name>Radio Gorodok</Name> <Genre>All</Genre> <Description>The First internet dariostation</Description> <URL>ссылка:8000/nonstop</URL> <Public>0</Public> <Bitrate>128</Bitrate> <Reencode>1</Reencode> <Samplerate>44100</Samplerate> <Channels>2</Channels> </Stream> </ices:Configuration>
-bash: ices: команда не найдена